使用 Visual Studio 2008 的多个显示器
我有 2 个显示器,大多数时候我在一个屏幕上打开一些参考资料,在另一个屏幕上打开 Visual Studio。 不过,为了真正进入状态,我需要我的代码成为我唯一看到的东西。 有谁知道 Visual Studio 中是否可以有多个代码窗口? 到目前为止,我能做的最好的事情就是将调试器输出和解决方案资源管理器放在我的左侧显示器上,并将 VS 的其余部分放在右侧显示器上。 不过,我希望在两个窗口上都有代码。
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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
虽然我将 StudioTools 用于其他目的,但它有一个“Tear off Editor”选项,您可以使用该选项将文件“撕下”到窗口并调整窗口大小。 觉得很有帮助
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
另请参阅“Visual Studio 和双/多显示器:如何优化显示器的使用?” 问题。
See also the "Visual Studio and dual/multiple monitors: how do I get optimized use out of my monitors?" question.
如果您右键单击文件选项卡,则会有一个“新垂直选项卡组”选项,只需在两个显示器上最大化并将分隔线放在显示器分隔线上,我认为这就是您所追求的。
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.
您可以在另一台显示器上显示“代码定义窗口”,而不是放大 VS2008 窗口以跨越两个显示器:只需将其拖到主窗口之外即可! 我发现这对于避免在代码窗口之间切换非常方便:人们常常对光标下符号的定义感兴趣...
对于其他窗口(例如“类视图”、“调用浏览器”)也是如此'等。您可以选择将它们与选项卡分组在同一组中,或者单独拖动每个选项卡(单击选项卡的标签以开始拖动)。
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...
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).