7

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.

Crystal
  • 28,460
  • 62
  • 219
  • 393

2 Answers2

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
5

This worked for me:

  1. Go to HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\10.0\Find (or whichever version you require - 11.0 for me)
    1. Locate the items named Filter # (Filter, Filter 0, Filter 1, Filter 2, etc.)
    2. Look for the one whose value is the incorrect string of file types
    3. 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