Crate lsp_server[][src]

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.


Connection is just a pair of channels of LSP messages.

Manages the set of pending requests, both incomming and outgoing.