Skip to content
This repository was archived by the owner on Apr 17, 2025. It is now read-only.
This repository was archived by the owner on Apr 17, 2025. It is now read-only.

Support goto definition across files #571

@Marwes

Description

@Marwes

Goto definition currently only works within a single file, it would be great if it would work across files. Specifically I am thinking of using it to go to standard library functions.

testing.diff
        // ^ Goto jumps to `testing.flux:diff` in the standard library 

The semantic analysis does assign Symbol values which should be unique across files which ought to contain enough information to find the right location However, as the standard library is embedded in the binary we may need to display the source code in a special buffer somehow, or allow users to configure where the standard library is so the LSP can link to it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions