docs: Update Java extension config example (#23885)

This commit is contained in:
peanut996 2025-01-30 21:40:51 +08:00 committed by GitHub
parent 5e210c083f
commit 51f07e3382
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -41,10 +41,6 @@ You can add these customizations to your Zed Settings by launching {#action zed:
{ {
"lsp": { "lsp": {
"jdtls": { "jdtls": {
"settings": {
"version": "1.40.0", // jdtls version to download and use
"classpath": "/path/to/classes.jar:/path/to/more/classes/"
},
"initialization_options": {} "initialization_options": {}
} }
} }
@ -109,6 +105,13 @@ There are also many more options you can pass directly to the language server, f
"/**/test/**" "/**/test/**"
] ]
}, },
"jdt": {
"ls": {
"lombokSupport": {
"enabled": false // Set this to true to enable lombok support
}
}
},
"referencesCodeLens": { "referencesCodeLens": {
"enabled": false "enabled": false
}, },