Registry / other / lsp-types

lsp-types

JSON →
library0.97.0rscratesunverified

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

# Cargo.toml [dependencies] lsp-types = "0.97.0"
INSTALL
IMPORT
SIG · LSP-TYPES
L
lsp-types
otherrustv0.97.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

InitializeParams
use lsp_types::InitializeParams;

Creates default initialization parameters for an LSP server.

use lsp_types::InitializeParams; fn main() { let params = InitializeParams::default(); println!("{:?}", params); }
Debug
Known issues
gotchaThe crate version must match the LSP specification version used by the server/client.
fix
Check the LSP spec version and use the corresponding `lsp-types` version.
affects: >=0.90.0
Upgrade
Version history
0.97.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
lsp-types — cargo add lsp-types · libregistry