Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Multiple selection in intellij-idea?

Is it possible to do multiple selections and change them at the same time like in sublimetext2 editor (sublimetext) ?

like image 497
Philippe Jean Avatar asked Dec 09 '12 07:12

Philippe Jean


People also ask

How do you multiply cursors?

For multi-line selection, Ctrl+Alt+Down / ⌘+Alt+Shift+Down will extend your selection or cursor position to the next line. Ctrl+Right / ⌘+Right will move to the end of each line, no matter how long. To escape the multi-line selection, hit Esc .

How do you select multiple occurrences?

Place your caret on the word or text range you want to find and select multiple occurrences of and then use ⌃G (macOS), Alt+J (Windows/Linux) to find and select the next occurrence of the word. This is a case-sensitive search.


2 Answers

There is column selection mode, but it doesn't provide the same features, please vote for this request:

  • IDEA-80056 Column selection mode improvement
like image 75
CrazyCoder Avatar answered Oct 18 '22 11:10

CrazyCoder


This is finally available!

IntelliJ IDEA 13.1 introduces Sublime style multiple selections, the top voted editor feature in our tracker!

Please refer to the Official Announcement for details and examples of how it works.

like image 30
Daniel Jomphe Avatar answered Oct 18 '22 10:10

Daniel Jomphe