Expand description
Implementation of the LSP for rust-analyzer.
This crate takes Rust-specific analysis results from ide and translates into LSP types.
It also is the root of all state. world
module defines the bulk of the
state, and main_loop
module defines the rules for modifying it.
The cli
submodule implements some batch-processing analysis, primarily as
a debugging aid.
Modules§
- cli
- Various batch processing tasks, intended primarily for debugging.
- config
- Config used by the language server.
- lsp
- Custom LSP definitions and protocol conversions.
- tracing
Constants§
- MINIMUM_
SUPPORTED_ TOOLCHAIN_ VERSION - Any toolchain less than this version will likely not work with rust-analyzer built from this revision.
Functions§
- from_
json - main_
loop - server_
capabilities - version
- Returns information about cargo’s version.
- ws_
to_ crate_ graph