DGA for VS Code / Cursor
Editor support for the DGA design system: component and token completions, hover docs, snippets, a component tree, and one-click Agent Skills install.
Extension id: nemreen.dga
Install
Cursor (Open VSX)
Search DGA in Extensions, or:
cursor --install-extension nemreen.dga
VS Code Marketplace
Search DGA by publisher nemreen, or:
code --install-extension nemreen.dga
Local VSIX
npm run package:vscode # from monorepo root
# then: Extensions → Install from VSIX… → projects/dga-vscode/dga-0.2.0.vsix
Features
- HTML completions for
dga-* selectors and inputs
- Directive completions for
dgaButton, dgaLink, dgaCopy, …
- CSS/SCSS completions for
--dga-* custom properties
- Hover docs with prop tables and links to https://nemreen.info/dga/
- Snippets —
dga-snippet-button, field, modal, toast, card
- Sidebar — DGA → Components (open docs / insert snippet)
- Status bar — quick link to docs
- Commands
DGA: Install Agent Skills / DGA: Update Agent Skills
DGA: Open Docs / DGA: Open Component Docs
DGA: Insert Component Snippet
DGA: Refresh Catalog
Settings
| Setting |
Default |
dga.catalogUrl |
https://nemreen.info/dga/ai/components.json |
dga.showStatusBar |
true |
Develop / publish (maintainers)
npm run build:vscode
npm run package:vscode
# Open VSX (Cursor) — requires OVSX_PAT
cd projects/dga-vscode && npx ovsx publish -p "$OVSX_PAT"
# VS Marketplace — requires VSCE_PAT
cd projects/dga-vscode && npx vsce publish -p "$VSCE_PAT"
Catalogs under data/ are generated by npm run sync:vscode (also part of docs:ai).