Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :

Visual studio handy Shortcuts

Shashi s Profile Picture Shashi s 1,203

Considering your code and you want to comment a block of code using your keyboard!!
Well…no worries…
Select the code you want to comment
Press Ctrl + K + C
to Uncomment the code
Press Ctrl + K + U

Unfortunately unlike eclipse it dosent use the same shortcut to comment and uncomment the code.

Another good editing shortcut:
Have you ever tried to delete a line, and then started to use backspaces or del keys to format the code?
Well…if you do want to remove the line completely….even without selecting the whole line
press Shift + Del and the line will dissapear without affecting anything else

Collapse all Regions / Blocks
Ctrl + M + O

some good shortcuts given at http://visualstudiohacks.com/navtricks



This was originally posted here.

Comments

*This post is locked for comments