Skip to content

Subscribe to analysis.navigation for visible editors and use the results for instant navigation #3620

@JoeyScarr

Description

@JoeyScarr

In my company's codebase, code navigation is intolerably slow, to the point where most devs just use global find instead of the jump-to-def/find-all-references functionality.

Is there some reason why Dart-Code doesn't subscribe to analysis.navigation events from the language server? FWIW Dart for Webstorm does this and uses the results for code navigation, making it instant.

I have a hacked up version of Dart-Code locally that does this and it vastly improves the experience for me. Happy to send a PR if anyone's interested (though it's not very hard to implement).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions