#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

#2 in Template engine

Download history 6371/week @ 2018-10-06 7628/week @ 2018-10-13 6969/week @ 2018-10-20 6991/week @ 2018-10-27 6854/week @ 2018-11-03 7014/week @ 2018-11-10 7130/week @ 2018-11-17 6598/week @ 2018-11-24 7907/week @ 2018-12-01 7821/week @ 2018-12-08 7783/week @ 2018-12-15 6128/week @ 2018-12-22 6717/week @ 2018-12-29 5901/week @ 2019-01-05 6300/week @ 2019-01-12

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
~68K SLoC