I'm not sure why it's behaving randomly. My VS2010 always uses the last file filter I entered, although unfortunately it won't seem to remember me clearing out the option.
To revert it back to blank, use regedit.exe and navigate to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Find. Edit the value named "Filter" and set the data to blank.
Next time you change it to *.sql, though, Visual Studio will store it and remember it.
Duh, change the filter to * and Visual Studio will remember it and it will perform an unfiltered search. Not sure why I didn't think of it sooner.
This happens in Visual Studio 2017 as well, and I can't find the registry to clear. My workaround is to set the file type to *.*
instead of clearing it.
Visual Studio has the "feature" of storing this information in the registry. You can change the registry manually, but since we need to change the registry after every filtered search, it is useful to have a .reg file to do it.
Save as 'Reset Search in Visual Studio.reg':
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\12.0\Find]
"Query"="Entire Solution"
"Filter"=""
"Filter 0"=""
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\11.0\Find]
"Query"="Entire Solution"
"Filter"=""
"Filter 0"=""
[HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Find]
"Query"="Entire Solution"
"Filter"=""
"Filter 0"=""
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