Skip to content
This repository has been archived by the owner on Aug 5, 2022. It is now read-only.

rust-analyzer/lsp-server

Repository files navigation

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.

About

No description, website, or topics provided.

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Packages

No packages published