#language #server #lsp #vscode

lsp-types

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

7 releases

0.56.0 Feb 14, 2019
0.55.4 Feb 13, 2019
0.55.1 Jan 24, 2019
0.54.0 Jan 11, 2019

#1 in Emulators

Download history 209/week @ 2019-01-11 2324/week @ 2019-01-18 5598/week @ 2019-01-25 5867/week @ 2019-02-01 6589/week @ 2019-02-08

6,879 downloads per month

MIT license

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