Documentation
¶
Overview ¶
Package lsp implements a minimal Language Server Protocol server for sqldefkit, providing exactly two features: diagnostics (from the check engine) and go-to-definition. It hand-rolls JSON-RPC 2.0 framing over stdio (Content-Length headers) rather than depending on a third-party LSP library, since only a handful of message types are needed.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is a running LSP server instance bound to a stdio-like transport.
Click to show internal directories.
Click to hide internal directories.