Kotlin | Zed Code Editor Documentation
Description: Learn how to use and customize Zed, the fast, collaborative code editor. Official docs on features, configuration, AI tools, and workflows.

# Kotlin

Kotlin language support in Zed is provided by the community-maintained Kotlin extension. Report issues to: https://github.com/zed-extensions/kotlin/issues

- Tree-sitter: fwcd/tree-sitter-kotlin
- Language Server: fwcd/kotlin-language-server

## Configuration

Workspace configuration options can be passed to the language server via lsp settings in `settings.json`.

The following example changes the JVM target from `default` (which is 1.8) to `17`:

    {
      "lsp": {
        "kotlin-language-server": {
          "settings": {
            "compiler": {
              "jvm": {
                "target": "17"
              }
            }
          }
        }
      }
    }

The full list of workspace configuration options can be found here.