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
* Make default index location to be os-specific & add a command to clean shared indexes
* Add sharedIndexes settings as New in 1.14.0 in the README
Signed-off-by: Jinbo Wang <jinbwan@microsoft.com>
Copy file name to clipboardExpand all lines: README.md
+10Lines changed: 10 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -214,6 +214,16 @@ The following settings are supported:
214
214
*`java.cleanup.actionsOnSave`: The list of clean ups to be run on the current document when it's saved. Clean ups can automatically fix code style or programming mistakes. [Click here](document/_java.learnMoreAboutCleanUps.md#java-clean-ups) to learn more about what each clean up does.
215
215
*`java.import.gradle.annotationProcessing.enabled`: Enable/disable the annotation processing on Gradle projects and delegate to JDT APT. Only works for Gradle 5.2 or higher.
216
216
217
+
New in 1.14.0
218
+
*`java.sharedIndexes.enabled`: [Experimental] Specify whether to share indexes between different workspaces. Defaults to `auto` and the shared indexes is automatically enabled in Visual Studio Code - Insiders.
219
+
- auto
220
+
- on
221
+
- off
222
+
*`java.sharedIndexes.location`: Specifies a common index location for all workspaces. See default values as follows:
223
+
- Windows: First use `"$APPDATA\\.jdt\\index"`, or `"~\\.jdt\\index"` if it does not exist
224
+
- macOS: `"~/Library/Caches/.jdt/index"`
225
+
- Linux: First use `"$XDG_CACHE_HOME/.jdt/index"`, or `"~/.cache/.jdt/index"` if it does not exist
226
+
217
227
Semantic Highlighting
218
228
===============
219
229
[Semantic Highlighting](https://github.com/redhat-developer/vscode-java/wiki/Semantic-Highlighting) fixes numerous syntax highlighting issues with the default Java Textmate grammar. However, you might experience a few minor issues, particularly a delay when it kicks in, as it needs to be computed by the Java Language server, when opening a new file or when typing. Semantic highlighting can be disabled for all languages using the `editor.semanticHighlighting.enabled` setting, or for Java only using [language-specific editor settings](https://code.visualstudio.com/docs/getstarted/settings#_languagespecific-editor-settings).
Copy file name to clipboardExpand all lines: package.json
+22Lines changed: 22 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1039,6 +1039,23 @@
1039
1039
},
1040
1040
"default": [],
1041
1041
"scope": "window"
1042
+
},
1043
+
"java.sharedIndexes.enabled": {
1044
+
"type": "string",
1045
+
"enum": [
1046
+
"auto",
1047
+
"on",
1048
+
"off"
1049
+
],
1050
+
"default": "auto",
1051
+
"markdownDescription": "[Experimental] Specify whether to share indexes between different workspaces. When set to `auto`, shared indexes will be enabled in Visual Studio Code - Insiders.",
1052
+
"scope": "window"
1053
+
},
1054
+
"java.sharedIndexes.location": {
1055
+
"type": "string",
1056
+
"markdownDescription": "Specifies a common index location for all workspaces. See default values as follows:\n\nWindows: First use `\"$APPDATA\\\\.jdt\\\\index\"`, or `\"~\\\\.jdt\\\\index\"` if it does not exist\n\nmacOS: `\"~/Library/Caches/.jdt/index\"`\n\nLinux: First use `\"$XDG_CACHE_HOME/.jdt/index\"`, or `\"~/.cache/.jdt/index\"` if it does not exist",
constans=awaitwindow.showWarningMessage('The shared indexes might be in use by other workspaces, do you want to clear it? New indexes will be built after reloading.',
0 commit comments