Editor extensions
Both extensions share the same formatter rules as the monkey CLI, so what you
see in the editor matches monkey format.
VS Code
packages/extensions/vscode
provides:
- Syntax highlighting and language config for
.mc,.mb,.mcgen, and.jungle. - Document formatting via Format Document / Monkey C: Format Document.
- Lint diagnostics — the extension runs
monkey lint --stdinon.mc/.mb/.mcgen/.junglebuffers (including unsaved changes) and shows parse errors and lint findings inline. Controlled bymonkeyC.cliPathandmonkeyC.lintEnabled; requires themonkeyCLI onPATH. - A dark color theme and file icon theme.
- Breakpoints contribution for Monkey C.
- Monkey C: Runtime Preview (Simulator) — builds the nearest Connect IQ package and launches it in the simulator.
Install the .vsix from the
latest release, or
see Install.
Settings
| Setting | Purpose |
|---|---|
monkeyC.sdkPath |
Path to the Connect IQ SDK |
monkeyC.developerKeyPath |
Path to the developer key |
monkeyC.previewDevice |
Device id for build/run (default fr55) |
monkeyC.cliPath |
Path to the monkey CLI used for lint (default monkey) |
monkeyC.lintEnabled |
Enable/disable inline lint diagnostics (default true) |
Zed
packages/extensions/zed
provides the same surface via Zed's Tree-sitter and task systems:
- Monkey C/Jungle highlighting, brackets, indentation, folds, outline, and text objects.
- External formatter (
monkey-c-format) for both languages — enable it under Settings → Languages → Monkey C/Jungle → Formatter. - Dark theme and file icon theme.
- Monkey C: Runtime Preview and Monkey C: Build PRG tasks.
- Monkey C: Lint File and Monkey C: Check Project tasks — these call
the
monkeyCLI, which must be onPATH.
Install as a dev extension — see Install.
./scripts/install.sh symlinks monkey-c-format and monkey-c-preview into
~/.local/bin so the tasks can find them on PATH.
Formatter settings
| Setting | Purpose |
|---|---|
monkey-c-format on PATH |
Formatter binary used by Zed |
MONKEYC_DEVICE |
Device id (default fr55) |
MONKEYC_SDK_PATH / flags |
SDK and developer-key discovery |
See the Zed extension README for the full list.