views:

200

answers:

5

In Eclipse you can search for a file in the project by pressing CTRL-SHIFT-R.

Is there a way to do this in Visual Studio?

A: 

click Ctrl+Shift+F and find what you want in files

Davit Siradeghyan
thanks, had used that for searching text in files but not file names
Edward Tanguay
Why is it the accepted answer if it doesn't actually do what you asked? ;-)
Joachim Sauer
It does answer my question, in the CTRL+Shift+F popup, there is a box "search for these file types", I change (star).(star) to "CoreEdit" and find my file "CoreEditor.cs". But the best answer was deleted: if you have resharper type CTRL-ALT-T, that is the same UX as in Eclipse.
Edward Tanguay
Actually the Visual Studio way is better than resharper's CTRL-ALT-T since I can search for "Editor" anywhere in the filename, with resharper you have to know how the name starts.
Edward Tanguay
Ctrl+Shift+F doesn't find file names in VS2010.
Mario
+1  A: 

I use usysware DPack: http://www.usysware.com/dpack/

Then I just press ALT-U start typing the filename and choose the correct file. DPack also has other nice features. Will not work in Express editons of Visual Studio since they don't allow plugins.

Erwin
interesting, does it conflict with resharper do you know?
Edward Tanguay
Works for me, but resharper got file search ctrl-shift-t
Erwin
+1  A: 

In the search dropdown on the standard toolbar, you can use the "open file" macro, >of, to find files. Click in said dropdown (or hit Ctrl-D) then start typing (minus the quotes) ">of CoreEdit.cs", and you'll get a dynamic list that narrows as you type.

kirkus
A: 

Since you mention ReSharper in a comment:

You can do this in ReSharper by using the "Goto File..." option (Ctrl-Shift-N or ReSharper -> Go To -> File...) in my key mappings.

adrianbanks
+1  A: 

Visual Assist:

http://www.wholetomato.com/

Install, load solution, press Shift+Alt+O, search for files in solution by substring. Try also Shift+Alt+S, for the equivalent for symbols. This addin has a bunch of completion popup and syntax colouring stuff in it that aren't to all tastes, but the code browsing features are done well and seem uncontroversial.

Judging by comments on the forums, compatibility with Resharper is something they pay attention to.

For free, try also Nifty Solution:

http://code.google.com/p/niftyplugins/

I haven't used this myself, but I use the author's Nifty Perforce plugin, and that is pretty tidy.

brone