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
| Option | Meaning |
|---|---|
--stdio | talk over stdin and stdout (the default and only transport) |
--untrusted | start 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, -h | show this text |
--version, -V | show the version |
To check a file from a terminal, use jaic file.jai -check; for lints, jailint file.jai.