简体   繁体   中英

Visual Studio - Control Window Positioning with Hotkey

Is there any way (or plugin) that would allow me to modify how the windows are embedded into eachother? For instance, let's say I have a window like this:

在此处输入图片说明

I want to be able to press a hotkey (eg Ctrl + Right Arrow) to make the current window split and go to the right, like this:

在此处输入图片说明

I'm basically envisioning a situation just like the later Windows OS' where you can press Win+Arrow to move windows around the screen...

Yes, there is an easy way.

Just go to Tools --> Options --> Environment --> Keyboard .

Now there are essentially four commands that you can bind to your keyboard shortcuts:

Window.NewHorizontalTabGroup
Window.NewVerticalTabGroup
Window.MovetoNextTabGroup
Window.MovetoPreviousTabGroup

You can even assign your own shortcuts to

Window.Float
Window.FloatAll
Window.MoveToMainDocumentGroup

as well if you want.

The Window.Move... commands are in a way the "undo commands" of the Window.New... and Window.Float... ones.

您可以使用“ 窗口 - 新建垂直选项卡组”菜单命令来执行此操作,也可以为Window.NewVerticalTabGroup键盘命令分配快捷方式。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM