Language support for the Writ scripting language.
Alpha — Writ is under active development. Expect breaking changes.
- Syntax highlighting — full TextMate grammar coverage for all language constructs
- Language server (LSP) — diagnostics, completions, hover documentation, and go-to-definition via
writ-lsp - Debugging — breakpoints, step through, and variable inspection via the Debug Adapter Protocol
- Hot reload — saving a
.writfile pushes updated bytecode to a running VM
Search for Writ in the VS Code Marketplace, or install the .vsix directly:
code --install-extension writ-lang-0.1.0.vsixThe .vsix file is available on the GitHub releases page.
Add a launch configuration to .vscode/launch.json:
{
"type": "writ",
"request": "launch",
"name": "Debug Writ Script",
"program": "${file}",
"host": "127.0.0.1",
"port": 7778
}| Setting | Default | Description |
|---|---|---|
writ.lspPath |
"writ-lsp" |
Path to the language server binary. Leave as default to use the bundled binary. |
writ.hotReload.enabled |
true |
Enable hot reload on save. |
writ.hotReload.mechanism |
"socket" |
How reload requests are sent: socket, pipe, or file. |
writ.hotReload.address |
"127.0.0.1:7777" |
Address for socket-based hot reload. |
writ-lspon your$PATH(or configurewrit.lspPath)- For hot reload: a host application listening for reload requests (see the Embedding guide)