Tom Goff's .Net Musings

Tidbits of information regarding .Net, C#, and SQL Server.

TOTW: Visual Studio’s Shortcuts

leave a comment »

Visual Studio has a lot of functionality, some of which is mostly unknown. It’s hard to present all the functionality Visual Studio has to offer without overwhelming the user. Therefore, most commands are not visible through the menu or toolbars. However, there are many more commands tied to keyboard short-cuts.

We are all familiar with keyboard short-cuts which use a single key along with a combination of the Control, Alt, and/or Shift keys. Some examples of these types of short-cuts include Ctrl+C for copy, Ctrl+X for cut, etc. Visual Studio 2005 introduced key chords, which are multiple keys typed while holding down the Control key. For example, if you select some code then press and hold the Control key and type K+C, then the selected code will be commented out. These key chords allow a single key, such as C, to be used for various commands. In addition, the first key of the chord can be used to group similiar commands. For example, Ctrl+K+U will uncomment the selected text.

I’d recommend learning the short-cuts for commands you use frequently. If a command you use alot does not already have a short-cut, then I’d recommend assigning one. Microsoft as alot of information on this subject, but I’ve included some links to get you started:

Advertisements

Written by Tom

October 7, 2007 at 10:12 pm

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: