LSP
The `hanzo lsp` commands.
Also for this capability: API · CLI · SDKs
Live semantic code intelligence — definitions, references, types, hover, outline and diagnostics — over a repository AND its resolved dependencies, with no toolchain on the caller's machine.
| Command | What it does |
|---|---|
hanzo lsp complete | Offers the candidates a language server has at a position, typed and resolved through the repository's dependencies… |
hanzo lsp diagnostics | Reports every problem the language server finds in one file — compile errors, type errors and lints, each with its span… |
hanzo lsp hover | Renders the type and documentation of the symbol at a position, as the language server itself renders it. |
hanzo lsp locate | Finds where a symbol lives: its definition, its references, its type or its implementations, chosen by relation… |
hanzo lsp symbols | Outlines one file: every declaration in it, with its kind and its span. |
How is this guide?