Commenting Selections

For languages that support comments, the Code Editor can comment entire selections of code. The Code Editor recognizes two types of commenting:

  • Line Commenting - entire lines are commented from the start (for example, // This is a comment)
  • Stream Commenting - sections of a line are commented from a specified start point to a specified end point (for example, /* This is a comment */).

You can toggle comments on the current line or selection by pressing [Ctrl]+[Shift]+[C] for line comments, or [Ctrl]+[Shift]+[X] for stream comments.


For more information on customizing selection commenting for each language, see the Configuration Guide.