Code intelligenceLanguage servers, one per project.
Each server starts from the nearest Cargo.toml, tsconfig.json or composer.json, so every package in a monorepo is read with its own config. A server that crashes takes nothing else with it.
- Rust
- TypeScript
- TSX
- JavaScript
- PHP
- Vue
- HTML
- CSS
- Less
- JSON
- Python
- Go
- Java
- Kotlin
- Swift
- Scala
- Ruby
- C
- C++
- C#
- SQL
- XML
- YAML
- TOML
- Markdown
- Bash
- Dockerfile
- CoffeeScript
- NEON
- Apache config
- .env
- .gitmodules
- .http
With a language server out of the box. Every language is highlighted, folded and navigable. Seventeen more install as extensions, each with its own language server: Clojure, Dart, Elixir, Elm, Erlang, fish, Gleam, GraphQL, Haskell, Julia, Lua, Nix, OCaml, Protocol Buffers, R, Terraform and Zig.
In the editor
- Completions with snippets that add the import when you accept them, and the selected item’s docs beside the list.
- Quick documentation on hover: a highlighted signature, the docs, and a declaration whose type names open. Signature help and inlay hints too.
- Go to definition, implementation, type definition (⇧⌘B) and declaration; find usages, and rename across files as one undo.
- Quick fixes behind ⌥↵. Diagnostics inline and in a Problems panel, grouped by source: eslint and ruff as you type, clippy through rust-analyzer.
- ⌘B follows imports before any server is up, through tsconfig
pathsandnode_modules. - Extract a variable, method or constant, inline it back, or open Refactor This (⌃T). Every refactor is checked and previewable, and rolls back if a file changed underneath it.
- Type and call hierarchy, semantic highlighting, and the usages of the symbol under the caret.
- Optimize Imports, and renaming or moving a file updates its references.
Formatting
- A native formatter shaped after IntelliJ’s for JSON, CSS, JavaScript, TypeScript and TSX.
- Format the file, the selection or only changed lines, on demand or on save; a project’s own Prettier when you opt in.
- Import your
.ideacode style once..editorconfigis read too. - Native PHP and Rust formatting; other languages use their server’s formatter, or none.
- Any language server can be swapped for another, configured or turned off.
Web projects
- Kami installs its own Node and TypeScript server, checked against published SHA-256 sums.
- Vue components highlight each block in its own language and complete project components.
- HTML and Vue tags fold, expand on Enter and close when you type
</. - ⌘-click a Less mixin to its definition, through
@imports. - The PHP and Vue language servers install themselves on first use, like the TypeScript one.
- JSX comments and closing tags, and full language features inside HTML
<script>tags.
How it works
Kami doesn’t build an index of your project. It starts the language server each project already uses (rust-analyzer, the TypeScript server, intelephense and the rest) from the nearest Cargo.toml, tsconfig.json or composer.json, each in its own process. A monorepo gets one per package, read with that package’s config.
Until a server is up, ⌘B still follows imports through tsconfig paths and node_modules, and highlighting comes from tree-sitter, so a fresh clone is navigable the moment it opens.
Questions
Which languages have a language server?
Rust, TypeScript, JavaScript, PHP, Vue, Python, Go, Java, Kotlin, Swift, Scala, Ruby, C, C++, C# and more out of the box, and 17 more as extensions, among them Dart, Elixir, Haskell, Lua, Terraform and Zig.
Does Kami index my project?
No. Meaning comes from each project’s language server, structure from tree-sitter, and search reads the files directly.
Can I use a different language server?
Yes. Any server can be swapped for another, configured or turned off.