views:

457

answers:

8

Is there a built in solution in VS 2010 to quick find/open files similar to the Ctrl-Shift-O function in Eclipse?

Thanks, Cody

edit: Does resharper offer this functionality?

A: 

CTRL+SHIFT+F will bring open a find in files search dialog box. The result will be listed, usually, on the lower section of VS in a Find Files result box. Double clicking a result will open it

Chris
CTRL+SHIFT+S doesn't do anything for me? And I really want something that searches as I type. There are several addons that do it for earlier versions of VS but I was hoping that MS included it in this version of VS.
Cody C
That's "Save all".
thelost
Ctrl+Shift+F opens "Find in Files".
alastairs
Epic typo fail lol
Chris
A: 

CTRL+SHIFT+F will bring up find-in-files dialog. I haven't heard of the functionality that you are looking for; though this may help...

Alexander
Not what I'm looking for but thanks.
Cody C
+3  A: 

ctl + alt + a opens the command window, type "open" then start typing file names and it will dynamically autocomplete by available solution file name.

DShultz
Not ideal but useful. Thanks.
Cody C
Thanks! Didn't know this shortcut...
Alexander
A: 

Unfortunately, VS doesn't offer this search-as-you-type functionality (and lots more).

thelost
This is not true. Look up Navigate To in VS 2010.
Kirill Osenkov
+2  A: 

I use Ctrl + / to jump to the command bar (same as the search box, but with a > prefixed in the text). I then type "of" (for "open file") and start typing the name of the file to open. Possibly matches are automatically displayed by VS.

I also found that when using ReSharper, the familiar Eclipse shortcut for Open Type (Ctrl + Shift + T) is mapped to ReSharper's GotoFile command.

alastairs
D'oh! And only now I've edited my answer do I see the edit and comment on the question...
alastairs
+1  A: 

Visual Assist comes with something like this. You will have to pay for the plugin (and I don't think you can use plugins in the express versions).

(If you're doing C++ and you don't plan to buy Visual Assist, be sure to never install the trial. It's that addictive.)

sbi
+8  A: 

Ctrl+,

I'm surprised no one gave the right answer. Navigate To can show you a list of open files and lots more. http://weblogs.asp.net/scottgu/archive/2009/10/21/searching-and-navigating-code-in-vs-2010-vs-2010-and-net-4-0-series.aspx

CTRL+COMMA is your friend.

Kirill Osenkov
Woohoo! This is what I'm looking for and it's pretty awesome I must say. Been playing around with it. Thanks a lot!
Cody C
It can bring back more than you want sometimes but that can be helpful. For instance today, I knew we had a ValidateDate method for validating dates we insert into our DB but wasn't sure where it was. Ctrl+, and type ValidateDate and instantly saw it was in our AbstractDAO.vb
Cody C
Moreover, it understands FCLN (FirstCapitalLetterNotation). For example, to find ValidateDate, just type VD
Kirill Osenkov
Very useful, cheers...I'm using vb and for some reason I had to reset the keyboard mappings (to Visual Studio C# 2005) for this to work - Tools/Options/Keyboard/Apply the following additional..
wheelibin
Halleluja! I've been looking for that command for two months!
BrokeMyLegBiking
+1  A: 

this addin will very usefule to quickly open files from visual studio by pressong CTRL + K + O

http://visualstudiogallery.msdn.microsoft.com/en-us/3eb2f230-2728-4d5f-b448-4c0b64154da7

Jeeva S
+1. I think this is an indispensable plugin.
Dimitri C.