Vous êtes sur la page 1sur 3

30 Favorite Visual Studio Keyboard Shortcuts

Page 1 of 3

30 Favorite Visual Studio Keyboard Shortcuts


Wednesday, June 09, 2010 Posted by Suprotim Agarwal Labels: Visual Studio

Here is a list of my favorite Visual Studio Keyboard Shortcuts that I use all the time to increase my productivity and perform repetitive tasks with ease. I have tested these shortcuts on VS 2010, but most of them work on VS 2008 too. You can bookmark this link and make them your favorites too! Note: I am using the US Keyboard Layout!

23
tweets

retweet

StumbleUpon 34

Navigation Shortcuts

Ctrl + ] (Ctrl + Hyphen (-) (Ctrl + Shift + Hyphen (-) Shift + F7 Ctrl + Tab

Moves the cursor to the matching brace in the source file Moves cursor to its previous position Moves cursor to the next browsed line of code Switch between the Design and Source View of the document Displays the IDE Navigator with the current document selected. Allows you to navigate open documents. Also try Alt+W+2 Displays the Find in Files tab of the Find and Replace dialog box Activates Incremental Search by searching for the next occurrence of the input text. You can even use F3 Displays a list of all references for the symbol selected Moves focus to the Find/Command box

Ctrl + Shift + F Ctrl + I Shift + F12 Ctrl + /

Editing Shortcuts

Ctrl + K + C Ctrl + K + U Ctrl + L Ctrl + C, Ctrl + V

Comment a Line or an entire selected block Uncomment a Line or an entire selected block Cuts the current line Duplicate a line

Window Shortcuts

Shift + Alt + Enter Ctrl + M + O Ctrl + M + L / * Shift + Esc

Toggle Full Screen Mode Collapses all Regions to provide a high level overview of the types and members in the source file Toggles all previously collapsed Regions Collapses all tabs in a Toolbox Expands all tabs in a Toolbox. If * does not work, use Shift + 8 for ENU keyboards as explained here Closes the current Tool Window with focus

Code Completion Shortcuts

http://www.devcurry.com/2010/06/30-favorite-visual-studio-keyboard.html

9/30/2010

30 Favorite Visual Studio Keyboard Shortcuts

Page 2 of 3

Subscribe to: Post Comments (Atom) Ctrl + Period (.) Expands the Smart Tag Menu (Usually when you rename a method or need to add a using statement). You can also use Alt+Shift+F10 Inserts expanded code snippet using a shortcut (for example enter the keyword class and hit Tab twice) Completes the current word in the completion list

Copyright 2010 All Rights

Tab Ctrl + Space

Other Shortcuts

Ctrl + Shift + B F5 Ctrl + F5 F9 Ctrl + Shift + S Ctrl + Alt + L Ctrl + Shift + A Alt + Shift + A

Build the solution. You can even try F6 Start the application with Debugging Start the application without Debugging Sets or Removes a breakpoint at the current line Save all unsaved files Show Solution Explorer Displays the Add New Item dialog box Displays the Add Existing Item dialog box

You can also download the Visual Studio 2010 Keyboard Shortcuts Poster

Bookmark this link on del.icio.us (saved by 57 users)

Free Domain Name, MS SQL DB and Unlimited Data Transfer - ASP.NET Hosting

Did you like this post?

submit

subscribe via rss

subscribe via e-mail

print this post

follow me on twitter

Others also read


My Favorite Programming Fonts for Visual Studio Development Team Foundation Server 2010 (TFS) Administration Guide Does installing .NET 4.0 Framework replace the previous .NET versions? Place Opening Braces in a New Line for a JavaScript function Visual Studio 2010 Build Customization using Visual Studio 2010 (TFS 2010) Collection of .NET Framework and Visual Studio Posters If you win an Ultimate Edition of Visual Studio 2010 MSDN Subscription, how do you plan to use it?

comments
5 Responses to "30 Favorite Visual Studio Keyboard Shortcuts"

Anonymous said...
June 9, 2010 8:31 AM

Don't forget these indispensable debugging shortcuts: F9 set/clear breakpoint F10 step next F11 step into Shift+F11 return current function F5 continue Shift+F6 stop execution

http://www.devcurry.com/2010/06/30-favorite-visual-studio-keyboard.html

9/30/2010

30 Favorite Visual Studio Keyboard Shortcuts

Page 3 of 3

Alt+4 Variables Alt+7 Call Stack

Reserved

Francesco Biacca said...


June 9, 2010 8:42 AM

very useful! just a note: you should underline that they work on us config. For example, if you guys use the italian versione, you have to ctrl + to go to the matching brace

Anonymous said...
June 9, 2010 8:48 AM

One of my personal favorites: Ctrl + K, Ctrl + D ...for auto-formatting messy code / html. Also Ctrl + K, Ctrl + K for setting code bookmarks.

Suprotim Agarwal said...


June 9, 2010 12:48 PM

Francesco: Thanks! I have added a note. Other: Thanks for your comments

blog said...
June 9, 2010 7:20 PM

CTRL + L is a winner!

DevCurry.com by Suprotim Agarwal

http://www.devcurry.com/2010/06/30-favorite-visual-studio-keyboard.html

9/30/2010

Vous aimerez peut-être aussi