• This repository has been archived on 05/Aug/2022
  • Stars
    star
    156
  • Rank 239,589 (Top 5 %)
  • Language
    Rust
  • License
    Apache License 2.0
  • Created about 5 years ago
  • Updated over 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

lsp-server

A language server scaffold exposing a crossbeam-channel API.

This crate has been vendored into the rust-analyzer repo

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.