I found some nice shortcuts for Auto Indenting, commenting and uncommenting my codes in Visual Studio. I want to share it with the world.
Auto Indent: Select the piece of the code you want to comment or all (CTRL + a) ;)
1st Trick: "CTRL + F8" (Boom, Indented in one shot :D )
2nd Trick: Press "CTRL + k" then followed by "CTRL + F" (Two Step Indenting but it works)
(PRESS "CTRL + k" Press "CTRL + F")
Auto Comment: Again the same, Select the piece of the code or all (CTRL + a) ;)
First Press "CTRL+k" then press "CTRL+c" (Press "CTRL + k" Press"CTRL+c")
Auto Uncomment: Select the Piece of the code you want to uncomment or all (CTRL + a) ;)
First Press "CTRL+k" then press "CTRL+u" (Press "CTRL + k" Press"CTRL+u")
And one good link for shortcut Poster (Cheat Sheet) given in MSDN Blog (CLICK ME).
0 comments:
Post a Comment