34

The "Navigate To" function (CTRL + comma) does not work on my solution. It gets stuck on "Found 0 matching results" while the little progress bar stays there but is empty.

I searched for some kind of IntelliSense cache file next to the .sln, but all I found was a .suo file which I deleted but it did not help.

Why is it not working?

ΩmegaMan
  • 29,542
  • 12
  • 100
  • 122
Jan Zich
  • 14,993
  • 18
  • 61
  • 73
  • 2
    Did you solve the problem? I tried everything including re-installation of Visual Studio, without success. – Evgeny A. Sep 21 '12 at 18:52
  • I tried everything. Disabled all extensions, uninstalled resharper, ncrunch, kitchen & sink. Last resort system restore to before recent windows update brought it back to life. Now to find out what was the cause. – Phil Cooper May 07 '14 at 14:44

9 Answers9

37

I had the same problem. I went to Tools > Options... > Environment > Keyboard and clicked Reset. Yes, it will reset any customizations you had, but I figured that was the problem for me (I had an add-in take over Ctrl-, and even when I disabled the add-in it wasn't working). Resetting the keyboard shortcut customizations did the trick.

Abigail
  • 371
  • 3
  • 2
23

The command is not "Navigate-To" but actually Edit-GotoAll and it has the keyboard shortcuts of Ctrl-T and the more known one of Ctrl-, (comma).

Reference Default keyboard shortcuts in Visual Studio


Solution

Here are the steps to resolve

  1. Verify it is working by trying the opposite keyboard shortcut. If both shortcuts do not work type in "Edit Goto All" in the command search/execute box of Visual Studio.

View of the operations search dialog

  • Does the command work? If it does not work then do a reset via Visual Studio Options:

View of the options dialog

  1. Then verify or add the keyboard command to the command in the mapping after the reset.
  • Type in "Edit.Goto" in the Window commands containing
  • Then selected Edit.Goto.All:

enter image description here

If you do not see the mapping (#3)

  1. Add the keystroke in the box where bubble 4 is above and click Assign.
  2. Set OK as shown on bubble step 5.
ΩmegaMan
  • 29,542
  • 12
  • 100
  • 122
  • You should read the articles that you link. While you are right that the command referred to as `Edit.NavigateTo` does not exist in VS and is in fact `Edit.GoToAll`, the former is definitely listed in **your own** [link](https://docs.microsoft.com/en-us/visualstudio/ide/default-keyboard-shortcuts-in-visual-studio?view=vs-2019). It is even still officially listed for [VS 2022](https://docs.microsoft.com/en-us/visualstudio/ide/default-keyboard-shortcuts-in-visual-studio?view=vs-2022) too. The fault undeniably comes from Microsoft being unable to correctly document their products, as always. – adamency Sep 02 '22 at 17:20
4

This is for Chinese user only. This is because of the Sogou Pinyin (搜狗输入法)occupy this shortcut system wide. And it won't release if you just uninstall it.

Go to here to disable it: Language->Advanced settings->Change language bar hot keys

Uninstall it is not working, you need disable that setting then uninstall it.

happlebao
  • 196
  • 3
  • 11
4

The Navigate To Feature does not use an on disk cache so that shouldn't be the issue.

The only thing I can think of that would cause this behavior is a bad Visual Studio install. I hate making this suggestion but have you tried repairing the install?

Lernkurve
  • 20,203
  • 28
  • 86
  • 118
JaredPar
  • 733,204
  • 149
  • 1,241
  • 1,454
2

Tools > Options... > Environment > Keyboard and clicked Reset.That will work.If you installed the latest version/framework or re-sharper of visual studio then it may happens...

Shyam Gupta
  • 489
  • 4
  • 8
1

I just got the same problem and solve it by following the instruction I found here: http://social.msdn.microsoft.com/Forums/en-US/vssetup/thread/2bbab30e-3188-406b-b492-eabf8c2fbc0b/

Jack
  • 121
  • 2
  • 10
  • Worked for me. I disabled the Default Browser Switcher and it worked again. Funny thing was that when I re-enabled the Default Browser Switcher, everything still worked. Probably some glitch during an update of the extension. – Matthijs Wessels Dec 31 '12 at 10:01
1

For Chinese users, if you are using Sogou Pinyin, you can turn off Ctrl + Comma thru this.

enter image description here

Renats Stozkovs
  • 2,549
  • 10
  • 22
  • 26
wannadream
  • 1,669
  • 1
  • 12
  • 14
0

Use spyxx_amd64.exe in this answer should work for most cases. https://stackoverflow.com/a/43645062/1179950

However, this didn't work for me... For my case, which is caused by language keyboard hotkey setting in Windows. By Sougou Pinyin though I have uninstalled it..

You can unset this in Control Panal (Windows 10): Region&Language -> Advanced keyboard settings -> Language bar options ->Advanced Key settings panel

Unset all hotkeys you wont use!

Zen
  • 621
  • 4
  • 11
0

For traditional Chinese users, you muse use the old version of new Cangjie.

Ctrl+Comma