Repository navigation
Commit 71f395c
Add java.jshell.enabled setting to disable .jsh content assist
Companion to eclipse-jdtls/eclipse.jdt.ls#3985/redhat-developer#3986: exposes the
server's java.jshell.enabled preference as a VS Code setting, matching
java.foldingRange.enabled's exact shape (a pure server-side toggle
with no client-side code needed - confirmed foldingRange.enabled has
zero references in src/, since getJavaConfig() forwards the whole
java.* configuration object to the server generically).
Note: .jsh's association with the java language id is a static
package.json manifest declaration (contributes.languages[].extensions),
not a runtime registration, so it can't be dynamically gated on this
setting - disabling it turns off completion/diagnostics/hover on the
server side, but doesn't affect syntax highlighting. Documented in the
setting's own description rather than attempting a partial/misleading
client-side gate.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>1 parent 10e3d0e commit 71f395c
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1699 | 1699 | | |
1700 | 1700 | | |
1701 | 1701 | | |
| 1702 | + | |
| 1703 | + | |
| 1704 | + | |
| 1705 | + | |
| 1706 | + | |
| 1707 | + | |
1702 | 1708 | | |
1703 | 1709 | | |
1704 | 1710 | | |
| |||
0 commit comments