Visual Studio Shortcuts

June 27th, 2008

This is a list of great shortcuts every visual studio developer should know:

ALT + CTRL + E: Opens the Exception Window where you tell Visual Studio to halt at a specific Exceptions or ignore all/some Exceptions

CTRL + K + F and CTRL + K + D: Both format the code to be nicely indented. D will format all the document, f formats only selected text. These shortcuts are for all types of documents such as HTML, Xaml, XML, C# and etc.

SHIFT + DEL: Cuts entire row where cursor is and pastes it to clipboard. No need to select the row.

CTRL + K + C and CTRL + K + U: These are for commenting and uncommenting selected text. C for commenting and u for uncommenting.

ALT + ENTER and F4: Opens up Proterties window.

CTRL + K + S: Opens Surround With Code snippets window.

CTRL + ALT + G and SHIFT + F9: Opens Quiick Watch Window while debugging.

Leave a Reply

You must be logged in to post a comment.