Search for specific files only

In VS2010, is it possible to search only a specific type of file? I want to search only my cs code and exclude .aspx and VS generated code from datasets and edmx files.

+3
source share
5 answers

Go to Find in Filesand fill in the search bar Find What:and open "Search Options" and fill in Look at these file types:with *.cs.

enter image description here

+8
source

In the section "Search and replace / search in files" (Ctrl + Shift + F), expand "Find options", then you will see the "Look at these types of files" window. Enter "* .cs" there, and it will only look at files with the extension .cs.

+1
source

Use search in search files.

You can specify the file extensions you want to find.

0
source

In the Find in Files dialog box, there is an option to Search in These File Types under the Search Options section.

0
source

All Articles