Advanced
Editor and tooling
Set up the official VS Code extension, language server and diagnostics.
VS Code extension
The official extension recognizes .orvi files, supplies the file icon, syntax and semantic highlighting, diagnostics, completion, hover help, symbols, definitions, references, rename and formatting.
- Install the release VSIX from the download page.
- Keep orvi-lsp next to the CLI or on PATH.
- Set orviscript.server.path only for a custom language server location.
Contextual diagnostics
Foreign syntax such as JavaScript function declarations can produce an OrviScript diagnostic and an explicit Quick Fix. Source is never silently rewritten during run, check or fmt.
orviscript diagnostics hash
orviscript diagnostics export diagnostic-rules.compiled.json