Preview .mmd / .mermaid files locally, open them in SayDiagram, or jump to the Idea flow for AI generation.
Commands
- SayDiagram: Preview Mermaid — local webview (CDN Mermaid). Also opens automatically when you open a
.mmd/.mermaidfile. - SayDiagram: Open in SayDiagram — creates a one-time handoff and opens the browser (sign in, then editor)
- SayDiagram: Generate with AI — opens Idea flow with your prompt
Settings
saydiagram.appUrl— defaulthttps://saydiagram.com(usehttp://localhost:3000for local)
Develop
cd vscode-extension
npm install
npm run build
Then in VS Code: Extensions: Install from Location… → this folder, or press F5 from an Extension Development Host.
Package a VSIX
cd vscode-extension
npm install
npm run package
Produces saydiagram-0.1.0.vsix. Install via Extensions: Install from VSIX….
From the monorepo root: npm run vscode:package.
Marketplace publish checklist
Code exit for Dev GTM is a packageable VSIX. Live Marketplace listing is a separate ops step:
- Create a Visual Studio Marketplace publisher (id must match
"publisher"inpackage.json, currentlysaydiagram). - Create a Personal Access Token in Azure DevOps with Marketplace → Manage scope.
npm i -g @vscode/vsce(or usenpx @vscode/vsce).cd vscode-extension && npm run packagevsce login saydiagramthenvsce publish(orvsce publish -p <PAT>).- Confirm the listing at
https://marketplace.visualstudio.com/items?itemName=saydiagram.saydiagram.
Do not claim “listed on Marketplace” in product copy until step 6 succeeds.