#language #server #lsp #vscode

languageserver-types

Types for interaction with a language server, using VSCode’s Language Server Protocol

51 breaking releases

0.54.0 Jan 11, 2019
0.53.1 Dec 23, 2018
0.51.1 Nov 7, 2018
0.48.0 Jul 25, 2018
0.5.0 Nov 8, 2016

#1 in Science

Download history 6755/week @ 2018-12-20 6166/week @ 2018-12-27 6832/week @ 2019-01-03 6086/week @ 2019-01-10 4886/week @ 2019-01-17 842/week @ 2019-01-24 1457/week @ 2019-01-31 2592/week @ 2019-02-07 1205/week @ 2019-02-14 1242/week @ 2019-02-21 1558/week @ 2019-02-28 948/week @ 2019-03-07 807/week @ 2019-03-14 1173/week @ 2019-03-21 857/week @ 2019-03-28

29,684 downloads per month
Used in 26 crates (16 directly)

MIT license

142KB
2.5K SLoC

This crate has been renamed to lsp-types


lib.rs:

Language Server Protocol types for Rust.

Based on: https://microsoft.github.io/language-server-protocol/specification

This library uses the URL crate for parsing URIs. Note that there is some confusion on the meaning of URLs vs URIs: http://stackoverflow.com/a/28865728/393898. According to that information, on the classical sense of "URLs", "URLs" are a subset of URIs, But on the modern/new meaning of URLs, they are the same as URIs. The important take-away aspect is that the URL crate should be able to parse any URI, such as urn:isbn:0451450523.

Dependencies

~3MB
~67K SLoC