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

Analyzer: "Organize imports" doesn't remove unused "show" directives. #36737

Open
MichaelRFairhurst opened this issue Apr 24, 2019 · 1 comment
Labels
analyzer-quick-fix analyzer-ux 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

Comments

@MichaelRFairhurst
Copy link
Contributor

MichaelRFairhurst commented Apr 24, 2019

a.dart

class A {}
class B {}

b.dart

import 'a.dart' show A, B;
A a;

while "organize imports" will remove unused imports and sort imports, it doesn't remove "B" from the "show" list of the import in b.dart.

@MichaelRFairhurst MichaelRFairhurst added area-analyzer Use area-analyzer for Dart analyzer issues, including the analysis server and code completion. analyzer-ux P2 A bug or feature request we're likely to work on type-enhancement A request for a change that isn't a bug labels Apr 24, 2019
@srawlins srawlins added P3 A lower priority bug or feature request and removed P2 A bug or feature request we're likely to work on labels Mar 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
analyzer-quick-fix analyzer-ux 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
Projects
None yet
Development

No branches or pull requests

3 participants