Dan Crevier's Blog

In search of a better name...

Visual Studio keyboard shortcuts

The Visual Studio Hacks site has a good list of navigation shortcuts here. If you haven't read the Visual Studio Hacks book, it's worth getting.

One thing I didn't see mentioned there is using the find field to open files. If you have a project with lots of files, it can take some time to find the file in the Solution Explorer. But, you can go to the find field (control-/) and then type ">open filename". It even does autocomplete on filename.

I also like the search as you type (or whatever the feature is really called). If you hit control-I and then start typing, it will find the string as you type, so you can just type enough to get where you are going.

I also find I often use control-F3 which finds the next occurence of the selected text. I used to do the same in Mac text editors with cmd-E/cmd-G. 

Published Wednesday, February 08, 2006 9:08 PM by dancre
Filed under:

Comments

 

Marty C said:

Dan

You mention control-F3.

I have been using control-F3 to find next occurence of the selected text since VC4.0.
But in VS7 2003 it does not find the selected text if the document I am searching
is not part of the project.

Do you know if there is a solution or if this has been fixed in VS7 2005?

thanks
marty
mcochran@bigfoot.com
March 2, 2006 3:10 PM
 

dancre said:

Hmm, it seems to work fine for me with non-Project files in VS 2005
March 2, 2006 11:39 PM
 

Marty C said:

I found the solution to my control-F3  "find next occurrence of selected text" problem.
It turns out that in VC7 you can finally restrict a search to the project files.
And the Project setting in the control-F (find) also applies to "find next occurrence"
March 9, 2006 12:42 AM
New Comments to this post are disabled

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker