v262.7569.0
-
🧪 "Kotlin by JetBrains" extension v0.0.4 for VS Code
Includes Kotlin Language Server bundled for use with Visual Studio Code.
The extension is also available on the VS Code Marketplace.
-
🗂️ Standalone Kotlin LSP Archive
Standalone Kotlin Language Server version for editors other than VS Code.
Changelog
🎉 Extension is now published to the VS Code Marketplace
- "Kotlin by JetBrains" is now available on the Visual Studio Code Marketplace, and can be installed to VS Code directly.
- VS Code extension is now distributed under the JetBrains Free Plugin License instead of Apache 2.0.
Warning
"Kotlin by JetBrains" extension now has a different VS Code Marketplace ID:
Old one: jetbrains.kotlin
New one: jetbrains.kotlin-server
When you install a newer jetbrains.kotlin-server, a dialog will offer to uninstall the older jetbrains.kotlin extension, if present.
Accept it and reload the window — the new extension cannot properly activate while the old jetbrains.kotlin
extension is present.
🛠 LSP capabilities
- Workspace model is now persisted across server restarts, which reduces cold-start time on subsequent launches of the same project.
- New inspections from the IntelliJ Kotlin Plugin:
- KTIJ-20597: Replace
myMap.map { it.ket }.toSet()chains with direct call onmyMap.keys.
- KTIJ-20597: Replace
📦 Import & build systems
- More fine-grained progress reporting during project import in VS Code.
- The Kotlin LSP document selector now also covers
.javafiles in mixed Kotlin/Java projects, improving cross-language updates when Java files change.
⌨️ Editor / typing
- Various Enter-key and auto-indent handling fixes — multi-line strings, multi-line comments, KDoc, class type parameter/argument lists, function parameter lists, and more.
- Correct handling of CRLF line endings in document edits, bracket/parenthesis completion, and extra-line insertion.
- Completion of multi-line comments.
🐛 Bug fixes
- Kotlin
languageVersionis now propagated from Gradle and Maven into the imported workspace, matching IntelliJ behavior. - Gradle import no longer throws
NoSuchElementExceptionwhen no JDK is configured — a clearer error is surfaced instead. - False positive
REDUNDANT_ELSE_IN_WHENdiagnostic is addressed. Fixes #190 and #124. - Document URLs are now computed correctly for unsaved/orphan files. Potentially fixes #185.
- Hover documentation links now use properly rendered URIs, fixing broken links on Windows and for project paths that contain spaces.
- "Find References" of Kotlin type aliases is now supported.
Format Documentnow applies to files created from templates.PROJECT_NAMEinterpolation in file templates is now resolved correctly.- Fixed the broken link to
file_templates.mdin extension settings. - Many other small improvements and bug fixes.
Other
- 🚀 Completion and auto-import performance improvements, including a fix for the regression introduced by the RocksDB migration. Fixes #193.
- The server now reports its log file location to the client on startup.
- Background coroutine exceptions are now captured and reported properly in the server log.
.editorconfigfiles outside source roots are now honored.- Fix for serialization of empty/optional values when handling LSP requests. Related to #104.