Editor and autocomplete
What the workbook editor suggests where, and its keyboard shortcuts.
The Workbook tab edits the YAML directly. The editor scrolls on its own beside the last run’s results, and the commit message and Commit stay at the bottom of the window. Parameters appear as controls in the Graph view and on the dashboard. The editor highlights YAML, folds blocks, marks syntax errors where they are, and completes the workbook language as you type.
What it suggests
| Where the cursor is | Suggestions |
|---|---|
| At the top level | title, params, nodes |
| Under a parameter | type, default, label, min, max, step, options |
| Under a node | every step, with a ready-to-fill template |
Inside a step’s mapping, { … } or block | the step’s options, with their meaning |
After from:, join:, nodes:, with:, inputs: | the other nodes |
After layer:, type:, level:, area:, to:, how:, method: | the allowed values |
After filter:, in a formula or aggregate | columns, parameters and functions |
In select, rename, drop, sort, on, by, x, y, color, … | the columns of the node’s input |
Columns come from the last Run: run once, and the editor knows the columns each node reads and makes.
Code nodes
Opened from the Graph view, a python or typescript node’s code is
edited in its own language, with completion of:
| Where | Suggestions |
|---|---|
| A name | the node’s inputs; in Python also out, pd and np |
input. | Python: the input’s columns and DataFrame methods; TypeScript: array methods |
input[" | the input’s columns |
pd., np. | common pandas and NumPy functions |
row. (TypeScript) | the inputs’ columns |
Keywords, built-ins and the names the code itself defines are suggested too.
Keys
| Keys | Action |
|---|---|
| Ctrl+Space | Show suggestions |
| Enter / Tab | Accept a suggestion; Tab moves to the template’s next field |
| Esc | Close suggestions |
| Tab / Shift+Tab | Indent, outdent |
| Ctrl+Z / Ctrl+Shift+Z | Undo, redo |
Indentation is two spaces.