Expand description
Language server protocol types for Kailua.
This crate closely mirrors the version 3.0 of the Language Server Protocol,
and provides both serde::Serialize
and serde::Deserialize
implementations for most types,
with the following deviations:
-
Enums are mapped to Rust modules.
-
Anonymous nested interfaces are given unique names from its field name. Since this results in many ambiguous types for client capabilities, client capabilities are put to a separate module
client_caps
. -
Some types like
number | string
are not yet properly implemented and fixed to a most probable type. -
ServerCapabilities.textDocumentSync
should be aTextDocumentSyncOptions
in 3.0, but this causes a bug invscode-languageclient<=3.2.0
, so it is reverted to a backward-compatibleTextDocumentSyncKind
.
Modules§
Structs§
- Apply
Workspace Edit Params - Apply
Workspace Edit Response - Cancel
Params - Client
Capabilities - Code
Action Context - Code
Action Params - Code
Lens - Code
Lens Options - Code
Lens Params - Code
Lens Registration Options - Command
- Completion
Item - Completion
List - Completion
Options - Completion
Registration Options - Diagnostic
- DidChange
Configuration Params - DidChange
Text Document Params - DidChange
Watched Files Params - DidClose
Text Document Params - DidOpen
Text Document Params - DidSave
Text Document Params - Document
Filter - Document
Formatting Params - Document
Highlight - Document
Link - Document
Link Options - Document
Link Params - Document
Link Registration Options - Document
OnType Formatting Options - Document
OnType Formatting Params - Document
Range Formatting Params - Document
Symbol Params - Execute
Command Options - Execute
Command Params - File
Event - Hover
- Initialize
Error - Initialize
Params - Initialize
Result - Location
- LogMessage
Params - Marked
String - Message
Action Item - Method
Parse Error - Notification
Message - Parameter
Information - Position
- Publish
Diagnostics Params - Range
- Reference
Context - Reference
Params - Registration
- Registration
Params - Rename
Params - Request
Message - Response
Error - Response
Message - Save
Options - Server
Capabilities - Show
Message Params - Show
Message Request Params - Signature
Help - Signature
Help Options - Signature
Help Registration Options - Signature
Information - Symbol
Information - Text
Document Change Registration Options - Text
Document Client Capabilities - Text
Document Content Change Event - Text
Document Edit - Text
Document Identifier - Text
Document Item - Text
Document Position Params - Text
Document Registration Options - Text
Document Save Registration Options - Text
Document Sync Options - Text
Edit - Unregistration
- Unregistration
Params - Version
- Versioned
Text Document Identifier - Will
Save Text Document Params - Workspace
Client Capabilites - Workspace
Edit - Workspace
Symbol Params
Enums§
- Completion
Item Kind - Diagnostic
Severity - Document
Highlight Kind - File
Change Type - Id
- Message
- Message
Error - Message
Type - Method
- Notification
- Request
- Symbol
Kind - Text
Document Save Reason - Text
Document Sync Kind - Trace