RubyMine version 6.3 and later has real multi-line editing. Simultaneously edited text areas do not have to be vertically adjacent and vertically aligned (since they must use the column selection mode).
Short,
- option-click (on Mac, Alt-click on Windows or Linux) to create additional carriages, edit as usual, then press escape to return to one carriage
- select text and control-G (on Mac; alt-J on Linux and Windows) to find the next occurrence of that text and add a caret
- There are also editor commands to add cutters (Clone Caret Below, Clone Caret Above), which are not connected by default, but you can snap to the keys of your choice.
Read more here: Whats Mining: Multiple Cursors and Choices
(Column selection mode still works fine for areas of text that are vertically offset and aligned.)
source share