Froth for VS Code
Live development for Froth hardware from inside VS Code.
What It Does
- Connects to a Froth device through the Froth daemon
- Sends the current line or selection with
Cmd+Enter / Ctrl+Enter
- Sends the full file with reset + eval using
Cmd+Shift+Enter / Ctrl+Shift+Enter
- Shows console output, device info, and interrupt controls in the editor
Requirements
- The
froth CLI must be installed and available on PATH, or configured via froth.cliPath
- For device use, connect a supported Froth board over USB serial
Getting Started
- Install the
froth CLI.
- Open a
.froth file in VS Code.
- Run
Froth: Connect Device.
- Press
Cmd+Enter / Ctrl+Enter to evaluate the current line or selection.
Commands
Froth: Connect Device
Froth: Send Selection / Line
Froth: Send File (Reset + Eval)
Froth: Interrupt
Froth: Reset to Baseline
Froth: Save Snapshot
Froth: Wipe Snapshots
Froth: Run Doctor
Settings
froth.cliPath: path to the Froth CLI binary. Leave empty to use froth from PATH.
froth.localRuntimePath: path to the local POSIX Froth runtime used by Try Local.
Notes
Send File uses the CLI's project-aware source resolution before sending code to the daemon.
Try Local remains a developer-oriented path; hardware is the primary workflow.
| |