Skip to content

zoocityboy/nocterm_vscode

Repository files navigation

Nocterm

Type-safe VS Code snippets for building Nocterm UI components in Dart.

CI Coverage Version TypeScript License

FeaturesInstallUsageSnippet ReferenceDevelopment

ReleasesVS Code Marketplace

Features

  • 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

From source (this repository)

  1. Install dependencies:

    npm install
  2. Compile the extension:

    npm run compile
  3. Press F5 in VS Code to launch an Extension Development Host.

Tip

The extension depends on the Dart extension: Dart-Code.dart-code.

Usage

  1. Open a .dart file.
  2. Type one of the snippet prefixes (for example nstless).
  3. Select the snippet from IntelliSense.
  4. Fill in placeholders and tab through editable fields.

Snippet Reference

Prefix Description
nstless Insert a StatelessComponent template
nstful Insert a StatefulComponent template
nstanim Insert a StatefulComponent with AnimationController

Development

Scripts

npm run compile   # Build TypeScript
npm run watch     # Watch mode
npm run lint      # Lint source
npm test          # Run extension tests

Project Structure

  • snippets/nocterm.code-snippets: Snippet definitions and bodies.
  • src/extension.ts: Extension entrypoint.
  • src/test/: Extension test files.

Notes

Note

This project is snippet-driven: there are no commands to run from the Command Palette, and no custom settings required.

About

Nocterm is a Visual Studio Code extension that provides snippets for Nocterm

Topics

Resources

License

Stars

Watchers

Forks

Contributors