Is there any way to use Visual Studio's Find and Replace to search only through files of a specified type or types?
If I'm searching through my web project for a particular string, it winds up looking through all my javascript, css and html files开发者_高级运维 when I know all that I'm interested in is results that are in .cs files, for example.
I find myself using Notepad++ which does have the ability to limit its "Find In Files" search to only the file types I specify within the directory I specify, but would love an integrated solution.
You can choose file types from default or type your own. Regular expressions available for complex search.
In the Find Options, you can specify the settings under "Look at these file types:"
精彩评论