Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Visual Studio 2012 UI: QuickFind disappeared?

In Visual Studio 2012RC, I am trying to bring back QuickFind, which was correctly working up to the moment I unfortunately decided to use the Find in Files functionality.

Now pressing CTRL+F or CTR+shift+F will, in both cases, bring up the Find and Replace [Find In Files, Replace In Files] window. I temporary managed to add the "Switch to Quick Find" toolbar icon, which worked once. But now even that does not work.

I have tried to remove the keyboard shortcut to Find in Files and QuickFind and reassign the one to QuickFind, but it does not help.

Same if I use QuickLaunch: regardless I select QuickFind or Find In Files, I always get Find In Files.

Any idea apart re-installing the whole application?

EDIT

This seem to happen only for a specific file. If I bring up a different file in the editor, Ctrl+F will bring up QuickFind. It looks like it is storing somewhere the search method and that is overriding the QuickFind. Very confusing. Any ideas how I can fix this?

like image 704
eddo Avatar asked Sep 07 '12 06:09

eddo


3 Answers

Understood what is the issue. Ctrl+F will not bring up QuickFind when the document window is in split mode.

Must be a bug of VS2012.

like image 150
eddo Avatar answered Nov 26 '22 12:11

eddo


It seems that some file types do not support the quick find feature (which is probably a bug). I found that *.SQL file types do not allow the quick find, whereas *.cs works just fine. As a test:

  1. I created a TextFile1.TXT file in my solution and it works with quick find.
  2. I renamed the file to TextFile1.SQL and the quick find doesn't appear. You get the full find dialog instead
like image 36
GeoMac Avatar answered Nov 26 '22 12:11

GeoMac


There's a bug, which Microsoft wont fix :(

https://connect.microsoft.com/VisualStudio/feedback/details/769189/ctrl-f-opens-find-in-files-rather-than-find

like image 33
John Warlow Avatar answered Nov 26 '22 13:11

John Warlow