Skip to content

Function Navigation Issue Between Namespaces #63

Closed
@RaquelLopesCampos

Description

@RaquelLopesCampos

Describe the bug
When we create a function in one namespace and import it into another, we can navigate to its original definition. However, the function does not retain a reference to where it was imported, making it impossible to navigate back to the namespace that uses it.

To Reproduce

  1. Create a Function in a New Namespace

    • Define a function in a specific namespace (e.g., ns-a).
  2. Import the Function into Another Namespace

    • Import the function into a different namespace (e.g., ns-b) using require or :refer.
  3. Navigate to the Function Definition

    • Attempt to navigate to the original function definition from ns-b.
  4. Observe the Issue

    • Notice that the navigation works only one way (to the original definition). It is not possible to navigate back to ns-b or see the references in the original namespace.

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]
  • Intellij version: 21.0.5+8-b631.16 aarch64 (JCEF 122.1.9)
  • Plugin version: 2.6.4
Intellij log
Screen.Recording.2025-01-24.at.15.20.03.mov

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions