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 rather than guessed from text. |
hanzo lsp diagnostics | Reports every problem the language server finds in one file — compile errors, type errors and lints, each with its span and its severity (1 error, 2 warning, 3 information, 4 hint). |
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 (definition, reference, type, implementation — empty means definition). |
hanzo lsp symbols | Outlines one file: every declaration in it, with its kind and its span. |
Was this page useful?