Visual Studio 2010、2015 - 窗口离屏

发布于 2024-11-09 09:42:27 字数 299 浏览 0 评论 0原文

我之前使用的是双显示器设置,其中一个 24 英寸显示器和笔记本电脑的内置显示器。

此后我连接了第二个 24 英寸显示器,并且不再使用笔记本电脑屏幕。 (已禁用)。

在我的常规视图(编码等)中,属性窗口、解决方案资源管理器、工具箱等都是可见的,我只需要移动/调整它们的大小以适应更大的屏幕尺寸。

不幸的是,调试视图的情况并非如此。我需要调试一些东西,但我的本地窗口和其他窗口似乎超出了屏幕边缘。我已经尝试过 Ctrl+D,L 但它似乎不想将其显示出来。

我在菜单中找不到重置窗口的命令。

知道我能做什么吗?

I was previously using a dual-monitor setup with a 24" monitor and my laptop's built-in monitor.

I've since connected a 2nd 24" monitor and am no longer using the laptop screen at all. (It is disabled).

In my regular view (coding, etc) the properties window, solution explorer, toolbox, etc were all visible and I just needed to move/resize them to fit the larger screen size.

Unfortunately this is no the case with the debugging view. I need to debug something and it appears my locals and other windows are off the edge of the screen. I've tried Ctrl+D,L but it doesn't seem to want to bring it up.

I can't find anywhere in the menu a command to reset windows.

Any idea what I can do?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(6

自此以后,行同陌路 2024-11-16 09:42:27

您可以使用键盘快捷键移动 Windows 中的任何窗口。首先,通过切换工具窗口将焦点移至窗口,即使您看不到它。然后按 alt+space、“m”,按箭头键,然后将光标移动到可见屏幕区域。如果一切顺利的话,窗口应该随之而来。您可以使用记事本窗口练习该技巧。请注意,助记符取决于您的 Windows 语言,它是法语中的“l”。

You can move any window in Windows using keyboard shortcuts. First, give the focus to the window, even if you can't see it, by toggling the tool window. Then press alt+space, 'm', press an arrow key, and then move the cursor in the visible screen region. If all goes well, the window should have followed. You can practice the trick with a notepad window. Note that the mnemonic depends on your Windows language, it's 'l' in French.

难理解 2024-11-16 09:42:27

您是否尝试过“窗口”菜单|重置窗口布局命令?显然,这会比你真正想要的更多,但也许比什么都不做要好

Have you tried the Window menu | Reset Window Layout command? Obviously that will do more than you really want, but it is perhaps better than nothing

落墨 2024-11-16 09:42:27

正如OP所示,这种离屏对话框窗口的现象似乎与双显示器一致。我通过断开双显示器并将 Visual Studio 在主显示器上启动来解决了问题。我召唤了有问题的对话框,并且能够再次访问它。手动使对话框居中,否则不起作用。重新连接双显示器,此后对话框即可正常工作。

This phenomena of off-screen dialog windows appears to coincide with having dual monitors as OP indicates. I resolved my issue be disconnecting the dual monitors and bringing Visual Studio up on the main monitor. I summoned the offending dialog and I was able to access it again. Manually recenter the dialog otherwise this does not work. Reattach the dual monitor and the dialog works properly thereafter.

假装不在乎 2024-11-16 09:42:27

我不确定这是否会重置 Window 设置,但您可以尝试删除 .suo 文件(在解决方案目录中)。这可能会将这些窗口重置为其默认位置。

I'm not sure if this will reset Window settings, but you could try deleting your .suo file (in solution directory). This might reset those windows to their default positions.

亽野灬性zι浪 2024-11-16 09:42:27

这应该仍然是一个问题。这是我的简单解决方案。

  • 删除以下文件。 (在我的例子中是“user”和“MyApps”,您的可能会有所不同。)

    C:\Users\user\AppData\Roaming\MyApps\window-state.json

  • 重新启动应用程序。

<><

This should still be an issue. Here is my simple solution.

  • Remove the following file. ('user' and 'MyApps' in my case, yours could be different.)

    C:\Users\user\AppData\Roaming\MyApps\window-state.json

  • Restart the application.

<><

花之痕靓丽 2024-11-16 09:42:27

一个小更新:我在 Windows 10 机器上使用新安装的 Visual Studio 2015(长话短说),并且“在文件中查找”对话框不在屏幕上。 Alt-m 不起作用(它会弹出“放大”对话框)。相反,右键单击 Windows 任务栏并选择“级联窗口”将对话框重新显示到屏幕上。

A small update: I'm using a freshly-installed Visual Studio 2015 on a Windows 10 box (long story) and the "Find in Files" dialog was off-screen. Alt-m does not work (it brings up the "Magnify" dialog). Instead right-click the windows taskbar and choose "Cascade Windows" to bring the dialog back on to the screen.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文