diff --git a/plugins/java-core/.lsp.json b/plugins/java-core/.lsp.json index 3b54a1a..3d8acec 100644 --- a/plugins/java-core/.lsp.json +++ b/plugins/java-core/.lsp.json @@ -1,33 +1,8 @@ { "lspServers": { - "java": { - "command": "jdtls", - "args": [], - "initializationOptions": { - "settings": { - "java": { - "format": { - "enabled": true, - "settings": { - "profile": "GoogleStyle" - } - }, - "saveActions": { - "organizeImports": true - }, - "completion": { - "importOrder": ["java", "javax", "jakarta", "org", "com"] - }, - "inlayHints": { - "parameterNames": { - "enabled": "all" - } - } - } - } - }, - "filetypes": ["java"], - "notes": "Requires Eclipse JDT Language Server (jdtls). Install via: brew install jdtls (macOS), or https://github.com/eclipse-jdtls/eclipse.jdt.ls" + "command": "jdtls", + "extensionToLanguage": { + ".java": "java" } } }