#language #server #lsp #vscode

lsp-types

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

9 unstable releases (3 breaking)

new 0.57.1 Apr 21, 2019
0.57.0 Apr 15, 2019
0.56.0 Feb 14, 2019
0.55.4 Feb 13, 2019
0.54.0 Jan 11, 2019

#6 in #language

Download history 6/week @ 2019-01-06 307/week @ 2019-01-13 3988/week @ 2019-01-20 5203/week @ 2019-01-27 6119/week @ 2019-02-03 6703/week @ 2019-02-10 5653/week @ 2019-02-17 6759/week @ 2019-02-24 5384/week @ 2019-03-03 6691/week @ 2019-03-10 4960/week @ 2019-03-17 5741/week @ 2019-03-24 6387/week @ 2019-03-31 6788/week @ 2019-04-07 5694/week @ 2019-04-14

25,389 downloads per month

MIT license

149KB
2.5K SLoC

lsp-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

~3MB
~67K SLoC