Esc

Language server

jacket lsp runs jailsp, which editors start for diagnostics, completion and navigation.

jailsp [--stdio] [--untrusted]

The Jai language server. An editor starts it and exchanges Language Server Protocol messages with it over stdin and stdout; it takes no files on the command line.

Options

OptionMeaning
--stdiotalk over stdin and stdout (the default and only transport)
--untrustedstart without workspace trust: run no compile-time code (#run, build metaprograms, computed #insert) from the workspace until the client sends jai/setTrusted with {"trusted": true}
--help, -hshow this text
--version, -Vshow the version

To check a file from a terminal, use jaic file.jai -check; for lints, jailint file.jai.