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
#
Type: string
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-compiler-jvm-target
#
Type: string
Default: 1.8
Specifies the JVM target, e.g. "1.6" or "1.8".
lsp-kotlin-completion-snippets-enabled
#
Type: boolean
Default: t
Specifies whether code completion should provide snippets (true) or plain-text items (false).
lsp-kotlin-debug-adapter-enabled
#
Type: boolean
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
#
Type: string
Default: ``
Optionally a custom path to the debug adapter executable.
lsp-kotlin-external-sources-auto-convert-to-kotlin
#
Type: boolean
Default: t
Specifies whether decompiled/external classes should be auto-converted to Kotlin.
lsp-kotlin-external-sources-use-kls-scheme
#
Type: boolean
Default: t
[Recommended] Specifies whether URIs inside JARs should be represented
using the kls
-scheme.
lsp-kotlin-linting-debounce-time
#
Type: number
Default: 250
[DEBUG] Specifies the debounce time limit. Lower to increase responsiveness at the cost of possible stability issues.
lsp-kotlin-server-download-url
#
Type: string
Default: https://github.com/fwcd/kotlin-language-server/releases/latest/download/server.zip
The URL for the language server download.
lsp-kotlin-trace-server
#
Type: (choice (:tag off messages verbose))
Default: off
Traces the communication between VSCode and the Kotlin language server.