You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, I'm trying to use kotlin lsp with the emacs eglot lsp impllementation, but I'm having some problems.
Is it supposed to work to use the stdio mode, or is there a port to connect to? Is there some basic sanity checks I can do by hand to see that the kotlin lsp responds correctly?
The text was updated successfully, but these errors were encountered:
@jave The server does indeed communicate via stdio:
val server =KotlinLanguageServer()
val input =ExitOnClose(System.`in`)
val threads =Executors.newSingleThreadExecutor({ Thread(it, "client")})
val launcher =LSPLauncher.createServerLauncher(server, input, System.out, threads, { it })
server.connect(launcher.remoteProxy)
launcher.startListening()
After cloning the repo and installing the server using ./gradlew build, the start scripts (for Bash or Windows) should be located in build/install/kotlin-language-server/bin. Did you try adding the path to this start script in eglot-server-programs?
Hello, I'm trying to use kotlin lsp with the emacs eglot lsp impllementation, but I'm having some problems.
Is it supposed to work to use the stdio mode, or is there a port to connect to? Is there some basic sanity checks I can do by hand to see that the kotlin lsp responds correctly?
The text was updated successfully, but these errors were encountered: