Skip to content

Broken cross-file references #1071

@SuperAuguste

Description

@SuperAuguste

references.zig uses DocumentStore.collectDependencies which collects the imports a file specifies; this incorrect - we should be collecting dependents (files that import the current file), not dependencies (files that the current file imports).

To take this on you'd have to create a new collectDependents function that loads in all files in a workspace while checking for imports and returns all files that import the current file.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions