Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rust-analyzer/lsp-server
https://github.com/rust-analyzer/lsp-server
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/rust-analyzer/lsp-server
- Owner: rust-analyzer
- License: apache-2.0
- Archived: true
- Created: 2019-08-30T14:12:43.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-08-04T19:14:15.000Z (over 2 years ago)
- Last Synced: 2024-10-29T12:28:58.233Z (15 days ago)
- Language: Rust
- Size: 66.4 KB
- Stars: 158
- Watchers: 10
- Forks: 19
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
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.