.NET Tips and Tricks

Blog archive

Visual Studio Tip: Create Your Own Keyboard Shortcuts

Probably the most popular tip has been in this column has been the one on four Visual Studio keyboard shortcuts. But if you want, you can create your own shortcuts for any Visual Studio commands you use a lot. Of course, most commands are already assigned to keyboard shortcuts, but this feature also lets you define a command to some key combination you'll actually remember.

To create your own shortcut, go to Tools | Options | Environment | Keyboard. From the listbox in the middle of the resulting dialog, select the Visual Studio command to which you want to tie your keyboard shortcut (there are lots of commands, so the search function that's provided can be helpful here). Then click in the Press shortcut keys textbox and press the key combination you want to use for the command. Click the OK button and you've created your own shortcut.

Posted by Peter Vogel on 07/29/2012 at 1:16 PM

comments powered by Disqus

Reader Comments:

Tue, Jul 31, 2012 Peter Vogel Canada

Fabian: That makes so much sense!

Mon, Jul 30, 2012 Fabian Fernandez Uruguay

I always set CTRL+W to close current opened document. It is a standard used by web browsers, windows file system browser, and lots of other programs. I can't believe Visual Studio hasn't adopted it, at least until 2010, I don't know of 2012 yet.

Add Your Comments Now:

Your Name:(optional)
Your Email:(optional)
Your Location:(optional)
Please type the letters/numbers you see above

.NET Insight

Sign up for our newsletter.

I agree to this site's Privacy Policy.