
You can assign your custom shortcuts to these actions as described in configuring keyboard shortcuts.Īdd carets at each line of the current document Note that by default these actions are not associated with keyboard shortcuts. Press Control+Shift+A, type Clone caret, and choose the desired action from the suggestion list: Otherwise, in lines, which are shorter than the current offset, carets will be added at line ends.Įnable the column selection mode (press Alt+Shift+Insert) and then press Shift+ArrowUp/ Shift+ArrowDown. If virtual spaces are enabled, new carets will be added exactly above or below the current caret position. Press Control twice, and then without releasing it, press up or down arrow keys. The last caret will not be removed.Īdd carets above or below the current caret using keyboard You can enable virtual spaces on the Editor | General page of the IDE settings Control+Alt+S and they are also enabled in the column selection mode.Īdd or remove carets at selected locations using mouseĪlt+LeftClick at the target location to add another caret.Īlt+LeftClick at one of the multiple carets to remove it. As soon as you start typing at a position beyond the end of the line, the necessary number of spaces will be added between the end of the line and the beginning of your input.

This way you can add new carets anywhere after the last character in any line. If there is no character, tab, or whitespace at the position where you want to add a new caret, the new caret will be added to the last character position in the target line.
