Thanks to visit codestin.com
Credit goes to docs.rs

Skip to main content

Crate lsp_core

Crate lsp_core 

Source
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/codeAction quick-fix and refactor suggestions.
code_lens
textDocument/codeLens resolver.
completion
textDocument/completion engine.
definition
textDocument/definition resolver.
diagnostics
Convert frontend::Diagnostic to lsp_types::Diagnostic.
document
Open-document store backed by a rope.
document_highlight
textDocument/documentHighlight resolver.
folding_range
textDocument/foldingRange resolver.
formatting
Document formatting glue between axon-fmt and the LSP wire.
frontend
Thin wrapper over the axon-frontend crate.
hover
textDocument/hover resolver.
inlay_hints
textDocument/inlayHint — type hints for let bindings.
references
textDocument/references resolver — file-local pass.
rename
textDocument/rename + prepareRename validation.
selection_range
textDocument/selectionRange resolver.
semantic_tokens
textDocument/semanticTokens/full — structural highlighting.
signature_help
textDocument/signatureHelp resolver.
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.