-
Notifications
You must be signed in to change notification settings - Fork 466
Bug: Quick fix does not suggest basic imports as a solution #3715
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
Comments
I can't reproduce the issue. |
|
I'm having the same issue (also with classes outside "java.autobuild.enabled": false,
"java.codeGeneration.hashCodeEquals.useJava7Objects": true,
"java.codeGeneration.toString.codeStyle": "STRING_FORMAT",
"java.codeGeneration.useBlocks": true,
"java.completion.favoriteStaticMembers": [
"java.lang.System.Logger.Level.*",
"java.nio.charset.StandardCharsets.*",
"java.util.Spliterator.*",
"java.util.function.Predicate.*",
"java.util.stream.Collectors.*"
],
"java.completion.guessMethodArguments": true,
"java.configuration.updateBuildConfiguration": "automatic",
"java.format.comments.enabled": false,
"java.inlayHints.parameterNames.enabled": "none",
"java.signatureHelp.enabled": true, |
I've had this issue yesterday. |
I have encountered the same issue. One way to reproduce it, although inconsistently, is by deleting the import statement for the |
I would try the vscode-java pre-release build tomorrow. There's a good chance this has been fixed now. |
This was fixed for me by using the pre-release build 👍 |
[provide a description of the issue]
Environment
Operating System: Windows11
JDK version: 17
Visual Studio Code version: 1.88
Java extension version: 1.29
Steps To Reproduce
[Please attach a sample project reproducing the error]
Please attach logs
Current Result
Like in the image above I have to manually add the import to fix the problem
Expected Result
Quick fix should give me imports as a suggestion
The text was updated successfully, but these errors were encountered: