如何在Visual Studio 2008中获取垂直拆分的代码窗口? (不是HTML模式) [英] How do I get a code window to split vertically in Visual Studio 2008? (not HTML mode)
问题描述
在Visual Studio 2008中,似乎窗口 - >拆分仅为我提供水平拆分,窗口 - >新建水平制表符组不允许我编辑两个窗格中的相同文件。
In Visual Studio 2008, it seems that Window -> Split only gives me a horizontal split, and Window -> New horizontal tab group does not allow me to edit the same file in both panes.
请注意,我说的是C#代码窗口,不是 HTML编辑模式。
Note that I am talking about C# code windows, not HTML editing mode.
我想在两个水平排列的窗格中编辑同一个文件。
I want to edit the same file in two horizontally arranged panes.
这可能吗?免费附加组件很好。
Is this possible? Free add-ons are fine.
编辑:我安装了CodeRush Express,它似乎已经完成某事到我的代码窗口边框。
I have CodeRush Express installed, and it seems to have done something to my code window borders.
编辑#2:这不是CodeRush。我试过没有CodeRush的VM,我也遇到了同样的问题。
Edit #2: It's not CodeRush. I tried on VM with no CodeRush, and I have exactly the same issue.
推荐答案
好的,我发现解决方案此处。
Ok, I found the solution here.
答案是:
- 窗口 - >新窗口
- 窗口 - >新的垂直制表符组
这会复制当前标签,因此您将获得 [Form1.cs:1]
和 [Form1.cs:2]
标签;然后然后您可以使用垂直标签组并排查看它们。
This duplicates the current tab so you'll get [Form1.cs:1]
and [Form1.cs:2]
tabs; and then you can use a vertical tab group to view them side by side.
这篇关于如何在Visual Studio 2008中获取垂直拆分的代码窗口? (不是HTML模式)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!