Skip to content

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

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

Closed
MichaelRFairhurst opened this issue Apr 24, 2019 · 2 comments
Closed
Labels
devexp-quick-fix Issues with analysis server (quick) fixes devexp-ux legacy-area-analyzer Use area-devexp instead. 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 legacy-area-analyzer Use area-devexp instead. devexp-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 the devexp-quick-fix Issues with analysis server (quick) fixes label Jun 15, 2020
@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
@FMorschel
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
devexp-quick-fix Issues with analysis server (quick) fixes devexp-ux legacy-area-analyzer Use area-devexp instead. 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