Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Obsidian Canvas for VS CodeNew to Visual Studio Code? Get it now.
Obsidian Canvas for VS Code

Obsidian Canvas for VS Code

dladdr

|
1 install
| (0) | Free
Edit Obsidian .canvas files in VS Code with text, images, links, groups, and smart alignment snapping.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info
Obsidian Canvas for VS Code

Obsidian Canvas for VS Code

Your Obsidian canvases, right inside VS Code.

Map ideas, connect notes, and turn a collection of files into a visual workspace.
Create and edit standard .canvas files without leaving your editor.

MIT license Latest release Tests VS Code 1.85+ Canvas format

Get started · Examples · Controls · Development · License

A canvas with colored groups, text cards, Markdown, labeled arrows, file references, and a nested canvas

What it does

  • Map your ideas — create text cards, move and resize them, and choose colors to give your canvas structure.
  • Connect the details — draw labeled connections, choose arrow directions, and color relationships.
  • Keep things together — organize cards into named groups and move groups with their contents.
  • Write rich notes — display Markdown with checklists, tables, callouts, links, inline formatting, and highlighted code.
  • Bring your files along — import files or folders; preview and edit notes, page through PDFs, play audio/video, and embed web pages or other canvases.
  • Explore your vault — follow wikilinks, embed notes and media, narrow references to headings or blocks, and use Bases views with filters and formulas.
  • Arrange with precision — snap moves and resizes to objects or the grid; align, distribute, arrange rows/columns/grids, preserve aspect ratios, and fit cards to their contents.
  • Work across the canvas — pan, zoom, select several cards, and copy, cut, or paste selections between canvases.
  • Keep your place — start from a blank file and save your changes without resetting the view or zoom. Conflicting external edits preserve a recoverable draft.
  • Share your work — export a whole-canvas or viewport PNG at a chosen resolution, with privacy and logo options. Read-only mode keeps navigation and export available.

Get started

  1. Download the .vsix asset from GitHub Releases.
  2. In VS Code, run Extensions: Install from VSIX... from the Command Palette and select it.
  3. Open a .canvas file. If it opens as JSON, right-click its tab, choose Reopen Editor With..., and select Obsidian Canvas.
  4. Double-click an empty area to create a card. Double-click a text card to edit it.

Run Obsidian Canvas: Create Canvas to create a canvas, or start with an empty ideas.canvas file. Changes update the underlying JSON document; use Save (Ctrl+S / Cmd+S) to write them to disk. Your canvas position and zoom stay put.

Upgrading from an earlier release? Starting with 1.0.2, the extension ID is dladdr.vsob. Uninstall vsob.obsidian-canvas or vsob.obsidian-canvas-viewer before installing it to avoid registering two canvas editors. Your .canvas files and obsidianCanvas settings still work.

Examples

These screenshots use the actual canvas renderer. The corresponding .canvas files are included so you can open them in VS Code and try the features yourself.

Arrows, relationships, and groups

Connect cards through their connection ports. Use one-way arrows for a sequence, arrows at both ends for a conversation, or a line without arrowheads for a relationship. Add labels and colors, then collect related cards inside a named group.

A grouped workflow with one-way arrows, a two-way feedback connection, labels, colors, and a connection without an arrowhead

Open the arrows and groups example. Drag a group by its border or label to move its contained cards too.

Markdown and code

Keep checklists, tables, callouts, links, and code beside your ideas. Text cards support rich content; referenced Markdown files can also be previewed directly on the canvas.

Notes with checklists, a callout, a table, highlighted code, and inline formatting

Open the Markdown example. Double-click a text card to edit it, then click outside or press Ctrl+Enter / Cmd+Enter to finish.

Files, images, and nested canvases

View a Markdown note, an image, and a miniature of another canvas in the same workspace. Ctrl-click a Markdown or nested-canvas preview to open its source. Ctrl/Cmd-click a link to open it in your browser. Web cards provide interactive previews, while .base cards show vault query results.

A Markdown file, the project logo as an image, and a nested canvas preview connected inside a group

Open the file and image example. It references the included research note, project icon, and basic canvas.

Snapping on both axes

Drag near another item's edges or center to align it. Horizontal and vertical snapping work independently, and every matching object is marked. Equal-sized items can align both opposite edges at once. Edge guides mark corners; center guides join the object centers.

Purple guides marking edges and centers on both horizontal and vertical axes

Open the snapping playground. Guides appear only during dragging and disappear on release. Snapping uses an eight-screen-pixel tolerance, adjusted for zoom.

Run Obsidian Canvas: Toggle Snapping from the Command Palette to enable or disable it. You can also set it in VS Code settings:

{
  "obsidianCanvas.snapping": false
}

Selection, editing, and navigation

Shift-click several cards or draw a selection box around them, then drag the selection to move it together. Copy, cut, and paste selected cards within a canvas or between canvases. Resize cards with their handles and change colors from the selection toolbar.

Scroll or use your trackpad to pan. Hold Ctrl or Cmd while scrolling to zoom. To try a completely fresh canvas, open the included empty file and double-click to add your first card.

Workspace and content workflows

Open the feature tour canvas to try a note section, PDF, local audio, Bases views, wikilinks/transclusions and a web card. Its supporting files are included.

Use Add files, Import folder, or a file drop to bring notes and media into a canvas. Add web page creates a web card. Select a text card and choose Convert to note to create a Markdown file; Replace file changes an existing file reference. Select a group and use Group background to choose an image, its cover/ratio/repeat style, or remove it.

Referenced notes have an Edit note action. Saving a section preserves the surrounding file; conflicting note changes retain your draft. Wikilinks and note/image/media embeds resolve within the configured vault. PDF cards have page controls. Use Narrow to heading or Narrow to block to choose a section, and Show entire note to reset it. Bases cards provide view selection, search, Pin view and Show default view; unsupported expressions produce an explicit error.

The canvas controls provide layouts, custom colors, group creation, auto-size, connection endpoint editing, fit/reset zoom, group navigation, settings, help and PNG export. Settings includes read-only mode, object/grid snapping, label visibility, wheel behavior, duplicate-drag modifiers, content zoom threshold and file locations. VS Code settings also expose the vault root used to resolve references.

Media playback depends on the codecs supported by your VS Code runtime. Some websites refuse embedding; use the web card's header to open them externally. Web cards also provide Copy URL, Change URL and Reload. Folder import is limited to 2,000 files; individual dropped files and PNG exports are limited to 100 MB. Large PNG dimensions have an additional pixel limit, shown before export. Remote web-page pixels are not included in PNG exports.

Controls

Action Control
Create a card Double-click an empty area
Edit text Double-click a text card
Finish editing Click outside, Escape, or Ctrl+Enter / Cmd+Enter
Move a card Drag the card
Move a group with its cards Drag the group border or label
Create a group Right-click Add group, select cards then Group, or use Draw group
Resize Drag a handle; Shift preserves aspect ratio; multiple selected cards resize together
Select several cards Shift-click, or drag a selection box on the background
Select all Ctrl+A / Cmd+A
Duplicate while dragging Alt / Option (configurable)
Constrain movement Hold Shift while dragging
Nudge selection Arrow keys; Shift moves 10 pixels
Temporarily bypass snapping Hold Space after starting a drag or resize
Connect cards Drag from a connection port
Change card colors Use the selection toolbar
Edit a connection label Double-click the connection or use Edit label
Reconnect a connection Drag a selected endpoint; dropping on empty space disconnects it
Change arrow direction or color Select the connection and use its toolbar
Open a reference Ctrl/Cmd-click, or use the file/web card header
Delete selected cards or connection Delete or Backspace
Copy / cut / paste Ctrl+C/X/V or Cmd+C/X/V
Pan Scroll/trackpad, middle/right drag, or Space-drag; Shift-wheel pans horizontally
Zoom Ctrl/Cmd/Space + scroll, or zoom buttons
Fit canvas / selection Shift+1 / Shift+2
Undo / redo Ctrl+Z / Ctrl+Shift+Z or Ctrl+Y, or corresponding Cmd shortcuts
Export / jump to group Obsidian Canvas: Export PNG / Jump to Group in the Command Palette
Save Ctrl+S / Cmd+S
Toggle snapping Obsidian Canvas: Toggle Snapping in the Command Palette

Development

Use Node.js 22.13 or later to build. The feature coverage ledger maps the desktop audit to the implementation and its limits.

npm ci
npm run build
npx playwright install chromium
npm run test:all
npm run package
Command Checks
npm test Parsing, synchronization, content queries, workspace actions and snapping unit/provider tests
npm run test:ui Real mouse input in Chromium, rendered guide geometry, saving messages, and a screenshot comparison
npm run test:extension Activation, configuration, opening, saving, undo, and redo in an isolated VS Code Extension Development Host
npm run test:all All three layers

The build bundles the PDF renderer, its worker/fonts, and the YAML parser for offline use. Browser failures retain screenshots and Playwright traces. To run the isolated packaged-runtime smoke check, extract a built VSIX and set VSOB_PACKAGED_EXTENSION_PATH to its extension directory when running npm run test:extension. Extension-host tests download a separate VS Code instance by default; set VSCODE_EXECUTABLE_PATH to use an existing executable. On Linux, run them under a display server, such as xvfb-run -a npm run test:extension.

GitHub Actions runs the suite on pushes and pull requests. A v* tag matching the package version runs the full suite before publishing a GitHub release and its VSIX.

Package: vsob · Publisher: dladdr · Extension ID: dladdr.vsob.

License

MIT — Copyright © 2026 Kaki Anak. Bundled PDF.js and YAML components retain their own licenses in the packaged vendor directories.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft