Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to manipulate tab groups with the keyboard in Visual Studio 2010?

I see you can create a new vertical tab group by assigning a keyboard shortcut to Window.NewVerticalTabGroup.

I am looking for the keyboard shortcuts to do the following actions:

  1. Move windows between vertical tab groups
  2. Close a vertical tab group (reset the view back to a single code file, the opposite of Window.NewVerticalTabGroup).

Are these actions possible using the keyboard? Thank you!

like image 746
acksys Avatar asked Dec 08 '11 15:12

acksys


1 Answers

With some help from Microsoft, I got 75% there with stock Visual Studio 2010. Here are the shortcuts available.

  • Window.NewVerticalTabGroup splits the window vertically
  • Windows.MovetoPreviousTabGroup and Windows.MovetoNextTabGroup move windows between tab groups, as desired.

The only thing stock Visual Studio is missing is a shortcut to immediate close the tab group (move all tabs to one group). However, using Windows.MovetoPreviousTabGroup and Windows.MovetoNextTabGroup to move all the tabs out of one group will close it.

For those willing to install an (official Microsoft) extension, Productivity Power Tools solves that last 25% by adding commands Window.MoveAllToNextTabGroup and Window.MoveAllToPreviousTabGroup, as well as adding a ton of new functionality for tabs!

like image 164
acksys Avatar answered Sep 30 '22 19:09

acksys