Import name conflicts: Suggest adding "hide" on one of the conflicting imports #56255
Labels
analyzer-quick-fix
area-analyzer
Use area-analyzer for Dart analyzer issues, including the analysis server and code completion.
P3
A lower priority bug or feature request
type-enhancement
A request for a change that isn't a bug
Consider:
Going through imports to manually add that
hide Foo;
on the relevant import is tedious.Could we add a quick fix for it? When applied on
Foo()
, it could suggest:hide Foo
toimport 'a.dart'
hide Foo
toimport 'b.dart'
Supporting static extensions conflicts too would be great.
The text was updated successfully, but these errors were encountered: