[FEATURE]:Add Kotlin LSP support #4059

Closed
opened 2026-02-16 17:42:28 -05:00 by yindo · 2 comments
Owner

Originally created by @tjg184 on GitHub (Jan 1, 2026).

Originally assigned to: @thdxr on GitHub.

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

IntelliJ has support for Kotlin LSPs. While this can be configured manually in opencode, it's a bit cumbersome. To match other languages (closely aligned to Java), I am suggesting we support auto-detection of the Kotlin LSP. As of recent, there is no Java requirement as the LSP can install any JDK, etc.

https://github.com/Kotlin/kotlin-lsp/releases
https://api.github.com/repos/Kotlin/kotlin-lsp/releases/latest

I have a branch working for this feature here: https://github.com/tjg184/opencode/tree/add_kotlin_lsp. I can create a PR, but wanted to confirm the approach first.

Thanks!

Originally created by @tjg184 on GitHub (Jan 1, 2026). Originally assigned to: @thdxr on GitHub. ### Feature hasn't been suggested before. - [x] I have verified this feature I'm about to request hasn't been suggested before. ### Describe the enhancement you want to request IntelliJ has support for Kotlin LSPs. While this can be configured manually in opencode, it's a bit cumbersome. To match other languages (closely aligned to Java), I am suggesting we support auto-detection of the Kotlin LSP. As of recent, there is no Java requirement as the LSP can install any JDK, etc. [https://github.com/Kotlin/kotlin-lsp/releases](https://github.com/Kotlin/kotlin-lsp/releases) [https://api.github.com/repos/Kotlin/kotlin-lsp/releases/latest](https://api.github.com/repos/Kotlin/kotlin-lsp/releases/latest) I have a branch working for this feature here: [https://github.com/tjg184/opencode/tree/add_kotlin_lsp](https://github.com/tjg184/opencode/tree/add_kotlin_lsp). I can create a PR, but wanted to confirm the approach first. Thanks!
yindo added the discussion label 2026-02-16 17:42:28 -05:00
yindo closed this issue 2026-02-16 17:42:28 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 1, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #3116: Kotlin LSP support

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 1, 2026): This issue might be a duplicate of existing issues. Please check: - #3116: Kotlin LSP support Feel free to ignore if none of these address your specific case.
Author
Owner

@rekram1-node commented on GitHub (Jan 1, 2026):

PR welcome!

@rekram1-node commented on GitHub (Jan 1, 2026): PR welcome!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#4059