Language Server for Kotlin by Bitno
A lightweight, private and secure Kotlin language server for VS Code.
Early development: this extension is still being built. Expect missing features, rough edges and breaking changes between versions.
Lightweight, private and secure by design
Built by a developer, for developers, from Serbia. Free to use, with no paid tier.
- Lightweight: Kotlin's analysis runs inside the server, only for what each request needs. Your projects are ready from the last import while the build loads.
- Private: No telemetry, no account. It contacts only Adoptium, for its Java runtime and, after asking you, a missing JDK.
- Secure: Downloads are checked against Adoptium's SHA-256, and your repository credentials stay with Gradle.
Supported
Features
- Diagnostics as you type
- Hover
- Go to definition in the project's Kotlin and Java sources
- Bracket matching, comment toggling and auto-closing of brackets and quotes in
.kt files
Coming soon
- Syntax colouring
- Completion
- Find references
- Rename
- Outline
- Library sources
- Build scripts (
.kts)
Requirements
- VS Code 1.145 or later.
- Language Server for the JVM by Bitno, which runs the server. VS Code installs it with this extension.
- A Gradle build (see Build Tools), and Language Server for Gradle by Bitno, which imports it.
- Network access on the first start. The server runs on Eclipse Temurin of its own Java version, which the extension downloads into
~/.jdks (about 140 MB) when it isn't there yet. You don't need to install a JDK for the server yourself.
- About 90 MB of disk space for this extension, which bundles Kotlin's analysis.
Getting started
Open a folder that contains a Gradle build and open a Kotlin file. The first start downloads the server's runtime and imports the build. The {} beside the language mode shows what the server is doing; work that takes longer than 10 s also shows a notification, and downloads show at once in notifications you can cancel.
Settings
The settings belong to Language Server for the JVM by Bitno, the extension that runs the server and is installed with this one.
| Setting |
Default |
Description |
bitno.jvm.jdk.download |
ask |
Whether to download Temurin when a project needs a JDK that isn't installed: ask, always or never. |
bitno.jvm.log.level |
info |
How much the server writes to its output channel. |
- Adoptium, over HTTPS: the server's Java runtime on first start, and a project's missing JDK once you agree.
- Your Gradle builds: loaded by Language Server for Gradle by Bitno, which this extension needs. Its Gradle fetches what your build needs from the repositories it already uses, and hands each build to this server over a socket on your machine.
- Nothing else. Messages in the editor never show error details, paths or Gradle's output; those go to the log.
Feedback
Found a bug, or missing something? Open an issue. Questions and ideas go to Discussions. Blunt feedback is welcome.
Kotlin is a trademark of the Kotlin Foundation.
| |