visual-studio 在 Visual Studio 中查看多个文件

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/279861/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-22 09:53:57  来源:igfitidea点击:

View multiple files in Visual Studio

visual-studiointerface

提问by Eric

I just realised that Office 2007 now shows multiple pages per default. I can finally take advantage of that huge monitor I've bought.

我刚刚意识到 Office 2007 现在默认显示多个页面。我终于可以利用我买的那台巨大的显示器了。

Is there a similar feature with Visual Studio?

Visual Studio 是否有类似的功能?

Something like "View -> Two Pages"

类似于“查看 - > 两页”

回答by Zach Burlingame

You can use "Tab Groups". Visual Studio supports both horizontal and vertical panes (since at least Visual Studio .NET 2002 I believe, I haven't used VS 5 or 6 in ages..)

您可以使用“标签组”。Visual Studio 支持水平和垂直窗格(我相信至少从 Visual Studio .NET 2002 开始,我已经很久没有使用过 VS 5 或 6 了..)

There are several ways to create a tab group. One way is:

有多种方法可以创建选项卡组。一种方法是:

  • Open two files.
  • Grab the tab of one of the files and pull it down and slightly to the side
  • You'll get a menu prompting you if you want to put it in a new horizontal or vertical pane.
  • You can move files between panes by grabbing the tab of the open file and pulling it next to the tabs in the pane you want it in.
  • 打开两个文件。
  • 抓住其中一个文件的标签,将其向下拉并稍微向一侧拉
  • 您将收到一个菜单,提示您是否要将其放入新的水平或垂直窗格中。
  • 您可以通过抓住打开文件的选项卡并将其拉到您希望它所在的窗格中的选项卡旁边来在窗格之间移动文件。

Another way is:

另一种方式是:

  • Click Window
  • Click New Vertical Tab Group
  • 单击窗口
  • 单击新建垂直选项卡组

Hereis a website demonstrating this with pictures and it even includes showing you how to split pane with the samefile. Handy when refactoring!

是一个带有图片的网站,它甚至包括向您展示如何使用同一文件拆分窗格。重构时很方便!

回答by LeppyR64

Try This:
Click Window -> New Vertical Tab Group

试试这个:
点击窗口 -> 新建垂直标签组

回答by Airsource Ltd

Use Window->New Vertical Tab Group (Visual Studio 2005)

使用 Window->New Vertical Tab Group (Visual Studio 2005)