Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Graft RecipesNew to Visual Studio Code? Get it now.
Graft Recipes

Graft Recipes

Brian Corbin

| (0) | Free
Syntax highlighting, snippets, schema, and helpers for .graft image recipes.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Graft

Graft for VS Code

Editor support for .graft image recipes (and Graftfile) — the declarative recipes behind Graft, which builds golden Tart VM images for macOS & Linux dev environments and ephemeral CI runners.

  • Syntax highlighting — graft keywords colored, and the bash inside run: | / script: | blocks highlighted as shell (the pretty part).
  • Completion + hover — type a field and get the declarative keys (node, ruby, brew, xcode-first-launch, …) with docs on what each compiles to.
  • Snippets — graft, graft-rn, graft-ios scaffold a recipe.
  • Commands — Graft: Render compiled provisioning script (an eye icon in the editor title bar) and Graft: Build image from this recipe. Both shell out to the graft CLI on your PATH.
  • File icon — .graft files get the Graft mark in icon themes that support language icons (e.g. Seti, the default).
  • JSON schema — bundled at schemas/graft.schema.json.

Install

From the Extensions view (⇧⌘X), search Graft and click Install — or:

code --install-extension briancorbin.dotgraft

Build from source: open editors/vscode in VS Code and press F5 for an Extension Development Host, or package a .vsix yourself:

cd editors/vscode
npx @vscode/vsce package
code --install-extension dotgraft-0.1.0.vsix

Notes

  • The render/build commands run graft image render|build -f <file>. Make sure graft (or a symlink to your dev build) is on the PATH the integrated terminal uses.
  • No build step — the extension is plain JS + declarative contributions.
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft