I've got 2 monitors, and most of the time I've got some reference material open on one screen, and Visual Studio on the other. To really get in the zone, though, I need my code to be the only thing I see. Does anyone know if it's possible to have multiple code windows in Visual Studio? So far the best I can do is put debugger output and the solution explorer on my left monitor, and the rest of VS on the right. I would love to have code on both windows, however.
我有2个显示器,大部分时间我在一个屏幕上打开了一些参考资料,而在另一个屏幕上打开了Visual Studio。但是,要真正进入该区域,我需要我的代码是我唯一看到的东西。有谁知道在Visual Studio中是否可以有多个代码窗口?到目前为止,我能做的最好的事情是将调试器输出和解决方案资源管理器放在我的左侧监视器上,其余的VS放在右侧。不过,我很想在两个窗口上都有代码。
4 个解决方案
#1
38
If you right click on the file tabs, there's an option for "New Vertical Tab group" Just maximize across both monitors and put the divider on the monitor divide and I think that's what you're after.
如果右键单击文件选项卡,则可以选择“新建垂直选项卡组”。只需在两个监视器上最大化并将分频器放在监视器上,我认为这就是您所追求的。
#2
5
See also the "Visual Studio and dual/multiple monitors: how do I get optimized use out of my monitors?" question.
另请参阅“Visual Studio和双/多显示器:如何从显示器中优化使用?”题。
#3
2
Though I use StudioTools for other purposes, it has a "Tear off Editor" option, with which you can "tear off" the file to a window and resize the window. Find it quite helpful
虽然我将StudioTools用于其他目的,但它有一个“Tear off Editor”选项,您可以使用该选项将文件“撕下”到窗口并调整窗口大小。发现它非常有帮助
#4
1
Instead of enlarging the VS2008 window to span the two monitors, you can display the 'Code Definition Window' on another monitor: just drag it outside the main window! I find this very handy to avoid switching between code windows: it is very often that one is interested in the definition of the symbol under the cursor...
您可以在另一台显示器上显示“代码定义窗口”,而不是将VS2008窗口放大到两个显示器:只需将其拖到主窗口外即可!我发现这非常方便避免在代码窗口之间切换:通常人们对光标下符号的定义感兴趣...
The same is true for other windows like the 'Class View', the 'Call Browser', etc. You can choose to keep them grouped in the same group with tabs, or drag each of them separately (click on the label of the tab to start the drag).
其他窗口也是如此,例如“课堂视图”,“呼叫浏览器”等。您可以选择将它们与选项卡分组在同一组中,也可以单独拖动它们(单击选项卡的标签)开始拖动)。
#1
38
If you right click on the file tabs, there's an option for "New Vertical Tab group" Just maximize across both monitors and put the divider on the monitor divide and I think that's what you're after.
如果右键单击文件选项卡,则可以选择“新建垂直选项卡组”。只需在两个监视器上最大化并将分频器放在监视器上,我认为这就是您所追求的。
#2
5
See also the "Visual Studio and dual/multiple monitors: how do I get optimized use out of my monitors?" question.
另请参阅“Visual Studio和双/多显示器:如何从显示器中优化使用?”题。
#3
2
Though I use StudioTools for other purposes, it has a "Tear off Editor" option, with which you can "tear off" the file to a window and resize the window. Find it quite helpful
虽然我将StudioTools用于其他目的,但它有一个“Tear off Editor”选项,您可以使用该选项将文件“撕下”到窗口并调整窗口大小。发现它非常有帮助
#4
1
Instead of enlarging the VS2008 window to span the two monitors, you can display the 'Code Definition Window' on another monitor: just drag it outside the main window! I find this very handy to avoid switching between code windows: it is very often that one is interested in the definition of the symbol under the cursor...
您可以在另一台显示器上显示“代码定义窗口”,而不是将VS2008窗口放大到两个显示器:只需将其拖到主窗口外即可!我发现这非常方便避免在代码窗口之间切换:通常人们对光标下符号的定义感兴趣...
The same is true for other windows like the 'Class View', the 'Call Browser', etc. You can choose to keep them grouped in the same group with tabs, or drag each of them separately (click on the label of the tab to start the drag).
其他窗口也是如此,例如“课堂视图”,“呼叫浏览器”等。您可以选择将它们与选项卡分组在同一组中,也可以单独拖动它们(单击选项卡的标签)开始拖动)。