Useful Shortcuts in Visual Studio

he following are some useful Keyboard Shortcuts in the Visual Studio IDE that can make ur life a lot easier:

First, the major and well-known shortcuts:

F5 Debug
Ctrl-F5

Shift-F5

Run, but not debug

Stop Debugging

Ctrl-Space when typing a symbol Complete the symbol you’re currently typing or give you a choice of possibilities
Ctrl-Space when entering arguments Show the function prototype
Ctrl+Up/Down Arrow Scroll window up/down without moving the cursor away from the current line
Shift+Alt+Arrows
(Alt+Mouse works, too)
Column selection (include of line selection)

AND My favourites:

Ctrl-K Ctrl-C Comment out selected lines
Ctrl-K Ctrl-U Uncomment selected lines
Ctrl-} Match braces, brackets or compiler directives
Shift-Ctrl-} Select match between braces, brackets or compiler directives
Ctrl-L or Shift-Del or
Ctrl-X w/ no selection
Delete entire line
Ctrl-Del Delete next “word”
Ctrl-I/Ctrl-Shift-I + string Incremental search for string
Ctrl-R+Ctrl-R Turn on/off word wrap

And now my all-time favourite!:

Ctrl-M-O Collapse everything in the current file
Ctrl-M-L Expand everything in the current file


Originally Posted By Laila Hussein to Thoughts & Tips at 2/10/2008 03:24:00 AM

Advertisements

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: