fwcd / fwcd/kotlin-language-server
Server initialization failed.
- Dominant language
- Kotlin
- Stars
- 2k
- Forks
- 252
- PR merge metrics
- No merged PRs in 30d
Description
Environment: Ubuntu 16.04, JDK 8.
First of all, I am using Monaco editor which shares a common core with VS Code, although it's not officially supported by Kotlin Language Server (KLS).
I have installed/built KLS with no issue. Next I use the KotlinQuickStart project to experiment with KLS. The project is in `/sbin/KotlinQuickStart`. After I have started the Monaco editor in the browser, it sends a JSON-RPC request to the server like this:
`{"jsonrpc":"2.0","id":0,"method":"initialize","params":{"rootPath":null,"rootUri":"file:///sbin/KotlinQuickStart/src/main/kotlin","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true},"didChangeConfiguration":{"dynamicRegistration":false},"didChangeWatchedFiles":{"dynamicRegistration":false},"symbol":{"dynamicRegistration":true},"executeCommand":{"dynamicRegistration":true}},"textDocument":{"synchronization":{"dynamicRegistration":true},"completion":{"completionItem":{"snippetSupport":true},"dynamicRegistration":true},"hover":{"dynamicRegistration":true},"signatureHelp":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistration":true},"definition":{"dynamicRegistration":true},"codeAction":{"dynamicRegistration":true},"codeLens":{"dynamicRegistration":true},"documentLink":{"dynamicRegistration":true},"rename":{"dynamicRegistration":true}}},"initializationOptions":{"storagePath":"/","gocodeCompletionEnabled":true},"trace":"off"}}`
KLS doesn't send a response, and I see a `Server initialization failed error` in the browser console quickly. I try to view the log produced by KLS, but I am unable to find any.
Any chance you could provide some help on this or some instructions on how to view KLS' log, so that I can dig deeper?
Thanks!
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.