Stats
Actions
Tags
From developer-kit-java
JDTLS (Eclipse JDT Language Server) provides code intelligence for Java: diagnostics, go-to-definition, find references, hover info, symbols, and call hierarchy for .java files.
This LSP server requires jdtlsto be installed on your system. Make sure it's available in your PATH before enabling.
Copy this JSON into your .lsp.json to enable this server
Add to your .lsp.json or plugin.json:
{
"lspServers": {
"java": {
"command": "jdtls",
"extensionToLanguage": {
".java": "java"
},
"args": [
"-configuration",
"~/.cache/jdtls/config",
"-data",
"~/.cache/jdtls/workspace"
],
"env": {
"JAVA_HOME": "${JAVA_HOME}"
}
}
}
}File extensions mapped to language identifiers
Server configuration and transport parameters
jdtlsstdioCommand-line arguments passed to the server process
Environment variables set when the server starts
JAVA_HOME=${JAVA_HOME}Initialization options and workspace settings
npx claudepluginhub giuseppe-trisciuoglio/developer-kit --plugin developer-kit-java