Semantic Canvas
A zoomable optical canvas for prose, tasks, and Markdown in VS Code - where AI helps you abstract, merge, reframe, debate, arrange, and synthesize your ideas.
Semantic Canvas turns .semcanvas files into a spatial thinking workspace directly inside Visual Studio Code. Zoom out to scan concepts, zoom in to read and edit full prose, combine or debate ideas non-destructively, prioritize tasks on 2D quadrants with color accents, and synthesize your canvas back into a clean Markdown document.
See It in Action
Spatial Thinking, Bridges & In-Place Lens Carousel
Group related notes, synthesize bridges between opposing ideas, keep a persistent canvas Goal in view, and flip through analytical lenses (Why?, Reverse, Skeptical Reviewer) right on the card.
Ask & Debate Drawer
Challenge assumptions or explore follow-up questions in a docked Ask & Debate thread, then spawn any reply straight onto the canvas as a linked card.
Arrange Mode: 2D Quadrants & Semantic Color Accents
Preview 2D Quadrants (Effort × Impact, Urgency × Importance, or custom axes) and theme-aware semantic color accents before deciding to Apply Layout or Cancel with zero file diff.
Core Ideas
- Optical Semantic Zoom - Move smoothly between three levels of detail:
- Abstract (
< 0.7x): concept titles (double-click to edit inline), optional minimal SVG thumbnails, and color-coded semantic heatmaps; groups collapse into high-level overview nodes below 0.5x.
- Summary (
0.7x - 1.5x): crisp one-sentence abstractions, theme/agreement/divergence chips, in-place Lens Carousel, and clickable sentence provenance.
- Detail (
>= 1.5x): full editable prose, text Pull out into linked cards, Continue writing assistance, and explicit Done editing controls.
- Canvas Goal & Contextual AI - Set an optional Goal in the top bar (persisted in
.semcanvas) and let every AI operation automatically see a compact digest of your goal, current group, linked neighbors, and surrounding titles.
- Ask, Debate & Continue - Open an ephemeral Ask & Debate thread from any card (or multi-selection) to challenge assumptions, ask probing follow-ups, and spawn insights directly onto the canvas as linked cards - or click Continue on a half-finished note to extend your draft in place.
- Comfortable Reader - Click the book icon on any card to read or edit long prose, titles, and lens outputs in a distraction-free modal with an adjustable font-size stepper (
A- / A+).
- Non-Destructive Lineage - Merges, unfolds, stress-tests, bridges, group distillations, and spatial arrangements are recorded in
history[] inside .semcanvas. Reverse any step contextually (Unmerge, Undo unfold, Expand group, Originals, Undo arrangement), or flatten any card into a standalone Clean note.
- Git-Diffable
.semcanvas v2 Files - Pretty 2-space JSON with integer (x, y) coordinates, sorted card IDs, zero viewport noise, and zero git diff when you cancel Arrange Mode.
Features
Capture, Starter Demos & Optical Import
- Interactive Starter Demos (
Show demo...) - Load a built-in Conceptual Problem or Task Backlog workspace right from the empty canvas or the ? Help menu.
- New Note (
N) - Drop a blank card on the canvas, write prose, and click Done (or Ctrl+Enter) to abstract it automatically.
- Add Selection to Canvas - Right-click selected prose in any VS Code editor to send it straight to the active canvas with a clickable source link.
- Optical Import - Import Markdown, plain text, HTML files, web URLs, the active editor, or clipboard via the Import Sheet (Distill Concepts, Outline Sections, or Single Card).
Semantic Operations
- Combine (Synthesize / Compare / Resolve / Group) - Drag one card onto another (or multi-select via
Shift+Drag) to synthesize a new insight, compare agreements vs. divergences, resolve a conflict, or group them manually.
- In-Place Lens Carousel - Reframe a single card or multi-selection through universal presets (Why?, Reverse, Skeptical Reviewer, Non-Technical Reader, plus + More and custom prompts). Copy lens text directly or Pull out a lens view into a linked card.
- Ask & Debate Thread + Continue Writing - Run a multi-turn debate or follow-up dialogue anchored to one or more cards, spawn replies onto the canvas as linked cards, or use Continue to finish an in-progress draft with Append / Replace / Dismiss.
- Unfold & Stress-Test - Dissect a card by Parts, Logic, Concepts, Examples, or Stress-Test via an unchecked-by-default Preview & Pick drawer with guaranteed non-overlapping sibling placement and collapsible branches.
- Bridge, Distill Group, Spotlight (
/) & Contradiction Scan - Find missing links between 2 cards, collapse groups into attributed cards, search semantically with /, and scan for tensions across the canvas.
- Draggable & Renameable Groups, Cuttable Links & Resizing - Drag expanded group headers to move clusters together, double-click to rename, hover curved links to cut them, and drag card right edges to resize (
220-640px).
Arrange Mode (Preview-First Spatial Layouts)
Toggle Edit | Arrange in the top bar to explore layouts without mutating prose or dirtying .semcanvas:
- Group by Theme, 1D Semantic Axes (
Abstract <-> Concrete, Cause <-> Effect, or Custom axis...), and 2D Quadrants (Effort x Impact, Urgency x Importance, Certainty x Risk, Horizon x Leverage, or custom X/Y axes).
- Theme-Aware Semantic Color Accents - Overlay color-coded semantic tags (
Risk level, Confidence, Semantic Role, or custom criteria) harmonized for both dark and light VS Code themes.
- Zero-Diff Cancel & Undoable Apply - Cancel reverts positions, groups, and color accents with zero file edits; Apply Layout commits and is reversible via Undo arrangement.
Export & Synthesis
- Synthesize to Markdown - Turn the whole canvas or a selection into a Structured Document, Executive Brief, Technical RFC / Spec, or Essay - opening in a new Markdown tab or saving directly to a
.md file.
Commands
| Command |
Description |
Semantic Canvas: New Canvas |
Create and open a new .semcanvas file |
Semantic Canvas: Add Selection to Canvas |
Send selected editor text to the active canvas |
Semantic Canvas: Import File as Sections |
Import a Markdown, HTML, or text file |
Semantic Canvas: Import Web Page or Article from URL |
Fetch and import an article from an HTTP(S) URL |
Semantic Canvas: Synthesize Canvas to Markdown |
Open the Markdown synthesis dialog |
Semantic Canvas: Select Language Model |
Choose a VS Code Language Model or built-in Demo mode |
Configuration
| Setting |
Default |
Description |
semanticCanvas.modelFamily |
"" |
Primary reasoning model family (e.g., claude-sonnet, gpt-4o, or demo for built-in offline mode). Empty automatically picks the strongest available model per tier (preferring GitHub Copilot). |
semanticCanvas.fastModelFamily |
"" |
Optional lighter model family for quick abstractions, clustering, scoring, accents, and spotlight. Falls back to modelFamily. |
semanticCanvas.maxImportBytes |
3000000 |
Maximum byte size for imported files or web pages. |
semanticCanvas.maxConcurrentRequests |
2 |
Maximum concurrent language model requests (1-8). |
semanticCanvas.lensPresets |
9 presets |
Customizable list of { id, label, prompt, bestFor } analytical lenses. |
Offline / Demo Mode
No Copilot subscription? Run Semantic Canvas: Select Language Model and pick Demo / Offline Mock (or set "semanticCanvas.modelFamily": "demo"). Every feature works deterministically offline.
Keyboard Shortcuts
| Key |
Action |
N |
New note card |
/ |
Open Semantic Spotlight search |
? |
Open Shortcuts & Tips popover |
F or 0 |
Fit all visible cards in view |
Shift + Drag |
Marquee multi-select cards |
Double-click |
Edit card title, summary, or group label inline |
Ctrl+S / Cmd+S |
Save .semcanvas file |
Delete / Backspace |
Delete selected cards (in Edit Mode) |
Esc |
Close active drawer/modal, clear selection, or exit Arrange Mode |
Privacy & Security
- All LLM requests go strictly through VS Code's official
vscode.lm API (or the local in-process Demo provider). Semantic Canvas never stores API keys or sends data to third-party servers.
- Webview HTML enforces a strict Content Security Policy (
default-src 'none', nonce-gated scripts, no eval).
- Generated SVG thumbnails are strictly sanitized before rendering.
- All user notes and canvas context are wrapped in passive XML data tags to mitigate prompt injection.
License
Licensed under the PolyForm Shield License 1.0.0 (see LICENSE). Semantic Canvas is free and source-available for personal, academic, and workplace use, while prohibiting reuse of the code to build a competing commercial product or service.
Development & Testing
See DEVELOPMENT.md in the repository root for the full local build, F5 debug, and .vsix reinstall workflow.
npm install
npm run build # Bundle extension host + Preact webview via esbuild
npm run typecheck # Strict TypeScript check (tsc --noEmit)
npm test # Build + typecheck + unit + host + Playwright webview suite
npm run package # Build a distributable .vsix package
| |