We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 always generates a static import statement, if the current static import is not part of java.completion.favoriteStaticMembers.
java.completion.favoriteStaticMembers
settings.json
"java.completion.favoriteStaticMembers": [ "org.assertj.core.api.Assertions.*" ],
Organize Imports
Developer console contained no error messages. Java log file contained the following:
!ENTRY org.eclipse.jdt.ls.core 1 0 2021-07-05 17:33:48.321 !MESSAGE >> document/codeAction !ENTRY org.eclipse.jdt.ls.core 1 0 2021-07-05 17:33:48.324 !MESSAGE >> document/documentSymbol !ENTRY org.eclipse.jdt.ls.core 1 0 2021-07-05 17:33:48.345 !MESSAGE >> workspace/executeCommand java.project.provideSemanticTokens !ENTRY org.eclipse.jdt.ls.core 1 0 2021-07-05 17:33:48.504 !MESSAGE Reconciled 1. Took 3 ms !ENTRY org.eclipse.jdt.ls.core 1 0 2021-07-05 17:33:48.988 !MESSAGE begin problem for /AppTest.java !ENTRY org.eclipse.jdt.ls.core 1 0 2021-07-05 17:33:48.988 !MESSAGE 1 problems reported for /AppTest.java !ENTRY org.eclipse.jdt.ls.core 1 0 2021-07-05 17:33:48.989 !MESSAGE Validated 1. Took 83 ms
Organize imports always generates a static import statement, even if the symbol is already imported.
Organize import will not generate static imports for symbols that are already imported.
The text was updated successfully, but these errors were encountered:
snjeza
Successfully merging a pull request may close this issue.
Organize imports always generates a static import statement, if the current static import is not part of
java.completion.favoriteStaticMembers
.settings.json
Environment
Steps To Reproduce
Organize Imports
Developer console contained no error messages.
Java log file contained the following:
Current Result
Organize imports always generates a static import statement, even if the symbol is already imported.
Expected Result
Organize import will not generate static imports for symbols that are already imported.
The text was updated successfully, but these errors were encountered: