Reputation: 35434
I need to have different set of open tabs and tab groups for each of my tasks.
Import and export setting not helping me to do this, neither does this SO question that has been asked similarly but for windows/tools layout - i.e. NOT for the tabs/tab-groups.
How can I save and restore the saved set?
Upvotes: 52
Views: 22135
Reputation: 13842
The menu Window proposes 4 sub-menus to Save, Apply, Manage and Reset the Visual Studio windows layout. You can use this feature both to switch back and forth between several monitors configurations and also to switch between various activities (code writing vs. testing vs. code review …). The hotkey Ctrl+Alt+Number N instantly switches to the Nth layout
Upvotes: 0
Reputation: 92
Really late to the party but ContextKeeper plugin will do the job. Supports VS 2022/2019/2017/2015/2013. I'm the author.
It's an extension to quickly save and restore sets of document tabs and its metadata. The "session", similar to Vim's :mksession command, is defined as:
It also has a powerful git integration - automatically saves and restores context when switching between branches.
All contexts are saved to simple JSON files.
Upvotes: 4
Reputation: 130620
After going over the answers here, I simply ran a search in VSCODE extensions tab and found something which was working great for me: Tab Groups
After installing the extension you should have an extra icon in VSCODE sidebar which manages saves tabs sessions and the tiny button on the top (with a red arrow which I've painted to point to it) will save the current tabs group with your desired group name.
Upvotes: 0
Reputation: 13759
If you accidentally came here looking for a VS Code solution, from the same author of Save All The Tabs (for Visual Studio) that MushKov shared in this answer:
Upvotes: 5
Reputation: 10373
One Marketplace Extension that works with Visual Studio 2013, 2015, 2017 and 2019 is the Workspace Manager.
One additional tip: after installing it and adding the toolbar, you might have to restart VS again until it fully works (see Q & A). At least I had to do so in VS 2019 (16.1.3).
Upvotes: 20
Reputation: 457
Late to the party here but it popped up pretty high in my google search for this kind of thing so I'll drop my find: Save All The Tabs.
Upvotes: 19
Reputation: 27940
You can save open documents and later reopen them as a group with the Favorite Documents extension.
Upvotes: 11