Searching for a file in Visual Studio 2008

Ok, some of you might find it bad that I'm triyng to relate Eclipse with Visual Studio too much, feature to feature. But I can't help it, having used Eclipse for the past 3 years.

 

So I was trying to find a functionality like "Open Resource" (CTRL + SHIFT + R) in Eclipse. I've been using Visual Studio for a good 4 months now and I found myself searching by using ctrl + shift + f (entire solution) and hope that something would match the keyword I type in. The latter is useful if you want to fnd a particular occurence of your search parameter, but I only wanted to find a file in our 10+ or more projects in one solution.

The solution was to append >of in the search box followed by a few words of the filename you're searching for.

>of <SPACE> <SOMETHING_THAT_THE_FILE_BEGINS_WITH>

A list of possible matches would appear below the search box.

 

Reference:

http://www.alteridem.net/2007/09/11/quickly-findopen-a-file-in-visual-studio/

Published 07-31-2009 3:06 AM by lamia
Filed under: ,