Kotlin#
Server#
For more information about the LSP server, check kotlin-language-server.
Installation#
For more instructions on how to install manually, check here.
Debugger: Not available#
Available configurations#
lsp-clients-kotlin-server-executable
#
Default: kotlin-language-server
The kotlin-language-server executable to use. Leave as just the executable name to use the default behavior of finding the executable with ‘exec-path’.
lsp-kotlin-trace-server
#
Default: off
Traces the communication between VSCode and the Kotlin language server.
lsp-kotlin-compiler-jvm-target
#
Default: 1.8
Specifies the JVM target, e.g. "1.6" or "1.8".
lsp-kotlin-linting-debounce-time
#
Default: 250
[DEBUG] Specifies the debounce time limit. Lower to increase responsiveness at the cost of possible stability issues.
lsp-kotlin-completion-snippets-enabled
#
Default: t
Specifies whether code completion should provide snippets (true) or plain-text items (false).
lsp-kotlin-debug-adapter-enabled
#
Default: t
[Recommended] Specifies whether the debug adapter should be used. When enabled a debugger for Kotlin will be available.
lsp-kotlin-debug-adapter-path
#
Default: ``
Optionally a custom path to the debug adapter executable.
lsp-kotlin-external-sources-use-kls-scheme
#
Default: t
[Recommended] Specifies whether URIs inside JARs should be represented using the ’kls’-scheme.
lsp-kotlin-external-sources-auto-convert-to-kotlin
#
Default: t
Specifies whether decompiled/external classes should be auto-converted to Kotlin.