⚡ Quick Start in 30 Seconds
code --install-extension Nihilnia.nihilanth-toolbox
- Summon Slash Commands: On a dedicated line in any
.ts, .js, or .json file, type / or press Ctrl+Alt+Space (Cmd+Alt+Space on macOS).
- Instant Dummy Data: Type
/data users 3 --format=json and hit Tab or Enter.
- Type-Driven Mocking: Highlight or define any TypeScript
type or interface and run /data from UserProfile 5.
- Recall Lost Code: Accidentally delete a function or type declaration? Just type the first two letters of its name anywhere in your project to restore it.
📸 Visual Feature Tour
1. Type-Driven Mock Data & Slash Commands
Parse local TypeScript interfaces, types, unions, and tuples directly at your cursor to generate deterministic, structurally matched mock datasets in milliseconds.
2. Automatic Workspace Code Memory
Passively observes declarations and deleted code fragments (>24 characters) across JS/TS/JSX/TSX files. As soon as you type two letters of any past identifier, Nihilanth offers both the standalone identifier name and the complete implementation body.
Select any snippet or JSON payload and press Ctrl+Alt+Space (or right-click) to trigger instant transformations: convert JSON to TypeScript types, switch JSON to JS object literals, deduplicate arrays, extract keys, or convert naming conventions.
4. 100% Offline & Private Architecture
Your code never leaves your workstation. No background telemetry pings, no cloud models, no API quotas, and no subscription paywalls.
🌟 Key Capabilities
🕒 Automatic Workspace Code Memory
Passively captures function, class, type, and interface declarations as well as deleted blocks across your files. Restores deleted implementations right from your cursor suggestions.
|
📌 Cross-Project Snippet Pins
Save reusable code blocks with custom aliases, tags, and dynamic VS Code placeholder syntax (${1:param}). Pinned snippets are available across all workspaces and never expire.
|
🎲 Deterministic Dummy Data
Generate arrays or single instances of common schemas (users, products, emails, IDs, timestamps) with reproducible seed control (--seed=42) and edge-case boundary testing.
|
🧬 TypeScript Type Mocking
Understands your active file's TypeScript AST. Run /data from <Type> [count] to produce conforming mock data with zero manual configuration.
|
🔄 Selection Transformations
Instantly convert between strict JSON and JavaScript object literals, infer TypeScript types from JSON payloads, deduplicate arrays, and switch casing (camel, Pascal, snake, kebab).
|
🐉 Nihilanth Dragon Theme & Status Launcher
Features an embedded vector dragon status bar launcher and an optional bespoke product icon theme for sleek, high-contrast suggestion badges.
|
⌨️ Keyboard Shortcuts & Context Actions
| Shortcut (Win / Linux) |
Shortcut (macOS) |
Context |
Action |
| Ctrl + Alt + Space |
Cmd + Alt + Space |
Editor (no selection) |
Open toolbox completion suggestions at cursor |
| Ctrl + Alt + Space |
Cmd + Alt + Space |
Editor (text selected) |
Open Selection Transformation quick-pick menu |
/ |
/ |
Start of dedicated line |
Trigger slash command completions |
| Esc |
Esc |
Completion widget |
Dismiss suggestions |
You can also right-click anywhere in the editor to access:
- Nihilanth Toolbox: Open at Cursor
- Nihilanth Toolbox: Pin Selection as Snippet
- Nihilanth Toolbox: Transform Selection
- Nihilanth Toolbox: Generate Data from Selection
⚡ Slash Commands Reference
Type / at the beginning of a dedicated line (leading indentation is preserved). Suggestions filter dynamically as you type arguments.
Supported Commands
| Command |
Arguments |
Description |
Example |
/recall |
<query> [--project=current] |
Search stored identifiers, declarations, and deleted code fragments. |
/recall authService |
/snippet |
<alias \| tag> [--project=current] |
Insert a pinned snippet across workspaces. Expands TabStops. |
/snippet fetchUsers |
/data |
<preset> [count] [flags] |
Generate synthetic test data from built-in schemas. |
/data users 5 --format=json |
/data from |
<Type> [count] [flags] |
Parse a local TypeScript type or interface and output conforming mock data. |
/data from Order 3 --seed=101 |
Built-in Presets
| Plural (Generates Array) |
Singular (Generates Single Value / Object) |
users, products |
user, product |
names, emails, ids |
name, email, id |
numbers, dates, booleans, strings |
number, date, boolean, string |
CLI Flags & Edge Cases
--format=json: Emits strict JSON with quoted keys.
--format=js: Emits native JavaScript / TypeScript object literals.
--seed=<number>: Creates deterministic, 100% reproducible pseudo-random output.
--edge=empty: Generates an empty array (tests zero-state UI).
--edge=long: Stretches string fields to extreme lengths (tests UI overflow & wrapping).
--edge=boundary: Uses extreme numeric limits (0, negative values, Number.MAX_SAFE_INTEGER).
Highlight any text and press Ctrl+Alt+Space or choose Transform Selection:
| Transformation |
Description |
| JSON ↔ JS Object |
Seamlessly toggle between strict JSON format and clean JS object literals. |
| JSON → TypeScript Type |
Infers and generates a clean type GeneratedType = { ... } from a JSON sample. |
| Extract Keys / Values / Entries |
Pulls out object keys, values, or [key, value] tuple pairs from selected objects. |
| Deduplicate Array |
Removes duplicates from selected primitive lists or JSON arrays. |
| Case Conversions |
Switch text between camelCase, PascalCase, snake_case, and kebab-case. |
All transformations operate purely in memory on the selected text and are fully reversible with native Undo (Ctrl+Z).
🐉 Dragon Product Icon Theme (Optional)
To display the custom teal dragon glyph beside Nihilanth completion items:
- Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P).
- Run Preferences: Product Icon Theme.
- Select Nihilanth Dragon.
(Standard VS Code icons gracefully fall back to defaults; switching themes retains the dragon launcher in your status bar).
⚙️ Settings & Configuration
Configure Nihilanth in your VS Code settings (settings.json):
| Setting |
Default |
Description |
nihilanth.prefix |
"/" |
The character sequence used to trigger slash commands on dedicated lines. |
nihilanth.captureEnabled |
true |
Automatically record observed declarations and deleted fragments. |
nihilanth.historyLimitMB |
100 |
Storage cap in MB for automatic memory. Oldest items are LRU evicted; pins never expire. |
nihilanth.defaultCount |
5 |
Default number of items generated for array presets. |
nihilanth.maxDocumentKB |
512 |
Upper file size limit (in KB) for automatic AST observation. |
nihilanth.excludedFolders |
["node_modules", ".git", "dist", "out", "build", "coverage"] |
Folders excluded from capture. |
nihilanth.excludedFiles |
[".env", ".env.local"] |
Specific files ignored to safeguard secrets. |
🛡️ Privacy & Storage Architecture
- Local Storage Only: Memory entries are stored in VS Code's local extension
globalStorage as versioned JSON.
- Isolated from Source Control: History is never committed to Git, workspace files, or Settings Sync.
- Concurrency Safe: Locked atomic writes ensure safety across multiple open VS Code windows.
- Secret Safeguards: Files matching
.env, .env.*, or excluded paths are never scanned or indexed.
- Management Controls:
Nihilanth Toolbox: Manage Memory and Snippets — Browse, filter, pin, or delete stored entries.
Nihilanth Toolbox: Pause / Resume Code Capture — Temporarily suspend code observation.
Nihilanth Toolbox: Clear Automatic History — Instantly purge unpinned history while preserving saved snippets.
📦 Distribution & Installation
Via Marketplace
Install directly from the VS Code Marketplace or search Nihilanth Toolbox in the Extensions view (Ctrl+Shift+X).
Via VSIX File
Download nihilanth-toolbox-0.1.5.vsix and install via command line:
code --install-extension nihilanth-toolbox-0.1.5.vsix
Or via the Extensions view: … menu → Install from VSIX….
📜 License
Distributed under the MIT License.
Copyright © 2026 Nihil. All rights reserved.