[PR #6601] feat: Add kotlin lsp integration #11994

Closed
opened 2026-02-16 18:16:56 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/6601

State: closed
Merged: Yes


This pull request adds support for the Kotlin language server to the OpenCode LSP infrastructure. The main changes include updating language extension mappings and introducing logic to automatically download, install, and launch the Kotlin Language Server when needed.

Kotlin Language Server Integration

  • Added .kt and .kts file extensions to the LANGUAGE_EXTENSIONS mapping, associating them with the Kotlin language.
  • Introduced the KotlinLS entry in LSPServer, which detects the project root, checks for a local server installation, and downloads/releases the latest Kotlin Language Server from GitHub if not present. The implementation also handles platform and architecture compatibility, extraction, and launching of the server process.
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/6601 **State:** closed **Merged:** Yes --- This pull request adds support for the Kotlin language server to the OpenCode LSP infrastructure. The main changes include updating language extension mappings and introducing logic to automatically download, install, and launch the Kotlin Language Server when needed. **Kotlin Language Server Integration** * Added `.kt` and `.kts` file extensions to the `LANGUAGE_EXTENSIONS` mapping, associating them with the Kotlin language. * Introduced the `KotlinLS` entry in `LSPServer`, which detects the project root, checks for a local server installation, and downloads/releases the latest Kotlin Language Server from GitHub if not present. The implementation also handles platform and architecture compatibility, extraction, and launching of the server process.
yindo added the pull-request label 2026-02-16 18:16:56 -05:00
yindo closed this issue 2026-02-16 18:16:56 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#11994