#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

#2 in Template engine

Download history 5490/week @ 2018-09-18 6818/week @ 2018-09-25 7259/week @ 2018-10-02 6655/week @ 2018-10-09 7343/week @ 2018-10-16 6408/week @ 2018-10-23 7720/week @ 2018-10-30 6780/week @ 2018-11-06 6833/week @ 2018-11-13 7118/week @ 2018-11-20 7147/week @ 2018-11-27 7338/week @ 2018-12-04 7113/week @ 2018-12-11

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

MIT license

135KB
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
~175K SLoC