Skip to content
Patrick Scheibe edited this page May 6, 2018 · 3 revisions

Beside simple typing (* this is a comment *), the plugin gives you many additional features to work with comments. First of all, you can use Ctrl+/ or Ctrl+Shift+/ to create a new empty comment where the cursor is already in the middle. The difference between the two shortcuts is subtle but important

  • The first shortcut will create a new comment in an empty line. On a line that contains already code or if you have selected a portion of code, this shortcut will comment out the line/selection.
  • The second short, however, will create an empty comment even, when you are in the middle of a line that contains code. This is helpful if you want to add a comment to a function parameter or directly after an expression.

Clone this wiki locally