[][src]Crate lark_language_server

Structs

JsonRPCNotification

A wrapper for proactive notifications to the IDE (eg. diagnostics). These must follow the JSON 2.0 RPC spec

JsonRPCResponse

A wrapper for responses back to the IDE from the LSP service. These must follow the JSON 2.0 RPC spec

LspResponder

The LSP service is split into two parts:

Enums

LSPCommand

The command given by the IDE to the LSP server. These represent the actions of the user in the IDE, as well as actions the IDE might perform as a result of user actions (like cancelling a task)

Functions

lsp_serve

The workhorse function for handling incoming requests from the IDE. This will take instructions from stdin sent by the IDE and then send them to the appropriate system.