Why is Visual Studio 2022 "go to all" or search feature dialogs not showing all of a sudden?

huangapple go评论56阅读模式
英文:

Why is Visual Studio 2022 "go to all" or search feature dialogs not showing all of a sudden?

问题

多年来,我一直在使用映射的Ctrl+T '转到所有'快捷方式在Visual Studio中搜索类、方法和属性,取得了很大的成功。

大约一周前(可能是在更新之后 - 我不确定,因为我开启了自动更新),它停止工作了。即使我手动点击'搜索'工具(或使用默认的Ctrl + Q快捷键),也什么都没有发生。没有弹出对话框出现。

我现在似乎无法恢复这个功能。发生了什么?

我尝试过以下方法:

  • 重启了Visual Studio
  • 重启了计算机
  • 重新映射了Ctrl+T '转到所有'快捷方式

如果有其他想法/建议,将会很有用,因为我非常依赖这个功能来提高工作效率。

值得一提的是,我还没有提出错误或向Microsoft提问 - 我想知道是否有其他人遇到过这个问题,然后再决定如何处理。

我正在使用Microsoft Visual Studio Professional 2022(64位)- 当前版本17.6.2。

英文:

For years I have been using the mapped Ctrl+T 'Go To All' shortcut to search for Classes, Methods and Properties in Visual Studio with a great deal of success.

A week or so ago (perhaps after an update - I'm not sure as I have auto updates on) it stopped working. Even when I manually click on the 'Search' tool (or use the default Ctrl + Q shortcut); I get nothing. No popup dialog appears.

I now can't seem to get the feature back. What's going on?

I have tried the following:

  • Rebooted Visual Studio
  • Rebooted the machine
  • Remapped the Ctrl+T 'GoToAll' shortcut

Any other ideas/suggestions would be useful as I am quite reliant on the feature for productivity.

Worth mentioning that I haven't raised a bug or asked Microsoft yet - I was wondering if anyone else had this issue before I go ahead and do that.

I'm using Microsoft Visual Studio Professional 2022 (64-bit) - Current
Version 17.6.2

答案1

得分: 4

对于它的价值...

在VS Pro 2022(64位)17.6.3上,我遇到了相同的问题,

但是...
如果我选择一些文本,按Ctrl-T,等待几秒钟,然后按Enter,我会导航到我认为可能是第一个搜索结果的地方。

所以看起来问题是GoTo All对话框被激活了,但不可见。 "Goto All"搜索显然正在进行,但是看不见。

这使得部分功能成为可能,但无法看到并选择搜索结果。

(在最近的更新中,Ctrl-,结果列表中添加了一个预览窗口,这可能是一个不错的添加。但几天后,它什么都不做。Ctrl-T做“某事”,Ctrl-什么也不做,就像对你来说一样,即使我尝试重新映射Goto All。)

希望这至少能在有修复之前提供一点帮助。

更新:在切换回不同的多显示器设置后,Ctrl-T对话框再次显示出来。它可能是在其他显示器设置时弹出或接近屏幕之外。

如果对你来说也发生了这种情况,这是如何将其找回的方法:
在使用Ctrl-T激活窗口后,
按Alt- M
然后使用鼠标或箭头键将该窗口移回到你的屏幕上。

英文:

For what it's worth...

I'm having the same problem on VS Pro 2022 (64-bit) 17.6.3,

BUT...
If I select some text, hit Ctrl-T, wait a few seconds, then hit Enter, I get navigated to what I presume would have been the first search result.

So it seems like the problem is that the GoTo All dialog is getting activated but is not visible. The "Goto All" search apparently is happening but invisibly.

This makes part of the functionality possible but not the ability to see and choose from the search results.

(In some very recent update there was a preview window added to the Ctrl-, results listing which may have been a nice addition. But a few days later, it does nothing. Ctrl-T does "something" Ctrl- does nothing, like for you, even after I tried remapping the Goto All.)

Hope that helps at least a little until there is a fix.


...Update: After switching back to a different multi-monitor setup, the Ctrl-T dialog shows up again. It probably was popping up off screen or near off-screen with the other monitor setup.

If that is happening for you, here's the how to get it back:
After activating the window with Ctrl-T,
Alt-<space> M
then use the mouse or arrow keys to move that window back on your screen.

答案2

得分: 4

我已经找到了解决方法。

  • 在“调试”->“选项”->“环境”->“预览功能”中关闭“新的Visual Studio搜索体验”功能。
  • 重新启动Visual Studio

Ctrl+T现在按预期工作 - GoToAll弹出窗口出现。

英文:

I have managed to find a work around for this.

  • Turn off the 'New Visual Studio Search experience' feature in Debug->Options->Environment->Preview Features
  • Restart Visual Studio

Why is Visual Studio 2022 "go to all" or search feature dialogs not showing all of a sudden?

Ctrl+T now works as expected - the GoToAll popup appears

答案3

得分: 0

GaryGI的回答让我找到了正确的方法。他写道:
>如果你遇到这个问题,以下是恢复窗口的方法:在使用Ctrl-T激活窗口后,按下Alt-空格键-M,然后使用鼠标或方向键将窗口移回屏幕上。

我确实测试了这个方法,但在我的情况下移动窗口没有起作用。不过,还有一个“最大化”选项(Alt-空格键-X),这将使窗口重新可见!

英文:

GaryGI's answer got me on the right path. He writes:
>If that is happening for you, here's the how to get it back: After activating the window with Ctrl-T, Alt-<space> M then use the mouse or arrow keys to move that window back on your screen.

I DID test this but moving the window didn't work in my case. BUT, there's also the "Maximize" option (Alt-<space> X) and this would make the window visible again!

huangapple
  • 本文由 发表于 2023年6月12日 23:15:59
  • 转载请务必保留本文链接:https://go.coder-hub.com/76458047.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定