Does anyone know how to remove the default "Look at these file types:" in Find and Replace? In my VS, whenever the rare occasion I tell VS to look in just *.cs, or just *.less, when I open Find and Replace, it prepopulates it with the last one I used. This only happens on my first Find and Replace after opening Visual Studio. It's kind of annoying that it prepopulates on first start up.
Asked
Active
Viewed 1,330 times
2 Answers
9
Rather than deleting the text in 'Look at these file types', select *.*
from the drop down list. When you next open VS, it will default to *.*
.

Carl Sharman
- 4,435
- 1
- 30
- 29
-
3This should be the accepted answer. Boo with that registry crap. – IRCraziestTaxi Nov 13 '17 at 19:02
5
This worked for me:
- Go to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Find (or whichever version you require - 11.0 for me)
- Locate the items named Filter # (Filter, Filter 0, Filter 1, Filter 2, etc.)
- Look for the one whose value is the incorrect string of file types
- Modify the value of that item to be the empty string
Answer found here: https://connect.microsoft.com/VisualStudio/feedback/details/577602/look-at-these-file-types-field-remembers-the-value-forever

Ciaran Martin
- 578
- 4
- 12
-
Is there a way to turn this setting off after I delete those values to not save that as a filter? – Crystal Jul 22 '15 at 17:32
-
I'm not sure. I haven't had the issue re-appear since making this change. – Ciaran Martin Jul 23 '15 at 09:40
-
3I think this is no longer where Visual Studio 2019 stores it. Any idea where it's at now? – Protector one Mar 30 '20 at 11:03