bkchr / lsp-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

lsp-server

A language server scaffold exposing a crossbeam-channel API.

Description

This crate is a language server scaffold, exposing a synchronous crossbeam-channel based API. It handles protocol handshaking and parsing messages, while you control the message dispatch loop yourself.

See examples/goto_def.rs for a minimal example LSP server that can only respond to the gotoDefinition request. To use the example, execute it and then send an initialize request.

About


Languages

Language:Rust 97.7%Language:HTML 2.3%