Skip to content

Kotlin LSP Release Notes

JetBrains ยท JetBrainsโ€™ alpha Kotlin language server with IntelliJ-powered completion, diagnostics, refactoring and JVM build-system support for LSP editors.

CaskDeveloper Toolsย 3.6K
Install command
brew install --cask kotlin-lsp
30-day installs
542
#482 in App
1-year installs
2.9K
Last 365 days
Latest version
271.3588.0
Download size
366MB
sit
Release cadence
Weekly
4 releases in 30 days
  1. 271.3588.0
  2. 271.2085.0
  3. 263.7084.0

    OpenNavo editorial Added to Homebrew

    Improves Kotlin debugging: Step Over and Step Into work inside scope functions such as with, let and also. Adds coroutine async stack traces when debugging launches, including Gradle launch configurations, plus smaller fixes.

    Improves Kotlin debugging: Step Over and Step Into work inside scope functions such as with, let and also. Adds coroutine async stack traces when debugging launches, including Gradle launch configurations, plus smaller fixes.

    Source

  4. 263.6379.0

    Expand

    OpenNavo editorial Added to Homebrew

    Adds Extract variable and Inline local variable refactorings, improves file/package moves and debugger behavior, fixes Gradle and Maven import handling, and improves indexing and diagnostics.

    LSP
    Adds Extract variable and Inline local variable refactorings.Improves moving multiple Kotlin files and packages.Shows upper bounds when hovering on bounded type parameters.
    Build
    Detects correct Java language version during Gradle import.Reads Maven credentials from settings.xml.
    Performance
    Improves indexing scheduling and diagnostics for large files.Moves inspections to a separate thread pool.

    v263.6379.0

    Changelog

    ๐Ÿ›  LSP capabilities
    • New refactorings available for Kotlin: "Extract variable" and "Inline local variable". <!-- LSP-566, LSP-845 -->
    • Moving Kotlin files is improved. You can now move packages, several files, and several packages at once. The refactoring shows an error message when a step fails. <!-- LSP-1835, LSP-1832, LSP-1833, LSP-1846, LSP-1298, LSP-1852 -->
    • Hover on a bounded type parameter now shows the upper bound (for example T : Any). <!-- LSP-759 -->
    ๐Ÿž Run & Debug
    • The debugger supports the "Dump threads" request. <!-- LSP-1750 -->
    • Hidden frames from libraries are now visible in the call stack. <!-- LSP-1792 -->
    • The debugger no longer offers "Set value" for final variables. <!-- LSP-1182 -->
    • The Gradle launch init script now compiles on Gradle 6. <!-- LSP-1871 -->
    ๐Ÿ“ฆ Import & build systems
    • Gradle import detects the correct Java language version. <!-- LSP-1732 -->
    • Maven import reads the credentials from settings.xml. <!-- LSP-1814 -->
    ๐Ÿš€ Performance
    • Indexing of library and SDK sources starts later, and the diagnostics are faster for large files. <!-- LSP-1056, LSP-1749, LSP-1905 -->
    • Computing inspections is now done on a separate thread pool, which prevents other requests from stalling . <!-- LSP-1858 -->
    ๐Ÿ› Bug fixes
    • Fixed a NullPointerException in the package directory cache. <!-- LSP-1811 -->
    • Many other small improvements and bug fixes.

    Official source: https://github.com/Kotlin/kotlin-lsp/releases/tag/kotlin-lsp/v263.6379.0 Homebrew evidence: https://formulae.brew.sh/api/cask/kotlin-lsp.json

  5. 263.4702.0

    Expand

    OpenNavo editorial Added to Homebrew

    Adds Kotlin intentions, run/debug code lenses, live templates, file moves and multi-project import; improves build synchronization, indexing and debugging. The extension now requires region and data-sharing choices.

    v263.4702.0

    Changelog

    [!NOTE] "Kotlin by JetBrains" is now on the Open VSX Registry. You can install it in Cursor, VSCodium, and other VS Code forks. <!-- LSP-1425, LSP-1227 -->

    JetBrains also released "Java and Kotlin by IntelliJ IDEA", which supports both languages. If you install it while "Kotlin by JetBrains" is present, it offers to remove this extension. This is expected. Two language servers must not run at the same time. <!-- LSP-1422 -->

    Find out more at https://www.jetbrains.com/help/intellij-vscode/About-instance.html.

    [!IMPORTANT] When the extension first starts, it now asks you to choose a Region and a Data Sharing option. The language server does not start until you choose both. You can change them later in the VS Code settings. <!-- LSP-1344, LSP-550, LSP-1424 -->

    ๐Ÿ›  LSP capabilities
    • Most of the Kotlin intentions from the IntelliJ Kotlin plugin are now available in Kotlin LSP. <!-- LSP-569 --> <!-- LSP-157, LSP-1216, LSP-1255, LSP-1403, LSP-1753, LSP-1624 -->
    • Code lenses above a Kotlin main function now let you run or debug it. <!-- LSP-1321, LSP-1323 -->
    • "Organize Imports" is now available as a Source Action. <!-- LSP-1212 -->
    • Live template completion now works in Kotlin (e.g. main, sout, or if). <!-- LSP-1622 -->
    • You can now move Kotlin files while preserving correct imports and references in other files. <!-- LSP-1319 -->
      • Moving entire folders is not supported yet.
    • Workspace symbol search now finds symbols in libraries. <!-- LSP-1179 -->
    • A new status bar widget shows the server state and lets you restart the server. <!-- LSP-1170 -->
    ๐Ÿž Run & Debug
    • The extension reads launch.json, and it can launch a JVM application. <!-- LSP-1207, LSP-1051 -->
    • Completion works in the debug console. Evaluation no longer stops at "Collecting Data". <!-- LSP-1304, LSP-451 -->
    ๐Ÿ“ฆ Import & build systems
    • You can now import more than one project from a single workspace. The intellij.projects setting lists each project with its build system and its path. This covers a monorepo, and a directory that holds several independent projects. Find out more at https://www.jetbrains.com/help/intellij-vscode/Project-import.html. <!-- LSP-960, LSP-1302 -->
    • The workspace now reloads automatically when you edit and save a build script. A new setting controls the reload. It can reload always, ask first, or never reload. New commands are also added: "Reimport Project" and "Clear Caches and Restart".
    • Gradle sync now downloads the library sources by default. This makes source lookup work in a library. The first sync takes more time. <!-- LSP-1192 -->
    • The server uses the Gradle Tooling API 9.5.0. <!-- LSP-1095 -->
    • Gradle import uses the JRE of the language server when JAVA_HOME is not set. Maven import now honors the java-home entry of the intellij.projects setting. <!-- LSP-1148, LSP-1497 -->
    • Maven: the importer honors the compiler arguments, and the spurious jar warnings are gone. Maven import works on Windows. <!-- LSP-940, LSP-489, LSP-1560 -->
    • Better import of a multi-root workspace. The extension also tells you when the project root holds more than one build system. <!-- LSP-1409, LSP-1407, LSP-1615 -->
    • Indexing now reports the progress as a percentage. <!-- LSP-1256, LSP-883 -->
    • Build tool output goes to a separate VS Code output channel. <!-- LSP-679 -->
    • The extension now activates automatically when there is a build file somewhere in the project. <!-- LSP-1000 -->
    โŒจ๏ธ Editor / typing
    • More Enter-key fixes in a string template. Pressing Enter no longer inserts an incorrect string concatenation. <!-- LSP-1141, LSP-1367, LSP-1391, LSP-1392 -->
    • "Toggle line comment" action works again. <!-- LSP-1176 -->
    ๐Ÿš€ Performance
    • Faster indexing, and fewer stalls during and after the project import. The local inspections also run faster. <!-- LSP-115, LSP-1235, LSP-1248, LSP-278 -->
    ๐Ÿ› Bug fixes
    • Import of an Android Gradle project no longer fails with a ClassCastException. Fixes https://github.com/Kotlin/kotlin-lsp/issues/243. <!-- LSP-1561 -->
    • Windows: the analyzer database moved from the roaming profile to %LOCALAPPDATA%. Fixes https://github.com/Kotlin/kotlin-lsp/issues/215. <!-- LSP-1004 -->
    • The server now closes the OS file handles for the JAR files it opens. <!-- LSP-244 -->
    • The server uses the proxy settings of VS Code. <!-- LSP-1532 -->
    • Many other small improvements and bug fixes.

    Official release: https://github.com/Kotlin/kotlin-lsp/releases/tag/kotlin-lsp/v263.4702.0

    Homebrew version evidence: https://formulae.brew.sh/api/cask/kotlin-lsp.json

  6. 262.9593.0

    Expand

    OpenNavo editorial Added to Homebrew

    Minor release based on v262.8190.0, bundled with Kotlin by JetBrains extension v0.0.6. The official release refers to the previous changelog and provides no additional build-specific change details.

    v262.9593.0

    Changelog

    [!NOTE] This is a minor release based on v262.8190.0. See its changelog for the recent changes.

    Official release: https://github.com/Kotlin/kotlin-lsp/releases/tag/kotlin-lsp/v262.9593.0

    Homebrew version evidence: https://formulae.brew.sh/api/cask/kotlin-lsp.json

  7. 262.8190.0
  8. 262.7569.0
  9. 262.4739.0
  10. 262.2310.0
  11. 262.1817.0
  12. 262.1668.0
  13. 261.13587.0
  14. 3.7084.0

    Expand

    GitHub Release

    v263.7084.0

    Changelog

    ๐Ÿž Run & Debug
    • Step Over and Step Into now work inside Kotlin scope functions, such as with, let, and also.
    • Async stack traces for coroutines are now available when you debug a launch, also for a Gradle launch configuration.
    ๐Ÿ› Bug fixes
    • Various small improvements and bug fixes.
  15. 3.6379.0

    Expand

    GitHub Release

    v263.6379.0

    Changelog

    ๐Ÿ›  LSP capabilities
    • New refactorings available for Kotlin: "Extract variable" and "Inline local variable".
    • Moving Kotlin files is improved. You can now move packages, several files, and several packages at once. The refactoring shows an error message when a step fails.
    • Hover on a bounded type parameter now shows the upper bound (for example T : Any).
    ๐Ÿž Run & Debug
    • The debugger supports the "Dump threads" request.
    • Hidden frames from libraries are now visible in the call stack.
    • The debugger no longer offers "Set value" for final variables.
    • The Gradle launch init script now compiles on Gradle 6.
    ๐Ÿ“ฆ Import & build systems
    • Gradle import detects the correct Java language version.
    • Maven import reads the credentials from settings.xml.
    ๐Ÿš€ Performance
    • Indexing of library and SDK sources starts later, and the diagnostics are faster for large files.
    • Computing inspections is now done on a separate thread pool, which prevents other requests from stalling .
    ๐Ÿ› Bug fixes
    • Fixed a NullPointerException in the package directory cache.
    • Many other small improvements and bug fixes.
  16. 3.4702.0

    Expand

    GitHub Release

    v263.4702.0

    Changelog

    [!NOTE] "Kotlin by JetBrains" is now on the Open VSX Registry. You can install it in Cursor, VSCodium, and other VS Code forks.

    JetBrains also released "Java and Kotlin by IntelliJ IDEA", which supports both languages. If you install it while "Kotlin by JetBrains" is present, it offers to remove this extension. This is expected. Two language servers must not run at the same time.

    Find out more at https://www.jetbrains.com/help/intellij-vscode/About-instance.html.

    [!IMPORTANT] When the extension first starts, it now asks you to choose a Region and a Data Sharing option. The language server does not start until you choose both. You can change them later in the VS Code settings.

    ๐Ÿ›  LSP capabilities
    • Most of the Kotlin intentions from the IntelliJ Kotlin plugin are now available in Kotlin LSP.

    • Code lenses above a Kotlin main function now let you run or debug it.

    • "Organize Imports" is now available as a Source Action.

    • Live template completion now works in Kotlin (e.g. main, sout, or if).

    • You can now move Kotlin files while preserving correct imports and references in other files.

      • Moving entire folders is not supported yet.
    • Workspace symbol search now finds symbols in libraries.

    • A new status bar widget shows the server state and lets you restart the server.

    ๐Ÿž Run & Debug
    • The extension reads launch.json, and it can launch a JVM application.
    • Completion works in the debug console. Evaluation no longer stops at "Collecting Data".
    ๐Ÿ“ฆ Import & build systems
    • You can now import more than one project from a single workspace. The intellij.projects setting lists each project with its build system and its path. This covers a monorepo, and a directory that holds several independent projects. Find out more at https://www.jetbrains.com/help/intellij-vscode/Project-import.html.

    • The workspace now reloads automatically when you edit and save a build script. A new setting controls the reload. It can reload always, ask first, or never reload. New commands are also added: "Reimport Project" and "Clear Caches and Restart".

    • Gradle sync now downloads the library sources by default. This makes source lookup work in a library. The first sync takes more time.

    • The server uses the Gradle Tooling API 9.5.0.

    • Gradle import uses the JRE of the language server when JAVA_HOME is not set. Maven import now honors the java-home entry of the intellij.projects setting.

    • Maven: the importer honors the compiler arguments, and the spurious jar warnings are gone. Maven import works on Windows.

    • Better import of a multi-root workspace. The extension also tells you when the project root holds more than one build system.

    • Indexing now reports the progress as a percentage.

    • Build tool output goes to a separate VS Code output channel.

    • The extension now activates automatically when there is a build file somewhere in the project.

    โŒจ๏ธ Editor / typing
    • More Enter-key fixes in a string template. Pressing Enter no longer inserts an incorrect string concatenation.
    • "Toggle line comment" action works again.
    ๐Ÿš€ Performance
    • Faster indexing, and fewer stalls during and after the project import. The local inspections also run faster.
    ๐Ÿ› Bug fixes
  17. 2.9593.0

    Expand

    GitHub Release

    v262.9593.0

    Changelog

    [!NOTE] This is a minor release based on v262.8190.0. See its changelog for the recent changes.

  18. 2.8190.0

    Expand

    GitHub Release

    v262.8190.0

    Changelog

    [!NOTE] This is a minor release based on v262.7569.0. See it's changelog for the recent changes.

    ๐Ÿ› Bug fixes
  19. 2.7569.0

    Expand

    GitHub Release

    v262.7569.0

    Changelog

    ๐ŸŽ‰ Extension is now published to the VS Code Marketplace

    [!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.

    Example of the dialog.

    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 on myMap.keys.
    ๐Ÿ“ฆ Import & build systems
    • More fine-grained progress reporting during project import in VS Code.
    • The Kotlin LSP document selector now also covers .java files 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 languageVersion is now propagated from Gradle and Maven into the imported workspace, matching IntelliJ behavior.
    • Gradle import no longer throws NoSuchElementException when no JDK is configured โ€” a clearer error is surfaced instead.
    • False positive REDUNDANT_ELSE_IN_WHEN diagnostic is addressed. Fixes https://github.com/Kotlin/kotlin-lsp/issues/190 and https://github.com/Kotlin/kotlin-lsp/issues/124.
    • Document URLs are now computed correctly for unsaved/orphan files. Potentially fixes https://github.com/Kotlin/kotlin-lsp/issues/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 Document now applies to files created from templates.
    • PROJECT_NAME interpolation in file templates is now resolved correctly.
    • Fixed the broken link to file_templates.md in extension settings.
    • Many other small improvements and bug fixes.
    Other
    • :rocket: Completion and auto-import performance improvements, including a fix for the regression introduced by the RocksDB migration. Fixes https://github.com/Kotlin/kotlin-lsp/issues/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.
    • .editorconfig files outside source roots are now honored.
    • Fix for serialization of empty/optional values when handling LSP requests. Related to https://github.com/Kotlin/kotlin-lsp/issues/104.
  20. 2.4739.0

    Expand

    GitHub Release

    v262.4739.0

    [!NOTE] Kotlin by JetBrains is now available on the VS Code Marketplace. You can install the latest official release of VS Code Extension from there.

    Changelog

    ๐Ÿ›  LSP capabilities
    • Call hierarchy (textDocument/prepareCallHierarchy, callHierarchy/incomingCalls, callHierarchy/outgoingCalls) โ€” invoke "Show Call Hierarchy" / "Show Incoming/Outgoing Calls" on a Kotlin function or property to see who calls it and which symbols it calls. Fixes https://github.com/Kotlin/kotlin-lsp/issues/143.
    • Code folding (textDocument/foldingRange) โ€” Kotlin function and class bodies, blocks, imports, and multiline comments can now be collapsed in the editor.
    • Smart insertion of parentheses, braces, and quotes โ€” auto-pairing and overtyping work for KDoc brackets, string templates, raw strings, generic angle brackets, when / lambda braces, and char literals.
    • File templates (IntelliJ-style) โ€” newly created Kotlin files are generated from configurable templates that support predefined variables and conditional expressions. Templates are configured through VS Code settings.
    ๐Ÿ› Bug fixes
    :test_tube: Experimental features

    [!WARNING] The features listed in this section are not finalized.

    They may contain bugs and are likely to change significantly in future releases โ€” do not depend on their current behavior.

    • Import of Android projects is now supported by Kotlin LSP :tada:
    • :bug: Debug Adapter Protocol (DAP) for Kotlin โ€” attach to a running JVM, set line breakpoints, pause/resume, step over/in, inspect threads, stack frames, and variables, and evaluate simple expressions.
    Other
    • :rocket: Index storage migrated to RocksDB โ€” more robust state management and better performance.
    • VS Code extension settings have been renamed from kotlinLSP.* to intellij.*.
    • New intellij.buildTool setting controls which build-system importer should be preferred.
    • :package: New bundling layout โ€” use the bin/intellij-server executable to launch the standalone server. The legacy kotlin-lsp.sh launcher is deprecated and will be removed in future releases.
    • Standalone archives are now platform-specific: .sit for macOS, .tar.gz for Linux, and .zip for Windows.
    • stdio mode stability โ€” the JVM's own stdout is now isolated from the LSP framing channel, so unexpected output from the JVM no longer corrupts the protocol stream.
    • :warning: Kotlin LSP now requires JDK 25 to run.
  21. 2.2310.0

    Expand

    GitHub Release

    v262.2310.0

    Changelog

    [!IMPORTANT] This is the second hotfix release for v262.1668.0.

    The second fix is related to disabling faulty parts of a JVM DAP adapter (which is currently a WIP).

    The changelog below comes from the v262.1668.0 release and is repeated here for clarity.

    ๐Ÿ”ง Kotlin 2.3.0 support
    ๐Ÿ›  LSP capabilities
    • Import of Maven projects is now supported
    • Import of Gradle projects is now more robust
    • "Go to Type Definition" (typeDefinition) for Kotlin symbols
    • "Go to Implementation" (implementation) for Kotlin symbols
    • New code actions are supported:
      • "Add names to call arguments"
      • "Specify type explicitly"
      • "Add import" quick fixes for unresolved references
    • New inspections from the IntelliJ Kotlin Plugin:
    • Compiler plugins like kotlinx.serialization and AllOpen are now fully supported
    โœจ UX improvements
    • "Go to Symbol" now works faster due to improved performance of "Workspace Symbols" requests
    • Distribution size has been reduced by > 30% (from 600 MB down to 400 MB)
    • Various other performance improvements
    ๐Ÿ› Bug fixes
    • Fixed caret misplacement and exceptions after invoking code completion
    • Angular brackets are no longer highlighted as unmatched in the editor
    • Various memory leaks fixed
  22. 2.1817.0

    Expand

    GitHub Release

    v262.1817.0

    Changelog

    [!IMPORTANT] This is a hotfix release for v262.1668.0.

    The fix is related to unexpected warnings being printed to STDIO at the start of the server. It disables them to avoid potential problems with different LSP clients.

    The changelog below comes from the v262.1668.0 release and is repeated here for clarity.

    ๐Ÿ”ง Kotlin 2.3.0 support
    ๐Ÿ›  LSP capabilities
    • Import of Maven projects is now supported
    • Import of Gradle projects is now more robust
    • "Go to Type Definition" (typeDefinition) for Kotlin symbols
    • "Go to Implementation" (implementation) for Kotlin symbols
    • New code actions are supported:
      • "Add names to call arguments"
      • "Specify type explicitly"
      • "Add import" quick fixes for unresolved references
    • New inspections from the IntelliJ Kotlin Plugin:
    • Compiler plugins like kotlinx.serialization and AllOpen are now fully supported
    โœจ UX improvements
    • "Go to Symbol" now works faster due to improved performance of "Workspace Symbols" requests
    • Distribution size has been reduced by > 30% (from 600 MB down to 400 MB)
    • Various other performance improvements
    ๐Ÿ› Bug fixes
    • Fixed caret misplacement and exceptions after invoking code completion
    • Angular brackets are no longer highlighted as unmatched in the editor
    • Various memory leaks fixed
  23. 2.1668.0

    Expand

    GitHub Release

    v262.1668.0

    Changelog

    ๐Ÿ”ง Kotlin 2.3.0 support
    ๐Ÿ›  LSP capabilities
    • Import of Maven projects is now supported
    • Import of Gradle projects is now more robust
    • "Go to Type Definition" (typeDefinition) for Kotlin symbols
    • "Go to Implementation" (implementation) for Kotlin symbols
    • New code actions are supported:
      • "Add names to call arguments"
      • "Specify type explicitly"
      • "Add import" quick fixes for unresolved references
    • New inspections from the IntelliJ Kotlin Plugin:
    • Compiler plugins like kotlinx.serialization and AllOpen are now fully supported
    โœจ UX improvements
    • "Go to Symbol" now works faster due to improved performance of "Workspace Symbols" requests
    • Distribution size has been reduced by > 30% (from 600 MB down to 400 MB)
    • Various other performance improvements
    ๐Ÿ› Bug fixes
    • Fixed caret misplacement and exceptions after invoking code completion
    • Angular brackets are no longer highlighted as unmatched in the editor
    • Various memory leaks fixed
  24. 1.13587.0

    Expand

    GitHub Release

    v261.13587.0

    Changelog

    ๐Ÿ›  LSP capabilities
    • Full support of inlay hints with a fine-grained configuration via jetbrains.kotlin.hints.* LS settings
    โœจ UX improvements
    • Zero-dependencies platform-specific builds -- no JDK required by default, the language server bundles its own
    • Code completion revamp: suggesting order is now on par with IJ and more relevant
    • Code completion latency is ~30% better
    • kotlinLSP.jdkForSymbolResolution option to specify JDK version that will be used as a dependency for symbol resolution
    • LS now checks JDK/Gradle versions compatibility and fails gracefully in the case of incompatible changes
    • Indicies are now stored in a dedicated folder and are properly shared between multiple projects and LS instances
    • All inspections and intentions are now using mod command which a more robust approach for LSP-like protocols
    Other
    • More indexing fixes on Windows
    • Smaller bundle size on every platform
    • Improved Gradle import performance
    • Better JDK selection for Gradle import when multiple options are present
    • Native filewatcher lib is now signed on OS X in release builds
    • Native filewatcher lib is now linked with libgcc statically
    • Compiler plugins support for JPS and .json-based imports