Skip to content
项目

关于

Fast, low-memory LSP server for Kotlin and Java, written in Rust

开发工具

这些数字如何统计

实测星标增长

24小时
+2
7天
+4
15天
+11
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

kmp-lsp logo

kmp-lsp

Kotlin Multiplatform Language Server (Kotlin, Java, Swift)

crates.io release build license

A fast, low-memory LSP server for Kotlin, Java, and Swift, written in Rust. Built with tree-sitter — instant startup, no JVM.

kmp-lsp demo

Why kmp-lsp? Full navigation (hover, go-to-definition, completion, rename, semantic tokens) works immediately via an rg fallback and gets faster as the background index builds — instant startup, under 200 MB, no JVM or Gradle import required. Trade-off: syntactic (tree-sitter) resolution, not the full IntelliJ Analysis API. See the full comparison.

Quick install

curl -fsSL https://raw.githubusercontent.com/Hessesian/kmp-lsp/main/install.sh | bash

Installs kmp-lsp and the native JAR indexer sidecar.

Library sources are auto-detected in most cases. Missing hover docs/go-to-def for a dependency? Force-extract them:

kmp-lsp extract-sources

Learn more

Acknowledgements

Superclass hierarchy resolution, this/super qualifier handling, and lambda parameter recognition were inspired by code-compass.nvim by Emmanuel Touzery.

探索相关项目

加载中…