Skip to content

xpd lsp

Start the language server, which an editor runs to show the issues as you type Use xpd lsp as the language server of an editor, so the editor shows the issues of xpd check as you type, with rule help on hover and fixes as code actions. It speaks the Language Server Protocol on stdin and stdout, and lints the text the editor holds, saved or not. It reads one setting, unsafeFixes, from the editor. The editor guide shows the setup.

Terminal window
xpd lsp

It takes no arguments.

Exit code Meaning
0 The editor sent shutdown and then exit
1 The editor went away without them, or never sent initialize