Skip to content

[VSCode] Support source.removeUnusedImports option #2838

@craig-jennings

Description

@craig-jennings

Description

This is a followup to #2616, which claimed that this is already supported, however it isn't. source.organizeImports seems to remove unnecessary imports, but it also sorts the imports in an undesirable order (in my case - I use eslint to order my imports). It'd be nice if this option was specifically supported.

Proposed solution

Have this feature work like it does in Typescript files

Alternatives

No response

Additional Information, eg. Screenshots

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions