Tab Deck
Vertical open-editor tree view grouped by editor group, plus named, color-tagged editor decks saved per workspace with optional Git branch switching.
What It Does
- Lists all open editors from
window.tabGroups.all grouped by editor group in its own Tab Deck activity bar view, updating live on tab and group changes (100 ms debounce).
- Shows file icons via
resourceUri, relative folder paths, and dirty, pinned, and preview states.
- Click any focusable tab (text, diff, notebook, or custom editor) to focus it in its editor group; non-focusable tabs such as webviews and terminals are listed clearly as not focusable.
- Provides safe tab context actions: Close, Close Others in Group (with confirmation), Pin / Unpin, Copy Path, and Reveal in Explorer. Never closes unsaved editors.
- Close Others in Group and Replace only close text, diff, notebook, and custom editors that are saved, unpinned, and stored on a
file, vscode-remote, or vscode-vfs location. Pinned tabs, unsaved editors, terminals, webviews, tabs on other schemes such as git:, output:, or untitled:, and any other tab type always stay open.
- Saves open editors (URIs, view columns, pinned state, order, and selections) into named, color-tagged decks stored in VS Code
workspaceState. Only editors on file, vscode-remote, and vscode-vfs locations are saved; untitled documents, Git diffs against git: revisions, and other virtual documents are skipped. A deck holds at most 500 editors; extra editors are left out and the result message says how many.
- Restores decks by adding to current tabs or replacing current tabs. Replace checks the deck first, closes nothing if none of its files can be opened, and asks for confirmation ("N of M editors cannot be opened. Replace anyway?") when some of them cannot. Missing files are skipped and reported separately from files that failed to open, and they stay in the deck. Pinned entries are pinned again, and notebooks reopen in their saved notebook editor.
- Update Deck asks for confirmation and shows the old and new editor counts.
Features (Free vs Pro)
| Feature |
Free |
Pro |
| Vertical Tab Deck tree view grouped by editor group |
Included |
Included |
| Click to focus and safe tab context actions |
Included |
Included |
Named color-tagged decks in workspaceState |
Up to 3 per workspace |
Unlimited |
Git branch auto-switch (tabDeck.autoSwitchOnBranch) |
Upgrade prompt |
Included |
Open-tab sort modes (recent, name, folder) |
Upgrade prompt |
Included |
| Drag-and-drop reordering in the tree |
Upgrade prompt |
Included |
| Export and import decks JSON |
Upgrade prompt |
Included |
Commands
tabDeck.saveDeck (Tab Deck: Save Open Editors as Deck): Saves the current open editors into a named deck.
tabDeck.openDeck (Tab Deck: Open Deck): Opens a saved deck (add to current tabs or safely replace clean tabs).
tabDeck.updateDeck (Tab Deck: Update Deck): Updates a saved deck with the currently open editors.
tabDeck.renameDeck (Tab Deck: Rename Deck): Renames an existing deck.
tabDeck.deleteDeck (Tab Deck: Delete Deck): Deletes a deck after confirmation.
tabDeck.setDeckColor (Tab Deck: Set Deck Color): Picks a color tag for a deck from a fixed palette.
tabDeck.linkDeckToBranch (Tab Deck: Link Deck to Git Branch (Pro)): Links a deck to a Git branch name for auto-switching (Pro).
tabDeck.sortTabs (Tab Deck: Sort Tabs (Pro)): Switches open-tab sorting between order, recent, name, and folder (Pro).
tabDeck.exportDecks (Tab Deck: Export Decks (Pro)): Exports workspace decks as JSON via a Save dialog that starts in your home folder (Pro). Paths inside a workspace folder are written relative to it; all other paths are written as local absolute paths, so review an export before sharing it.
tabDeck.importDecks (Tab Deck: Import Decks (Pro)): Imports and validates decks from a JSON file (Pro). Files over 1 MB, more than 200 decks, more than 500 entries in a deck, and URIs other than file (without a host), vscode-remote, and vscode-vfs are rejected.
tabDeck.exportDroppedRecords (Tab Deck: Export Dropped Records): Opens the original saved-deck data from the last load that skipped invalid decks or editors, as an untitled JSON document.
tabDeck.refresh (Tab Deck: Refresh): Refreshes the Tab Deck tree view.
tab-deck.enterLicense (Tab Deck: Enter License Key): Activates a Pro license key in VS Code SecretStorage.
Settings
tabDeck.autoSwitchOnBranch ("off" | "ask" | "always", default "off"): What to do when the Git branch changes to one with a linked deck (Pro). "ask" prompts, "always" replaces the open tabs without asking, and "off" does nothing. The first branch seen after startup is only recorded and never switches. The setting is restricted in untrusted workspaces, and the Git listener is only registered while it is not "off".
tab-deck.apiBaseUrl (string, default ""): Override the licensing API base URL (must use https://, machine-scoped).
tab-deck.webBaseUrl (string, default ""): Override the web storefront base URL (must use https://, machine-scoped).
Privacy and Data Handling
| Data |
Where |
Retention |
| Saved decks (URIs, layout, names, colors) |
Local VS Code workspaceState only (except explicit Export) |
Workspace lifetime |
| Exported deck files |
The location you choose; they contain local file paths for anything outside your workspace folders |
Until you delete them |
| License key, product ID, machine ID hash |
Sent to licensing API (tab-deck.apiBaseUrl) on Pro activation/refresh |
Active license lifetime |
| Telemetry |
None (collectsTelemetry: false) |
0 days |
Tab Deck collects zero telemetry and never transmits file paths or editor contents. If saved decks cannot be read back, they are left untouched and Tab Deck refuses to overwrite them; invalid decks and entries inside an otherwise readable store are skipped with a notice, and the original payload is kept in a separate workspaceState key (only the most recent one) that you can view with Tab Deck: Export Dropped Records.
Offline Behaviour
- Vertical tab tracking, deck saving/restoring, sorting, drag-and-drop reordering, and JSON export/import all work completely offline.
- Paid licenses are verified locally using the bundled Ed25519 public key with a 14-day offline grace window.
- In untrusted workspaces, open-tab tracking and workspace decks work normally while Git branch auto-switching is disabled and
tabDeck.autoSwitchOnBranch is a restricted setting.
Pricing
Tab Deck is free for vertical open tabs and up to 3 workspace decks. Pro unlocks unlimited decks, Git branch auto-switching, sort modes, drag-and-drop reordering, and JSON export/import.
View plans and buy. After purchase, sign in to your account to copy your license key, then run Tab Deck: Enter License Key.
Support
Report issues or request help at github.com/toolsmith-labs/support.
| |