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.
Tools > Options > Text Editor > File Extension add your file extension with '. ' like .
You can find and replace text in the Visual Studio editor by using Find and Replace (Ctrl+F or Ctrl+H) or Find/Replace in Files (Ctrl+Shift+F or Ctrl+Shift+H). You can also find and replace only some instances of a pattern by using multi-caret selection.
You can also Search and Replace across files. Expand the Search widget to display the Replace text box. When you type text into the Replace text box, you will see a diff display of the pending changes. You can replace across all files from the Replace text box, replace all in one file or replace a single change.
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 *.*
.
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