Comment/Uncomment Selection

CodeRush adds a shortcut which enables you to comment and uncomment the selected code parts with a single keystroke:

  1. Select the code block to comment out or uncomment.
  2. Press the / (slash) key.
Note

Use the ' (apostrophe) key to comment/uncomment Visual Basic code.

Typing_Comment_Sel_GIF