-
Notifications
You must be signed in to change notification settings - Fork 442
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 Workspace Classpath is corrupted after restart #1941
Comments
I thought this might be similar to eclipse-jdtls/eclipse.jdt.ls#1764, but I'm not able to reproduce this issue. @snjeza let me know if you have any luck here. |
I remember also experiencing the issue you linked. |
I have now reinstalled VSCode (including deleting configuration and cache) and am still able to reproduce this. I have to add something: |
@clemenswasser Yes, it includes eclipse-jdtls/eclipse.jdt.ls#1766 |
I can reproduce the issue with VS Code 0.79.1, but can't with https://github.com/snjeza/vscode-test/raw/master/java-0.79.3.vsix |
I have done some further investigations:
It is really weird. I can only reproduce it when other extensions (which are part of the |
@clemenswasser Did you try https://github.com/snjeza/vscode-test/raw/master/java-0.79.3.vsix |
Sorry for not trying this directly. This solves the issue for me. Thank you very much 🥳 |
This does also solve the issue for me. |
This should be fixed by eclipse-jdtls/eclipse.jdt.ls#1767 I guess. @snjeza @rgrunber |
Yes, the change appears to resolve the issue. Cleaning the language server workspace, or reloading the window continue to work as well with the snippet provided. This will be fixed in 0.79.2, which we expect to have out early next week. Feel free to re-open the issue though if the problem does persist. |
.java is not on the classpath of project
workspacename+some_random_hash, only syntax errors are reported
Java: Clean Java Language Server Workspace
we are back at 1.Environment
Steps To Reproduce
test.code-workspace
file with the following contents:test
Test.java
in that foldertest/Test.java
in VSCodeDeveloper: Reload Window
or restart VSCodetest/Test.java
in VSCodeJava: Clean Java Language Server Workspace
and restart VSCodeCurrent Result
A restart of VSCode breaks the Java Language Server Workspace and Classpath
Expected Result
It shouldn't
Additional Informations
The text was updated successfully, but these errors were encountered: