Type-safe VS Code snippets for building Nocterm UI components in Dart.
Features • Install • Usage • Snippet Reference • Development
Releases • VS Code Marketplace
- Focused snippets for common Nocterm component patterns.
- Fast
n-prefixed completions in Dart files. - Minimal extension runtime (no commands, no settings).
Important
This extension currently contributes snippets for dart files only.
Note
The coverage badge is marked as pending until coverage reporting is wired into CI.
-
Install dependencies:
npm install
-
Compile the extension:
npm run compile
-
Press
F5in VS Code to launch an Extension Development Host.
Tip
The extension depends on the Dart extension: Dart-Code.dart-code.
- Open a
.dartfile. - Type one of the snippet prefixes (for example
nstless). - Select the snippet from IntelliSense.
- Fill in placeholders and tab through editable fields.
| Prefix | Description |
|---|---|
nstless |
Insert a StatelessComponent template |
nstful |
Insert a StatefulComponent template |
nstanim |
Insert a StatefulComponent with AnimationController |
npm run compile # Build TypeScript
npm run watch # Watch mode
npm run lint # Lint source
npm test # Run extension testssnippets/nocterm.code-snippets: Snippet definitions and bodies.src/extension.ts: Extension entrypoint.src/test/: Extension test files.
Note
This project is snippet-driven: there are no commands to run from the Command Palette, and no custom settings required.