The Most Useful Keyboard Shortcuts for .NET Developers.pdf ...

1 downloads 112 Views 256KB Size Report
for the method. Page 1 of 1. The Most Useful Keyboard Shortcuts for .NET Developers.pdf. The Most Useful Keyboard Shortc
The Most Useful Keyboard Shortcuts for .NET Developers                   

+H : Move current window to full screen +D : Minimize all windows and show the desktop +F : Launch a search window +L : Lock the desktop +M : Minimize the current window +R : Open the Run window +Up : Maximize Current Window +Down : Restore Down / Minimize Current Windows +Left : Tile Current Window to the Left +Right : Tile Current Window to the Right += : Magnifier +(+/-) : Zoom in/out +Home : Clear all but the active window +Tab : Flip through the programs on the Taskbar using Aero Flip 3-D. + (number 1-9) : Launch apps pinned to the Taskbar (1 is the left-most app; Windows Key+T cycles through all apps.) Alt+Tab : Shift between open programs. Shift+Click a taskbar item : Open a new instance of that application Ctrl+Shift+Esc : Open Task Manager. F2: Rename the selected item

        



    

F5 : Start your project in debug mode F6 / Shift+F6 / Ctrl+Shift+B : Build solution / Build project / Build solution Shift+Alt-C : Add a new class to your project Ctrl+K+C : Comment a selected block of code Ctrl+K+ U : Un-comment a selected block of code Ctrl+M+O / Ctrl+M +P : Collapse all code to definitions / Expand all code (stop collapsing) Ctrl+Alt+L : Show the solution explorer Ctrl+Shift+A / Alt+Shift+A : Add a new item to your project / add an existing item to your project 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 Sift+Del : It’s just a regular cut (exactly the same as ctrl-x). 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+S : This one opens up the code snippets dialogue within the code 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.

By Mahdi Taghizadeh (http://mahdi.mp). Latest Revision: August 25, 2011

            

Alt+Enter : Show available quick fixes and context actions. Ctrl+ L Mouse : Go to declaration Alt+Insert : Generate code Ctrl+Shift+R : Refactor this Ctrl+F6 : Change signature Ctrl+Alt+B : Goto inheritor Ctrl+E : Goto previously opened file Ctrl+N : Goto class Ctrl+Alt+O : Optimize using directives Ctrl+Shift+N : File by name Ctrl-R-F : Takes a local variable and makes it a field Ctrl-R-M : Takes selected code and makes a new method Ctrl-R-P : Makes a local or member variable a parameter for the method