Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Draw My Architecture DSL PreviewNew to Visual Studio Code? Get it now.
Draw My Architecture DSL Preview

Draw My Architecture DSL Preview

Pete Gallagher

|
2 installs
| (0) | Free
Design, preview, refine, and export Draw My Architecture DSL diagrams directly in VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Draw My Architecture VS Code extension

Design and refine Azure, AWS and GCP architecture diagrams from code (DSL) directly in VS Code, with local preview, diagnostics, export, and Copilot chat-assisted editing.

Getting started (60 seconds)

  1. Open a .dsl file.
  2. Click the top-right preview button (or run Draw My Architecture: Open DSL Preview).

Preview button callout

  1. Use @draw-my-architecture /refine ... in Copilot Chat to auto-apply DSL updates.

Hero preview and chat workflow

  1. Export diagrams with Draw My Architecture: Export Diagram.

Commands

Command What it does
Draw My Architecture: Open DSL Preview Opens side-by-side rendered preview for the active DSL file.
Draw My Architecture: Refresh DSL Preview Forces a manual preview refresh.
Draw My Architecture: Export Diagram Exports current DSL as SVG, PNG, or PDF.

Copilot participant (@draw-my-architecture)

The extension contributes:

  • /create — generate new DSL from requirements
  • /refine — refine current DSL and auto-apply to active .dsl file
  • Apply to current DSL file button — manual apply/re-apply from chat response

Example prompts:

  • @draw-my-architecture /create Azure 3-tier web app with VNet, App Service, SQL, and Key Vault
  • @draw-my-architecture /refine Move this design into resource groups and label all data flows

Refine auto-apply flow

Agent mode vs participant mode

  • Participant mode (@draw-my-architecture): uses extension workflow and apply actions.
  • Agent mode (plain Copilot Agent): edits files directly and may bypass participant UX.

Support and links

  • Pete Code GitHub: https://github.com/pjgpetecodes
  • Pete Codes Website: https://petecodes.co.uk
  • X: https://x.com/pete_codes
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft