views:

297

answers:

2

Is there a key shortcut in Visual Studio to find & open a file inside your solution? Without using Resharper or any other tools, just VS2008?

+3  A: 

Not a single keystroke, but yes: Ctrl+D > o f <space> filename (so that's five keystrokes before you start typing the filename). It then autocompletes the filename for you.

You need the Find box in the toolbar for this to work.

(If you change your mind about addins, SonicFileFinder is for this very purpose, and free.)

RichieHindle
This is what i'm looking for. However, when I try to open a file VS, its telling me that "The operation could not be completed. The system cannot find the file specified." This doesn't make sense since VS was giving me this file in intellisence.Also I found this: http://geekswithblogs.net/hongyes/archive/2009/03/23/visual-studio-tip-navigate-to-file-by-typing-file-name.aspx Thanks
dev.e.loper
I don't know why you're getting that error, I'm afraid. It's always worked perfectly for me. Sorry...
RichieHindle
Visual Assist X has a pretty nifty Alt+Shift+O that does essentially the same thing, and it shows you a dialog of all files that match the current substring you've typed in so far while you type.
Adam Rosenfield
+2  A: 

You can also use CTRL+/, which puts the > in place for you automatically.

mellamokb