Thursday, 13 April 2017

Visual studio shortcuts to improve your productivity

There are some useful shortcuts to improve your productivity while writing a code.

1) Format scattered and unaligned code

     CTRL + K + D


2) Comment code

     CTRL + K + C


3) Uncomment code

     CTRL + K + U



4) Display the Smart tag menu, from which you can add references 

     CTRL + .


5) You have a used a lot F12 to go to Definition of class 

     CTRL + -


6) Find all reference

     SHIFT + F12


7) Want to put few lines of code in try block.

     CTRL + K + S


8) Selecting a rectangle code

     SHIFT + ALT + ARROW KEYs / ALT + Drag mouse click


9) Want to put few lines of code in try block.

     CTRL + K + S



Find more short cuts key below.








No comments:

Post a Comment