Crate lsp_server
source ·Expand description
A language server scaffold, exposing a synchronous crossbeam-channel based API. This crate handles protocol handshaking and parsing messages, while you control the message dispatch loop yourself.
Run with RUST_LOG=lsp_server=debug
to see all the messages.
Structs§
- Connection is just a pair of channels of LSP messages.
- Manages the set of pending requests, both incoming and outgoing.