Expand description
lsp-core — pure, sync logic for the Axon language server.
This crate is intentionally I/O-free: no stdio, no network, no disk. Everything is testable in isolation. Modules below are stubs in 0.a; they fill in across 0.b–0.f.
Modules§
- call_
hierarchy textDocument/prepareCallHierarchy+callHierarchy/{incoming,outgoing}Calls.- code_
actions textDocument/codeActionquick-fix and refactor suggestions.- code_
lens textDocument/codeLensresolver.- completion
textDocument/completionengine.- definition
textDocument/definitionresolver.- diagnostics
- Convert
frontend::Diagnostictolsp_types::Diagnostic. - document
- Open-document store backed by a rope.
- document_
highlight textDocument/documentHighlightresolver.- folding_
range textDocument/foldingRangeresolver.- formatting
- Document formatting glue between
axon-fmtand the LSP wire. - frontend
- Thin wrapper over the
axon-frontendcrate. - hover
textDocument/hoverresolver.- inlay_
hints textDocument/inlayHint— type hints forletbindings.- references
textDocument/referencesresolver — file-local pass.- rename
textDocument/rename+prepareRenamevalidation.- selection_
range textDocument/selectionRangeresolver.- semantic_
tokens textDocument/semanticTokens/full— structural highlighting.- signature_
help textDocument/signatureHelpresolver.- symbols
- Top-level declaration introspection.
- text
- Shared text/rope utilities used across the diagnostic pipeline, hover, definition, and symbols modules.
- workspace
- Cross-file declaration index.
Functions§
- version
- Crate version string, exposed for diagnostics and
axon-lsp --version.