#language #server #lsp #vscode

languageserver-types

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

48 breaking releases

0.50.0 Aug 25, 2018
0.48.1 Aug 11, 2018
0.48.0 Jul 25, 2018
0.36.0 Mar 31, 2018
0.5.0 Nov 8, 2016

#5 in Web programming

Download history 6119/week @ 2018-06-03 6577/week @ 2018-06-10 5601/week @ 2018-06-17 5931/week @ 2018-06-24 7559/week @ 2018-07-01 6693/week @ 2018-07-08 7732/week @ 2018-07-15 8211/week @ 2018-07-22 6858/week @ 2018-07-29 7774/week @ 2018-08-05 7892/week @ 2018-08-12 7761/week @ 2018-08-19 6999/week @ 2018-08-26

30,569 downloads per month
Used in 8 crates (7 directly)

MIT license

138KB
2.5K SLoC

languageserver-types Build Status Documentation

Types useful for interacting with a language server.

Supports Language Server Protocol (LSP) version 3.13.0.

Links

Protocol reference


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

~6MB
~176K SLoC