wotney
wotney

Reputation: 1046

How to search VS2012 - only in certain file type

this should be a nice, easy fix for someone.

I want to search for let's say "url" but I only want to search *.cs files because I don't want the search tool to return all the HTML instances of "url"

I'm sure I was able to do this in previous versions of Visual Studio

Upvotes: 0

Views: 242

Answers (1)

wotney
wotney

Reputation: 1046

Yes, it was indeed a nice easy fix...

Whereas:

Ctrl-F (find) the scope was automatically set to "document".

When you pressed Ctrl-Shift-F, the scope was set to entire solution.

Now - Ctrl-Shift-F brings up "Find in Files" which is what I wanted.

Upvotes: 2

Related Questions