Stim for VS CodeSyntax highlighting and interactive circuit visualization for Stim Diagrams are produced by Stim's C++ core compiled to WebAssembly, so the output matches Stim exactly and runs entirely inside the editor with no Python or native dependencies. Features
InstallInstall Stim by QuEra Computing Inc. from the VS Code Marketplace, or run:
For manual installation, download the VSIX from GitHub Releases and use Extensions: Install from VSIX in VS Code or Cursor. Quick StartOpen a Toggle between different visualization types in the visualization panel.
Install from source
Then press Building the WebAssembly engineThe compiled engine ( Requirements: the Emscripten SDK on your
The build compiles Stim plus a small Embind shim ( Development
ReleaseVSIX files are built by GitHub Actions and must not be committed. To publish a release, push a version tag:
The release workflow packages the extension and attaches the generated VSIX to the GitHub release. To publish to the VS Code Marketplace, upload that VSIX through the QuEra Computing publisher portal. GitHub releases do not automatically publish to the Marketplace. The package version must match the tag and use a numeric NotesThe interactive 3D viewer loads three.js from a CDN at runtime, so it needs network access. The 2D SVG views work fully offline. LicenseThe extension's own code is MIT-licensed; see LICENSE. The bundled Stim engine is licensed under Apache License 2.0; see LICENSE-Stim.txt. Third-party components retain their respective licenses. See NOTICE and the included |

