Skip to content

About

Kotlin support

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

 
 

Repository files navigation


zed-kotlin-ext Logo

zed-kotlin-ext

Kotlin language support for Zed, published as the Kotlin DEV extension


Contributors Issues deps.rs

Table of Contents

Requirements

  • Zed (latest stable)

The Kotlin LSP binary and the kotlin-lsp-proxy companion binary are downloaded automatically on first use.

▲

Features

  • Language server — powered by JetBrains' official Kotlin LSP: completion, diagnostics, quick fixes, hover, rename, formatting, semantic highlighting, call hierarchy, and folding. The server binary is downloaded automatically on first use and cached per version.
  • Library/JDK source navigation — a stdio proxy in front of the language server resolves archive-internal (jar!/, zip!/) source URIs into real files, so go-to-definition into any dependency or JDK class just works.
  • Syntax highlighting — tree-sitter based, with KDoc (/** */) highlighted distinctly from ordinary comments.
  • Outline — classes, objects, companion objects, type aliases, enum entries, functions, and properties in the outline panel and breadcrumbs.
  • Run & test from the gutter — runnable buttons on fun main() and on test functions/classes annotated with @Test, @ParameterizedTest, or @RepeatedTest, including tests in @Nested inner classes:
    • Gradle projects run ./gradlew test --tests ... / ./gradlew run, automatically targeting :module:test in multi-module builds
    • Maven projects run mvn test -Dtest=... (or ./mvnw when present)
  • Text objects (Vim mode) — if/af for functions (including lambdas and constructors), ic/ac for classes, and comment objects, powered by tree-sitter queries.

Language Server

This extension uses the official Kotlin LSP from JetBrains. This is the actively maintained, modern language server for Kotlin.

Note: This extension temporarily pins build 263.4421.0 because JetBrains' RELEASES.md lags behind actual releases and points at expired builds (see Kotlin/kotlin-lsp#271).

Configuration and manual-installation options are documented in the Guide.

License

zed-kotlin-ext as a whole is distributed under GPL-3.0. Portions derived from the upstream zed-extensions/kotlin repository remain under the MIT License.

▲

Built With

Built With

▲

About

Kotlin support

Resources

Code of conduct

Contributing

Security policy

Stars

1 star

Watchers

0 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages