Skip to content

Commit 21d6a17

Browse files
committed
Disable semantic highlighting by default. See #1396
Signed-off-by: Fred Bricon <[email protected]>
1 parent 1af1f6d commit 21d6a17

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ The following settings are supported:
158158
New in 0.60.0:
159159
* `java.sources.organizeImports.starThreshold`: Specifies the number of imports added before a star-import declaration is used, default is 99.
160160
* `java.sources.organizeImports.staticStarThreshold`: Specifies the number of static imports added before a star-import declaration is used, default is 99.
161-
* `java.semanticHighlighting.enabled`: Enable/disable the [semantic highlighting](https://github.com/microsoft/vscode/wiki/Semantic-Highlighting-Overview). Defaults to `true`.
161+
* `java.semanticHighlighting.enabled`: Enable/disable the [semantic highlighting](https://github.com/microsoft/vscode/wiki/Semantic-Highlighting-Overview). Defaults to `false`.
162162
`java.requirements.JDK11Warning`: Enable/disable a warning about the impending requirement of Java 11. Defaults to `true`.
163163

164164
Semantic Highlighting
@@ -177,7 +177,7 @@ Semantic Highlighting
177177
}
178178
}
179179
```
180-
180+
Disabled by default, as it's still experimental, it can be enabled with `"java.semanticHighlighting.enabled":true` in settings.json.
181181
More details in [Semantic Highlighting Wiki Page (Token Styling)](https://github.com/microsoft/vscode/wiki/Semantic-Highlighting-Overview#token-styling).
182182

183183
Troubleshooting

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -530,7 +530,7 @@
530530
},
531531
"java.semanticHighlighting.enabled": {
532532
"type": "boolean",
533-
"default": true,
533+
"default": false,
534534
"description": "Enable/disable the semantic highlighting.",
535535
"scope": "window"
536536
},

0 commit comments

Comments
 (0)