Noniva Project Switcher
Warm-dark matte bento dashboard for instant VS Code workspace and folder switching.
Screenshots
Dark Theme (Tactile Espresso Workbench)

Light Theme

Overview & Features
- Activity Bar Launcher & Hybrid Bento Dashboard: Click the Noniva Project Switcher Activity Bar icon to view quick-jump pinned projects or auto-open the full editor-tab dashboard (
defaults.autoOpenPanelFromSidebar: true).
- Customizable JSON Form (
switcher.config.json): Configure the header banner, default open mode, auto-sort mode, visible card fields, badge definitions, and per-project overrides with JSON Schema autocomplete and live reload on save.
- Two-Tier Ordering:
- Pinned & Manual Order (top): Pinned project cards keep your exact manual drag-and-drop sequence.
- Recent & Frequent (bottom): Unpinned rows auto-sort by
frequency_recency (default), recency, or frequency.
- Instant Search & Keyboard Launch: Filter by project name, path, tag, or note; press
Enter to open in the active Open Mode or Ctrl+Enter (Cmd+Enter on macOS) to open in a new window.
- Open Mode Toggle: Switch between
Current Window and New Window globally from the top bar, or launch a single card in the alternate mode from its quick action button.
- Multi-Select & Dual Drag and Drop:
- Internal Reorder: Drag pinned cards to reorder them, or drag recent rows into the Pinned section (supports multi-selected batches via
Ctrl/Cmd+Click and Shift+Click).
- OS Folder & Workspace Drop: Drag folders or
.code-workspace files directly onto the dropzone/panel to add them without any disk scan.
- History-Only Removal: Removing a project removes only its entry from tracked state (with an 8-second Undo toast) and never deletes or modifies files on disk.
Open your active configuration file with Noniva Project Switcher: Open Form Config (switcher.config.json) from the Command Palette or by clicking Edit Form in the dashboard top bar. It is stored in VS Code global storage alongside switcher.schema.json for validation and autocomplete.
Default Structure
{
"$schema": "./switcher.schema.json",
"version": 1,
"banner": {
"enabled": true,
"title": "Noniva Project Switcher",
"subtitle": "Pin active workspaces, search by tag or path, and launch windows in one click.",
"style": "minimal",
"icon": "layers"
},
"defaults": {
"openMode": "current",
"autoSort": "frequency_recency",
"maxHistory": 100,
"autoOpenPanelFromSidebar": true,
"autoTrackOpenedWorkspaces": true
},
"defaultIcon": "folder-git",
"cardFields": {
"showPath": true,
"showLastOpened": true,
"showOpenCount": true,
"showTags": true,
"showNote": true,
"showOpenModeHint": true
},
"badges": [
{ "id": "Active", "label": "Active", "color": "#7ED49B", "icon": "zap" },
{ "id": "Client", "label": "Client", "color": "#7CB7F2", "icon": "briefcase" },
{ "id": "Experiment", "label": "Experiment", "color": "#E6B84C", "icon": "flask-conical" },
{ "id": "Archive", "label": "Archive", "color": "#9E9895", "icon": "archive" }
],
"projectOverrides": {}
}
Configuration Fields
banner: Controls the dashboard hero banner:
enabled (boolean): Show or hide the banner title/subtitle block.
title (string), subtitle (string): Banner heading and description.
style ("minimal" | "accent" | "subtle"): Visual banner treatment.
icon (string): Lucide icon name (default "layers").
defaults:
openMode ("current" | "newWindow"): Default launch target.
autoSort ("frequency_recency" | "recency" | "frequency"): Ordering mode for unpinned rows.
maxHistory (number, clamped 10–500): Maximum tracked projects kept in history.
autoOpenPanelFromSidebar (boolean): Auto-open the main dashboard panel when opening the Activity Bar view.
autoTrackOpenedWorkspaces (boolean): Automatically record local folders and .code-workspace files opened in VS Code.
defaultIcon: Fallback Lucide icon name (default "folder-git").
cardFields: Visibility toggles for showPath, showLastOpened, showOpenCount, showTags, showNote, and showOpenModeHint.
badges: Array of badge definitions (id, label, optional color, bgColor, icon). Built-in defaults: Active, Client, Experiment, Archive.
projectOverrides: Per-path metadata overrides (displayName, icon, tags, note). Windows paths are normalized case-insensitively across \\ and / separators (for example, "D:\\Process\\my-app" or "d:/process/my-app" both match D:\Process\my-app).
- Live Reload & Error Fallback: Saving
switcher.config.json triggers an automatic reload. If the JSON is invalid or the root is not an object, the dashboard displays a non-blocking warning banner with an Open Config action and continues operating with the last valid configuration.
Each project folder (or the parent folder of a .code-workspace file) can optionally include .project-switcher.json at its root (or .vscode/project-switcher.json as fallback) to describe itself and customize its icon or accent color:
{
"displayName": "Core API",
"icon": "zap",
"color": "#EB6325",
"tags": ["Active", "Client"],
"note": "Backend REST service"
}
icon accepts any built-in Lucide icon name or a relative image path inside the project (.png, .svg, .jpg, .jpeg, .webp, .gif).
- Zero background disk scans on panel open: Local files are read only when a project is added, opened, saved in VS Code, or when you click Refresh (
Refresh Local in the Sidebar / Noniva Project Switcher: Refresh Local Project Metadata) to scan all tracked projects on demand.
- Precedence:
switcher.config.json projectOverrides > local .project-switcher.json / UI edits cached in state.json.
Keyboard Shortcuts & Commands
Command Palette Commands
| Command ID |
Title |
Description |
projectSwitcher.open |
Noniva Project Switcher: Open Dashboard |
Open or focus the hybrid bento dashboard panel. |
projectSwitcher.quickOpen |
Noniva Project Switcher: Quick Open Project |
Open a native QuickPick list grouped into Pinned and Recent & Frequent with Current / New Window buttons. |
projectSwitcher.addFolders |
Noniva Project Switcher: Add Project Folders... |
Browse and add one or more local folders to the tracked list (.code-workspace files are added via OS Drag & Drop or auto-tracking). |
projectSwitcher.openConfig |
Noniva Project Switcher: Open Form Config (switcher.config.json) |
Open switcher.config.json in the editor for customization. |
projectSwitcher.reloadConfig |
Noniva Project Switcher: Reload Form Config |
Manually reload and validate switcher.config.json. |
projectSwitcher.refreshLocalMeta |
Noniva Project Switcher: Refresh Local Project Metadata |
Scan .project-switcher.json / .vscode/project-switcher.json across every project in the list. |
Dashboard Webview Shortcuts & Selection
| Input |
Action |
Enter |
Open the keyboard-focused project (or first visible match) in the active Open Mode. |
Ctrl+Enter / Cmd+Enter |
Open the keyboard-focused project (or first visible match) in a New Window. |
ArrowUp / ArrowDown |
Move keyboard focus across visible project cards and rows. |
Escape |
Close an open Edit Meta popover, clear multi-selection, or clear active search/tag filters. |
Ctrl+Click / Cmd+Click |
Toggle a project card or row in multi-selection. |
Shift+Click |
Select a contiguous range of visible projects from the last anchor. |
Development & Build
npm install
npm run typecheck
npm test
npm run build
npm run typecheck: Runs tsc --noEmit across the extension and webview TypeScript sources.
npm test: Compiles test sources (tsconfig.test.json) and runs the Node test runner (node --test "dist-test/tests/**/*.test.js").
npm run build: Bundles the extension host (dist/extension.js) and webview assets (dist/webview.js, dist/webview.css) via esbuild.mjs.
Interactive Testing in VS Code (F5 Extension Development Host)
Press F5 in VS Code to launch the Run Extension configuration from .vscode/launch.json, then verify:
- Activity Bar Auto-Open: Click the Noniva Project Switcher icon in the Activity Bar and confirm the sidebar view renders and opens the main dashboard panel automatically.
- Command Palette: Run
Noniva Project Switcher: Quick Open Project and confirm Pinned and Recent & Frequent items appear with Current / New Window item buttons.
- Form Live Reload & Invalid JSON Fallback: Click Edit Form, change
banner.title or cardFields, save switcher.config.json, and confirm the dashboard updates immediately. Introduce a syntax error and save to verify the non-blocking error banner appears while the previous valid config remains active, then fix and save again.
- Search + Enter: Type a partial name, path, tag, or note in the search input, navigate with
ArrowDown/ArrowUp if desired, and press Enter (active mode) or Ctrl+Enter (new window).
- Current vs New Window: Toggle
Current Window / New Window in the top bar and test per-card alternate-mode quick action buttons.
- Multi-Folder Add & Drag and Drop: Add multiple folders via Add Folders (
Browse...) or drag folders / .code-workspace files from your OS file explorer onto the dropzone.
- Manual Pin Reorder & Auto-Sort: Pin projects, drag pinned cards to reorder them, drag a recent row into the Pinned section, and verify unpinned rows stay sorted by
frequency_recency.
- History-Only Delete & Undo: Click the remove (
X) button on a project or use batch Remove, confirm the Undo toast restores it, and confirm the underlying folder on disk remains untouched.
Packaging .vsix & Local Installation
Build and package the extension archive locally:
npm run package
This creates noniva-project-switcher-0.1.2.vsix in the workspace root (Marketplace ID: tongchai.noniva-project-switcher).
Install via CLI:
code --install-extension noniva-project-switcher-0.1.2.vsix
Install via VS Code UI: Open the Extensions sidebar (Ctrl+Shift+X), open the ... (Views and More Actions) menu, choose Install from VSIX..., and select noniva-project-switcher-0.1.2.vsix.
| |