Skip to content

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

Closed

Description

@MichaelRFairhurst

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestdevexp-quick-fixIssues with analysis server (quick) fixesdevexp-uxlegacy-area-analyzerUse area-devexp instead.type-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions