Skip to content

Releases: Kotlin/kotlin-lsp

v261.13587.0

10 Dec 12:38

Choose a tag to compare

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

v0.253.10629

06 Aug 13:33

Choose a tag to compare

  • 🧪 Kotlin for VS Code Extension
    Includes the Kotlin Language Server bundled for use with Visual Studio Code.
    Download  |  SHA-256 Checksum

  • 🗂️ Kotlin Language Server (Standalone ZIP)
    Standalone version of the Kotlin LSP for editors other than VS Code.
    Download  |  SHA-256 Checksum

Changelog

🛠 LSP capabilities

  • Rename refactoring (textDocument/rename)
  • Kotlin code formatting (textDocument/formatting and textDocument/rangeFormatting)
    • Auto-applied on quickfixes, configurable via LSP protocol, IntelliJ implementation
  • Navigation to libraries/JDK sources (textDocument/definition)
  • Documentation on hover (textDocument/hover)
  • Signature help (textDocument/signatureHelp)
  • Faster highlighting on large files (textDocument/semanticTokens/range)

✨ UX improvements

  • Native support of external file system changes (i.e. git pull)
  • Multiple caching layers with on-disk persistence are added
    • Should drastically reduce memory pressure on large projects
  • Full-blown code completion from IntelliJ IDEA
  • More fine-tuned inspections and diagnostics set enabled by default
  • Proper termination sequence of LSP process when the corresponding extension is closed

Other

  • 🐛 Fixed some bugs here and there, introduced new ones
  • 🧩 VSC extension bundling
  • 🪟 Wrestled with \ on Windows on multiple occasions. All on-disk persistence is hopefully platform-independent for now

v0.252.17811

27 May 12:23

Choose a tag to compare

  • 🧪 Kotlin for VS Code Extension
    Includes the Kotlin Language Server bundled for use with Visual Studio Code.
    Download  |  SHA-256 Checksum

  • 🗂️ Kotlin Language Server (Standalone ZIP)
    Standalone version of the Kotlin LSP for editors other than VS Code.
    Download  |  SHA-256 Checksum