Alex Rivera | Logout

Visual Studio find - filter by file type?

Asked 2011-03-08T06:12:14.707
13

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.

Edit
Report

1 Answer

29

Find options

You can choose file types from default or type your own. Regular expressions available for complex search.

answered 2013-01-16T07:57:03.637

Your Answer