elide lsp runs a Language Server Protocol
server over stdio, so your editor gets code intelligence with no separate
language-server download or toolchain to manage. Java is supported today,
backed by an in-process Java language server; support for other languages is
planned.
Start the server
elide lsp # speak LSP over standard input/output
The server communicates over stdin/stdout using the LSP wire format, and resolves your project (source roots, classpath, and dependencies) from the working directory it is launched in. Launch it from your project root.
Features
For Java, elide lsp provides:
- Completion and signature help
- Go-to-definition, type definition, declaration, and implementation
- Find references and document highlights
- Hover documentation
- Diagnostics (errors and warnings as you type)
- Rename
- Document and workspace symbols
- Code actions and quick fixes
- Document formatting (powered by google-java-format)
- Inlay hints and semantic tokens
- Folding ranges and selection ranges
- Call hierarchy and type hierarchy
Connect an editor
Point your editor’s LSP client at elide lsp as the server command and declare
Java as the associated language. The exact configuration is editor-specific;
most clients need the command to run (elide lsp) and the language id (java).
[!NOTE]
elide lspspeaks LSP over stdio only. Run it from the project root so the language server resolves your sources and dependencies correctly.
What’s next
- Connect an IDE — Debug protocols (CDP, DAP) and the MCP server for AI agents
- CLI Reference — All Elide commands and global options