Crate sync_ls

Source
Expand description

A synchronous language server implementation.

Modules§

  • A synchronous debug adaptor server implementation.
  • A synchronous LSP server implementation.
  • The request-response queue for the LSP server.
  • Transport layer for LSP messages.

Structs§

  • Connection is just a pair of channels of LSP messages.
  • The builder pattern for the language server.
  • The language server driver.
  • The host for the language server, or known as the LSP client.
  • The root of the language server host. Will close connection when dropped.
  • A protocol error happened during communication through LSP or DAP.
  • A request ID in the Language Server Protocol.
  • The common error type for language servers. A response from the server.
  • The sender of the language server.
  • The sender of the language server.
  • A Lsp client with typed service S.

Enums§

  • The error codes defined by the JSON RPC.
  • Failure of decoding happened during communication through LSP or DAP.
  • The common message type for the language server.
  • The kind of the message.
  • An enum to represent the state of the language server.

Traits§

  • Gets the kind of the message.
  • A trait that initializes the language server.
  • A trait that defines the hook for the language server.

Functions§

Type Aliases§