Hover
Hover any binding to see its inferred type and doc — `name: type` rendered as Markdown.
Lx ships a Language Server (LSP) and a VSCode extension, so your editor understands the code the same way the compiler does. Inferred types and docs on hover, context-aware autocomplete, go-to-definition, cross-file rename, live diagnostics and inlay type hints — plus an AI assistant grounded in your own project.
Hover any binding to see its inferred type and doc — `name: type` rendered as Markdown.
Context-aware completion for functions, struct fields, module functions and local bindings.
Jump to a symbol's definition and find every reference across the workspace.
Safe, project-wide renames with prepareRename validation.
Type errors and warnings appear as you type, before you run anything.
Inferred type annotations shown inline (:: type), with an adjustable hint level in the editor.
Document and workspace symbol search, signature help, code lenses, and `lx format` on save.
A built-in chat that knows your codebase — explain an error or a selection, grounded in your modules.
# VSCode / VSCodium
Install the official Lx extension (lx/vscode) from the Marketplace or as a .vsix.
It adds hover, completion, diagnostics, type-hint level controls and an AI panel.
# Any LSP-capable editor
The server speaks standard LSP, so it also works with Neovim (nvim-lspconfig),
Emacs (lsp-mode / eglot), Helix and Zed.
# Run the server directly
$ lx lsp # language server over stdio