Visual Studio move code window from one side to th

2019-09-14 00:40发布

问题:

Usually, in VS 2015 I split my workspace in 2 windows, having side by side 2 files of code. Often want to move one code window to the other side. What I do is drag the window tab with the mouse from one side to the other. This is slower than if there was a shortcut to do it.

Is there a shortcut in VS 2015 to move code windows to next/previous code window?

回答1:

If you right-click the tab, there are options for "Move to Next Tab Group" and "Move to Previous Tab Group". This cuts it down to 2 clicks instead of a drag operation.

Then, you can go into Options->Environment->Keyboard and assign shortcut keys to both operations.

Unfortunately, there does not appear to be an option to cycle the tab between groups. So, if you move a tab to "Next", you can't move "Next" again to get it back to group 1, you have to move "Previous".