tinygo-zed configures Zed's native Go language server and project tasks for a
TinyGo target. TinyGo must be available on PATH.
go install github.com/oxplot/tinygo-zed@latestRun from the project directory:
tinygo-zed initChoose a target when prompted. For non-interactive use:
tinygo-zed --no-input init --target picoOpen the directory in Zed, click Restricted Mode in the title bar, and trust the worktree. Zed ignores project settings until the worktree is trusted.
The command creates .zed/tinygo.json, .zed/settings.json, and
.zed/tasks.json. It also creates a minimal go.mod and main.go when they do
not exist.
tinygo-zed target [TARGET] Change the target; prompts when omitted
tinygo-zed port [PORT|auto] Change or clear the flash port
tinygo-zed sync Refresh settings after upgrading TinyGo
The generated Zed tasks provide TinyGo build, test, size, allocation, and flash commands when supported by the selected target.