The Most Useful Keyboard Shortcuts For .NET Developers
The Most Useful Keyboard Shortcuts For .NET Developers
NET Developers
+H : Move current window to full screen F5 : Start your project in debug mode Alt+Enter : Show available quick fixes and context actions.
+D : Minimize all windows and show the desktop F6 / Shift+F6 / Ctrl+Shift+B : Build solution / Build project / Ctrl+ L Mouse : Go to declaration
+F : Launch a search window Build solution Alt+Insert : Generate code
+L : Lock the desktop Shift+Alt-C : Add a new class to your project Ctrl+Shift+R : Refactor this
+M : Minimize the current window Ctrl+K+C : Comment a selected block of code Ctrl+F6 : Change signature
+R : Open the Run window Ctrl+K+ U : Un-comment a selected block of code Ctrl+Alt+B : Goto inheritor
+Up : Maximize Current Window Ctrl+M+O / Ctrl+M +P : Collapse all code to definitions / Ctrl+E : Goto previously opened file
+Down : Restore Down / Minimize Current Windows Expand all code (stop collapsing) Ctrl+N : Goto class
+Left : Tile Current Window to the Left Ctrl+Alt+L : Show the solution explorer Ctrl+Alt+O : Optimize using directives
+Right : Tile Current Window to the Right Ctrl+Shift+A / Alt+Shift+A : Add a new item to your project / Ctrl+Shift+N : File by name
+= : Magnifier add an existing item to your project Ctrl-R-F : Takes a local variable and makes it a field
+(+/-) : Zoom in/out Ctrl+K+F and CRTL+K+D : These two will format the code in the Ctrl-R-M : Takes selected code and makes a new method
+Home : Clear all but the active window window to be nicely indented. using "d" will format all the Ctrl-R-P : Makes a local or member variable a parameter
+Tab : Flip through the programs on the Taskbar using document while using "f" will format only selected text. The for the method
Aero Flip 3-D. formatting is for all types of documents, HTML, Xaml, XML,
+ (number 1-9) : Launch apps pinned to the Taskbar (1 C#… This one is my favorite
is the left-most app; Windows Key+T cycles through all Sift+Del : It’s just a regular cut (exactly the same as ctrl-x). This
apps.) one will cut the entire row from the document and past it to
Alt+Tab : Shift between open programs. the clipboard. No need to select the row, just put the marker
Shift+Click a taskbar item : Open a new instance of that there and click SHIFT+Del and it is gone
application Ctrl+K+S : This one opens up the code snippets dialogue within
Ctrl+Shift+Esc : Open Task Manager. the code
F2: Rename the selected item Ctrl+Space: Completes the symbol you're currently typing or
gives you a choice of various possibilities
F12 : This 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 : This will add a breakpoint to the code line your marker is
currently at. Clicking F9 again will remove this breakpoint from
that line
Ctrl-M-M : This will expand or collapse based on where the
cursor is. Useful when everything is collapsed and you just
want to expand one of them.