Commit feef9ce
fix: correct .lsp.json schema for jdtls
Claude Code expects lspServers.command (string) and
lspServers.extensionToLanguage (record) directly — not nested under
a language key. The previous "java": { command, ... } structure caused
"Unrecognized key: java" and "expected string, received undefined" errors.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 3bcc8b0 commit feef9ce
1 file changed
Lines changed: 3 additions & 28 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
31 | 6 | | |
32 | 7 | | |
33 | 8 | | |
0 commit comments