Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Go to Imports" command returns prefixed imports when invoked on a non-prefix element #59584

Closed
DanTup opened this issue Nov 21, 2024 · 2 comments · Fixed by Dart-Code/Dart-Code#5346
Labels
analyzer-lsp Issues with analysis server's support of Language Server Protocol analyzer-server area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)

Comments

@DanTup
Copy link
Collaborator

DanTup commented Nov 21, 2024

If I invoke "Go to Imports" on Future on line 6, I get all imports returned, including those with prefixes that are unrelated.

image

@DanTup DanTup added area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. analyzer-server type-bug Incorrect behavior (everything from a crash to more subtle misbehavior) analyzer-lsp Issues with analysis server's support of Language Server Protocol labels Nov 21, 2024
@FMorschel
Copy link
Contributor

I'll look into this. Nice catch!

@pq pq added the P2 A bug or feature request we're likely to work on label Nov 21, 2024
@FMorschel
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-lsp Issues with analysis server's support of Language Server Protocol analyzer-server area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. P2 A bug or feature request we're likely to work on type-bug Incorrect behavior (everything from a crash to more subtle misbehavior)
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants