Visual Studio 2008,多个监视器,“查找” 窗口放置问题
(这里的另一篇文章让我想起了这个烦恼!这不是重复!)
我使用带有多个显示器的 VS2008。 我在一个上打开 VS,在另一个上打开我正在调试的应用程序、参考页面等。
问题是,当我打开查找窗口(Ctrl-F 或单击“在文件中查找”图标)时,该窗口会在两个屏幕中间打开:一半在一个屏幕上,一半在另一个屏幕上。 每次。 它在那个位置相当无用,所以我必须将它拖到其他地方。 如何说服 Visual Studio 将窗口放在一个屏幕或另一个屏幕上?
我不在乎哪个,只是不分开。
后续
- 移动窗口没有帮助。 该位置不会被记住
- ,是的,它每次都会发生。
(another post here reminded me of this annoyance! this is not a dup!)
I use VS2008 with multiple monitors. I have VS open on one and the app I'm debugging, reference pages, etc.. on the other.
The problem is when I open a find window (Ctrl-F or click on the "Find in Files" icon) the window opens smack-dab in the middle of the two screens: half on one, half on the other. Every time. It's fairly useless in that position, so then I have to drag it somewhere else. How do I convince Visual Studio to put the window on one screen, or the other?
I don't care which, just not split across both.
followup
- Moving the window doesn't help. The position isn't remembered
- And yes, it happens every single time.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
Visual Studio 2008 应该记住上次打开“查找和替换”窗口时的位置,除非您的系统出现问题。 我刚刚检查了我的行为,它似乎始终出现在我上次打开它的位置。
那么尝试移动它,然后关闭并重新打开,它是否仍然出现在错误的位置?
另外,您是否在一台显示器上最大化了 Visual Studio,或者只是在两台显示器上以非最大化状态拉伸? 您是否正在运行任何可能改变此行为的多显示器实用程序?
或者,您可以尝试内联搜索(VS2008 中默认为 Ctrl+i)...对于搜索一个文件来说,无论如何,它通常更好。
Visual Studio 2008 should remember where your Find and Replace window was last time you opened it, unless something is misbehaving on your system. I just checked the behavior on mine though and it seems to consistently appear where I last had it open.
So try moving it, then closing and reopening, does it still appear in the incorrect place?
Also, do you have visual studio maximized on one monitor, or just stretched in un-maximized state across both? Are you running any multi-monitor utilities that might alter this behavior?
Alternatively you could try inline search (Ctrl+i by default in VS2008)... for searching one file it's generally better anyway.
我通常做的就是简单地将查找对话框停靠在右侧,并使用我的解决方案资源管理器 - 问题已修复 - 不是优雅但已修复。 :-)
您必须右键单击“查找”对话框的标题栏才能使其可停靠。
What I usually do is I simply Dock the find dialog on the right side, with my Solution explorer - problem fixed - not elegantly but fixed. :-)
You have to right click the title bar of the Find dialog to make it dockable.
如果每个显卡都有一个显示器,那么查找框应该出现在其中一个上。
另一方面,如果您使用其中一个 Matrox 多头盒从一个视频输出驱动 2 个显示器,那么您的 PC 对这两个显示器一无所知,会将它们视为一个显示器并将对话框居中(如您所见)描述)
要检查情况,请最大化一个窗口 - 如果它最大化到单个监视器,那么我错了。 如果它最大化跨越两个显示器,那么我是对的。
If you have a monitor per graphics card, then the find box should come up on one or the other.
If, on the other hand, you're using one of the Matrox multi head boxes to drive 2 monitors from one video output, then your PC knows nothing about the two monitors, treats them as one and centers the dialog (As you've described)
To check things out, maximise a window - if it maximizes to a single monitor, then I'm wrong. If it maximizes to span both monitors, then I'm right.
每次打开都是这样吗? 我的会记住上次关闭的位置。 (可能是 UltraMon 跳过了它,但不排除这种情况)
如果适合您的喜好,您还可以选择将其停靠在某个地方。
Does it open like this every time? Mine remembers the position from the last place it was closed. (Could be UltraMon jumping it, not ruling that out)
You also have the option of docking it somewhere if that suits your preferences.
对于 Visual Studio 2010,现在有一个补丁可以解决查找窗口大小和位置的此问题和其他问题:
VS10-KB2268081-x86
http://code.msdn.microsoft.com/KB2268081/Release/ProjectReleases.aspx?ReleaseId=4766
该补丁表示它将修复尺寸问题,但似乎也解决了放置问题。
For Visual Studio 2010, there is now a patch that takes care of this and other problems with the find window's size and placement:
VS10-KB2268081-x86
http://code.msdn.microsoft.com/KB2268081/Release/ProjectReleases.aspx?ReleaseId=4766
The patch says it will fix the size issue, but it seems to take care of the placement problem too.