Runa for Visual Studio Code
Runa support for Visual Studio Code: highlighting for .runa programs and runa fences in Markdown cookbooks, live checking with runa-cc of lone programs and of whole cookbooks of many modules, outline, navigation and completion across modules, and debugging of agents' runs with runa-gdb, with the agent's context window and memory at each stop. It is for anyone writing or debugging RollRook cookbooks. Runa was called RookLang before; .rook files and rook and rooklang fences still open as Runa.
Usage
Install Runa from the Visual Studio Marketplace, and rook with Runa's tools (runa-gdb, runa-rt and runa-cc) with
curl -fsSL https://rollrook.com/install.sh | bash
Open a .runa file, or a Markdown cookbook with runa fences, to have it checked as you type; a .runa file under a directory with a cookbook.toml is checked with every module of that cookbook. To start an agent on one of your rooks with a cookbook from roost and debug its run, add a configuration to .vscode/launch.json and press F5; the start task's values are asked for when the configuration gives none:
{ "type": "runa", "request": "launch", "name": "Start ship", "cookbook": "ship", "agent": "ship-1",
"rook": "studio", "cwd": "/home/me/project", "program": "${file}" }
To debug the run of an agent already started, attach to it instead:
{ "type": "runa", "request": "attach", "name": "Debug ship", "agent": "ship", "program": "${file}" }
The language itself is described at rollrook.com/docs.