Editing Text and Code

Multi-Cursor and Selection

The code editor supports powerful multi-cursor and selection tools.

Multiple cursors

  • Ctrl+D — select the next occurrence of the current word, adding a cursor there. Repeat to keep selecting matches and edit them all at once.
  • Alt+Click — add a cursor wherever you click.
  • Shift+Alt+drag — make a column (rectangular) selection across multiple lines.

Indentation

  • Tab — indent. With multiple lines selected, it indents all of them.
  • Shift+Tab — outdent.

Comments

  • Ctrl+/ — toggle a line comment on the current line or selection.