MAGC VS Code Extension
MAGC adds CodeLens and commands to validate, diff, and apply MAGC capsules in your workspace.
Features
- CodeLens above MAGC bundle JSON files (validate, diff, apply)
- Commands: Validate/Apply/Diff current or selected capsule
- Run actions over all capsules
- Quick actions via status bar (optional)
Configuration
magc.capsuleGlobs (array): Globs where MAGC CodeLens should appear. Workspace‑relative.
magc.bundleGlobs (array): Additional globs treated as MAGC bundles.
magc.detectByContent (boolean): Detect bundles by JSON content shape.
magc.cliPath (string): Path to MAGC CLI (relative to workspace).
magc.showStatusBar (boolean): Show status bar quick actions.
Commands
MAGC: Validate Capsule
MAGC: Diff Capsule
MAGC: Apply Capsule (Write Changes)
MAGC: Run Any Capsule
MAGC: Run All Capsules
MAGC: Refresh CodeLens
Development
- Build:
npm run build (bundles to dist/ )
- Launch Extension Host to test.
| |