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

Organize imports enhancement #2748

Open
3 of 4 tasks
CsCherrYY opened this issue Oct 21, 2022 · 0 comments
Open
3 of 4 tasks

Organize imports enhancement #2748

CsCherrYY opened this issue Oct 21, 2022 · 0 comments

Comments

@CsCherrYY
Copy link
Contributor

CsCherrYY commented Oct 21, 2022

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:

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

No branches or pull requests

3 participants