Visual Studio (2010, Ultimate) finds nothing when I do Find in Files (Ctrl+Shift+F) in the Entire Solution. However, it finds 2 occurrences when searching Current Document or Current Project.
I see that the "Total files searched" in the output window is a random number, and does not correspond to the number of files in my solution (is much smaller).
I already did devenv /resetsettings
but this didn't help.
Example of output of 2 consecutive searches in "all solution":
Find all "zoom -", Subfolders, Keep modified files open, Find Results 1, "Entire Solution", "*.vb"
Matching lines: 0 Matching files: 0 Total files searched: 24
Find was stopped in progress.Find all "zoom -", Subfolders, Keep modified files open, Find Results 1, "Entire Solution", "*.vb" Matching lines: 0 Matching files: 0 Total files searched: 32
Find was stopped in progress.
I don't know why it says "Find was stopped", because I wait the end of search (don't press any buttons).
The new experience is available by searching for “Find in Files” or “Replace in Files” in Visual Studio search (Ctrl+Q by default). You can also get to these commands with Ctrl+Shift+F and Ctrl+Shift+H respectively.
Did you know you can right click on the tab in the code editor window to access the file path or to open the folder in Windows Explorer? Check it out. By default, the file path for Visual Studio projects is very long.
I think I recognize this wellknown, longstanding bug:
The workaround mentioned there worked for me when I had this problem
I found a tip to try pressing Ctrl + ScrollLock to fix it, and it worked.
I think most people report success with the (Ctrl-)Break key, but some say (Ctrl-)ScrollLock worked instead
This is obviously a way late answer but I did get here while looking for a solution to a somewhat similar issue and I'd like to share the fix which eventually worked:
Make sure you clear the "Look at these file types:" box from whitespaces which will prevent the search from running properly.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With