hololiner.blogg.se

Rubymine multiple cursors
Rubymine multiple cursors










rubymine multiple cursors

While Alt+Shift+Click will add a new caret, double-clicking words or dragging the mouse over text ranges (keeping the same keys pressed) will add new carets with the corresponding selections. So you have to be careful when changing the selected ranges as they may include different identifiers or their parts.

#Rubymine multiple cursors code#

Selection works independently of the code structure, that is selection ranges can include any characters, identifiers, words in string literals, comments, or their parts. When you select multiple text ranges (non-contiguous selection), note the following:Įach selection range is associated with its own caret, so you can start typing to replace all selected ranges with your input, or you can press Left Arrow or Right Arrow to remove the selection ranges but keep multiple carets at beginnings/ends of the ranges.Īs soon as selection ranges overlap, they are merged into a single selection range with a single caret. Press Esc to delete all existing carets, except the one that was added last.Īlt+Shift+Click at one of the multiple carets to remove it. Select a code block in the editor and then press Alt+Shift+G.

rubymine multiple cursors

Press Ctrl+Home to set the caret at the beginning of the first line, enable the column selection mode (press Alt+Shift+Insert), and then press Ctrl+Shift+End.Īdd carets to the end of each line in the selected block 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 Ctrl+Shift+A, type Clone caret, and choose the desired action from the suggestion list:

rubymine multiple cursors

Enable the column selection mode (press Alt+Shift+Insert) and then press Shift+Up/ Shift+Down.












Rubymine multiple cursors