A local (non-marketplace) VS Code extension that automatically routes opened files into
designated editor groups based on glob patterns and language IDs, and applies a configurable
editor-group layout.
What it does
Opening a file (e.g. from the Explorer) checks an ordered list of rules — glob patterns and/or
language IDs — and moves the tab into the group configured for the first matching rule.
Only newly opened tabs are routed. A file already open elsewhere is just focused; a tab you
manually drag to another group stays there until it's closed and reopened.
A layout preset (columns, grid, etc.) can be applied on startup, on demand, or from the config UI.
A webview panel (Tab Groups: Open Configuration) lets you edit rules, layout, and options
visually, including a live "test a path" tool and drag-to-reorder rules.
Install locally
npm install
npm run vsix
code --install-extension tab-groups-0.0.1.vsix
Reload VS Code afterwards. This does not publish anywhere — it's installed straight from the
packaged .vsix file.
Develop
npm install
npm run watch
Then press F5 in VS Code (with this folder open) to launch an Extension Development Host.
Commands
Tab Groups: Open Configuration — opens the settings webview.