Documentation
¶
Overview ¶
Package lsp implements a tiny Language Server Protocol server for MX Script. It speaks JSON-RPC 2.0 over stdio and exposes:
- textDocument/didOpen, didChange, didClose, didSave — track buffers
- textDocument/publishDiagnostics — parse errors as squiggles
- textDocument/formatting — invoke mx fmt
- textDocument/hover — minimal "did you mean ___" for builtins
Usage from VS Code (or any LSP client):
{
"command": "mx",
"args": ["lsp"],
"filetypes": ["mxscript"]
}
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.