We pay for user submitted tutorials and articles that we publish. Anyone can send in a contributionLearn More
This is a list of 10 great shortcuts me and my co workers use frequently, we thought you all should know too. Here they are:
and much more.
ALT + CTRL + "e": This one will open the Exceptions window, which allows you to tell Visual Studio to halt at specific exceptions, halt on all exceptions or selecet some exceptions to ignore.
CTRL + "k" + "f" and CRTL + "k" + "d": these two will format the code in the window to be nicely indented. using "d" will format all the document while using "f" will format only selected text. The formatting is for all types of documents, HTML, Xaml, XML, C#… This one is my favorite.
SHIFT + Del: This one will cut the entire row from the document and past it to the clipboard. No need to select the row, just put the marker there and click SHIFT + Del and it is gone.
CTRL + "k" + "c" and CTRL + "k" + "u": These two are for commenting selected text (the "c" options) and uncommenting selected text (the "u" option).
ALT + ENTER: this little shortcut will open up the Properties window
CTRL + "k" + "s": This one opens up the code snippets dialogue within the code
If you want to create code snippets you should read my post about snippy the code snippets editor.
F12: I think you all know this but still F12 is the shortcut for the "Go to definition" command which will take you to the definition of the object your marker is currently on.
F9: Another one i think you all know, clicking on F9 will add a breakpoint to the code line your marker is currently at. Clicking F9 again will remove this breakpoint from that line.
CTRL + ALT + "q": This one will open the Quick watch window while you debug
That’s all I have for now. If you know of more cool shortcuts we missed, please comment.
Tags :ALTC#CommentCTRLDialogueFormatFormat TextHTMLPropertiesSHIFTShortcutsSmart TagSnippetsUnCommentVisual StudioVSWindowXamlXml
Copyright © 2012 Dev102.com
Breeze : Designed by Amit Raz and Nitzan Kupererd