Visual Studio 将代码窗口从一侧移动到另一侧 [英] Visual Studio move code window from one side to the other

查看:56
本文介绍了Visual Studio 将代码窗口从一侧移动到另一侧的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

通常,在 VS 2015 中,我将我的工作区分成 2 个窗口,并排放置 2 个代码文件.经常想将一个代码窗口移动到另一侧.我所做的是用鼠标将窗口选项卡从一侧拖到另一侧.这比有捷径要慢.

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.

VS 2015 中是否有将代码窗口移动到下一个/上一个代码窗口的快捷方式?

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

推荐答案

如果您右键单击选项卡,则会有移至下一个选项卡组"和移至上一个选项卡组"的选项.这将其减少到 2 次点击而不是拖动操作.

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.

然后,您可以进入 Options->Environment->Keyboard 并为这两个操作指定快捷键.

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

不幸的是,似乎没有在组之间循环选项卡的选项.因此,如果您将选项卡移至下一个",则无法再次移动下一个"以使其回到第 1 组,您必须移动上一个".

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".

这篇关于Visual Studio 将代码窗口从一侧移动到另一侧的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆