CTRL + Click on alias defined multiple times results in weird output #56931
Labels
devexp-ux
legacy-area-analyzer
Use area-devexp instead.
P3
A lower priority bug or feature request
type-bug
Incorrect behavior (everything from a crash to more subtle misbehavior)
Repro:
a.dart
b.dart
withclass Foo {}
inside.main.dart
with the following content:Even though
Foo
comes fromb.dart
when you CTRL + Clicklib.
before it, it moves the cursor for line 1 (import 'a.dart' as lib;
).I'd expect it to show the second line (for
b.dart
) or if both imports have that element for it to show a peek window to see all imports and select which you want (or default to this if there is nothing after the prefix).This is a bad behaviour specially when there are multiple imports between the two (or more) that have the alias and you can't see them.
CC: @DanTup
The text was updated successfully, but these errors were encountered: