opencode icon indicating copy to clipboard operation
opencode copied to clipboard

[FEATURE]:Add Kotlin LSP support

Open tjg184 opened this issue 2 weeks ago • 1 comments

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://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!

tjg184 avatar Jan 01 '26 13:01 tjg184