ソースを参照

Add Kotlin LSP plugin for code intelligence

- Add kotlin-lsp entry to marketplace.json with support for .kt and .kts files
- Create README with installation instructions (brew install kotlin-lsp)
- Configure LSP server to use --stdio mode with 120s startup timeout
Habib 8 ヶ月 前
コミット
2fee5cd9bf
2 ファイル変更39 行追加0 行削除
  1. 23 0
      .claude-plugin/marketplace.json
  2. 16 0
      plugins/kotlin-lsp/README.md

+ 23 - 0
.claude-plugin/marketplace.json

@@ -167,6 +167,29 @@
         }
       }
     },
+    {
+      "name": "kotlin-lsp",
+      "description": "Kotlin language server for code intelligence",
+      "version": "1.0.0",
+      "author": {
+        "name": "Anthropic",
+        "email": "support@anthropic.com"
+      },
+      "source": "./plugins/kotlin-lsp",
+      "category": "development",
+      "strict": false,
+      "lspServers": {
+        "kotlin-lsp": {
+          "command": "kotlin-lsp",
+          "args": ["--stdio"],
+          "extensionToLanguage": {
+            ".kt": "kotlin",
+            ".kts": "kotlin"
+          },
+          "startupTimeout" : 120000
+        }
+      }
+    },
     {
       "name": "csharp-lsp",
       "description": "C# language server for code intelligence",

+ 16 - 0
plugins/kotlin-lsp/README.md

@@ -0,0 +1,16 @@
+Kotlin language server for Claude Code, providing code intelligence, refactoring, and analysis.
+
+## Supported Extensions
+`.kt`
+`.kts`
+
+## Installation
+
+Install the Kotlin LSP CLI.
+
+```bash
+brew install JetBrains/utils/kotlin-lsp
+```
+
+## More Information
+- [kotlin LSP](https://github.com/Kotlin/kotlin-lsp)