You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Quick fix does not suggest basic imports as a solution #3715
changed the title [-]Quick fix does not suggest basic imports as a solution[/-][+]Bug: Quick fix does not suggest basic imports as a solution[/+]on Jul 19, 2024
I'm having the same issue (also with classes outside java.util, like e.g. java.time.format.DateTimeFormatter).
This is with the pre-release version (v1.33.2024072008) and the following settings:
I have encountered the same issue. One way to reproduce it, although inconsistently, is by deleting the import statement for the List class, then closing the window and reopening it. After the project loads completely, press Ctrl + .. By repeating this process, the quick fix sometimes fails to suggest the necessary import for the List class.
Activity
[-]Quick fix does not suggest basic imports as a solution[/-][+]Bug: Quick fix does not suggest basic imports as a solution[/+]snjeza commentedon Jul 19, 2024
I can't reproduce the issue.
@Biyakuga Could you show your extensions and settings.json?
Biyakuga commentedon Jul 22, 2024
Here is my extensions list:


anthonyvdotbe commentedon Jul 23, 2024
I'm having the same issue (also with classes outside
java.util, like e.g.java.time.format.DateTimeFormatter).This is with the pre-release version (v1.33.2024072008) and the following settings:
fbricon commentedon Jul 23, 2024
I've had this issue yesterday.
Java: Clean Java Language Server Workspacefixed it for me. There's definitely something fishy here we need to fix.magicalmuggle commentedon Aug 26, 2024
I have encountered the same issue. One way to reproduce it, although inconsistently, is by deleting the import statement for the
Listclass, then closing the window and reopening it. After the project loads completely, pressCtrl + .. By repeating this process, the quick fix sometimes fails to suggest the necessary import for theListclass.rgrunber commentedon Oct 16, 2024
I would try the vscode-java pre-release build tomorrow. There's a good chance this has been fixed now.
MartinBernstorff commentedon Oct 24, 2024
This was fixed for me by using the pre-release build 👍