Delete Java LS Configuration#4160
Conversation
| } | ||
|
|
||
| export function cleanJavaLSConfiguration(context: ExtensionContext) { | ||
| const globalStoragePath = context.globalStorageUri?.fsPath; // .../Code/User/globalStorage/redhat.java |
There was a problem hiding this comment.
Just to confirm, this folder contains all vscode-java cached startup info for each version. If a user updates to a new pre-release, or regular release, the previous cache is here. (ie. $HOME/.config/Code/User/globalStorage/redhat.java/${version}/config_linux/org.eclipse.osgi).
Are we ok with removing these as well ? It could be beneficial in terms of keeping the size of globalStorage low.
There was a problem hiding this comment.
The PR removes whole $HOME/.config/Code/User/globalStorage/redhat.java/
rgrunber
left a comment
There was a problem hiding this comment.
I would just make the commit message body wrap at around 70 lines.
- delete the Java LS configuration (<globalStorage>/redhat.java) when callin g Clean Java Language Server Workspace
Otherwise, change seems fine.
- delete the Java LS configuration (<globalStorage>/redhat.java) when calling Clean Java Language Server Workspace
Fixed. |
Fixes #4157