I know there is keyboard shortcut for single line(//....) commenting Ctrl + K + C and uncommenting Ctrl + K + U .
My question is that, is there any default keyboard shortcut for block (/* ...... */) commenting and uncommenting? If yes how?
And If there is no default block commenting keyboard shortcut defined, So is there a way i could add my own keyboard shortcut for this? How do i do that?
I have found lot of questions regarding commenting, but haven't found spoken about block commenting anywhere. Any help is appreciated :)
I used FeinCtrl to list all available commands, and there are only two related to commenting code in/out: Edit.CommentSelection and Edit.UncommentSelection; there are no other commands that could do a block commenting.
You can add your own shortcuts to any EXISTING command by going into Tools -> Options -> Environment -> Keyboard, selecting a command and assigning your new key combination.
If you search this site, you'll find a lot of reasons to NOT use block comments at all.