je_web_runner.action_lsp

Language Server Protocol implementation for WebRunner action JSON files.

exception je_web_runner.action_lsp.ActionLspError

Bases: WebRunnerException

Raised when a request can’t be parsed or handled.

class je_web_runner.action_lsp.ActionLspServer(documents: 'Dict[str, _Document]'=<factory>, initialized: 'bool' = False)

Bases: object

command_names() List[str]
documents: Dict[str, _Document]
handle(message: Dict[str, Any]) Dict[str, Any] | None
initialized: bool = False
je_web_runner.action_lsp.serve_stdio(stdin: TextIO | None = None, stdout: TextIO | None = None, server: ActionLspServer | None = None) None

Run the LSP loop until stdin EOF or an exit notification.

Modules

server

Action JSON LSP server:基於 LSP 3.17 protocol,提供 WR_* 補全與 lint 診斷。 Minimal LSP server speaking JSON-RPC 2.0 over stdio with the standard Content-Length headers.