Skip to content

Organize imports enhancement #2748

Description

@CsCherrYY

Currently "Organize imports" will do three things:

  • Add missing imports
  • Remove all unused imports
  • Sort existing imports

And there are serveral requests about feature "Organize imports":

Organize import without sorting:

Organize imports (and other code actions) in multiple files:

We can find rooms to improve. Although we have configuration java.completion.importOrder, it's not such visible and it's hard to "hardcode" a package list for some users. In this way, we can have serveral points to improve:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions