-
Notifications
You must be signed in to change notification settings - Fork 452
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
Code Completion stops when code files are reopened #3485
Comments
@snjeza let me know if you're able to reproduce this or narrow it down. There's nothing weird in the attached client/server logs that would indicate an error. It just looks like the language server stops responding to I thought maybe it had something to do with the Java 21 String Template completion (eg. Update: Another thing to try is with intellicode, since I can see it in the completion items. |
I can't reproduce issue.
@YaduAhuja Could you attach all client logs?
@YaduAhuja Could you try to add
|
I added the setting you mentioned, Although it did not fixed the issue. I have attached the logs before adding the setting and after the setting. If any logs are missing, then let me know how to get them. As of now, I use the |
@YaduAhuja Could you attach your settings.json? |
Did you find anything in logs which can give insight regarding the error. |
Yes, I am.
VS Code calls There are |
I am using GraalVM JDK 21 from Oracle, that is the reason I think I was getting those completions. Do you think that maybe this JDK is creating problems for extension ? Here is a screenshot for graal completions. Ideally, I think there must be a configuration like we have in Eclipse where we can specify on which keywords a completion is shown. If we had that, then I think we could even improve the performance of this extension, as we can reduce the number of calls made to the language server by making a configuration to give completions only on a list of characters like |
Yes I agree with @YaduAhuja . |
Whenever I open a folder and start to write some java code in it, then it works fine I get autocomplete and everything, but If I close VSCode and open that folder again then everything stops only some basic features work like syntax highlighting etc. even the auto imports feature does not even works until I have cleaned the Java Language server workspace.
Environment
Steps To Reproduce
Issue Replication Video
Java.Language.server.Issue.mp4
Please attach logs
.log
client.log
Current Result
Expected Result
Additional Informations
The text was updated successfully, but these errors were encountered: