How can I select next occurrence in IDEA editors

On Mac OS X, you can select the next occurrence with Ctrl+G


In the settings window, search for ”Add Selection for Next Occurence” (PhpStorm 8.0.1)

On mac the default is ctrl+G, but you can change it to ctrl+D (or cmd+D on mac)


I believe they recently added this to the latest IntelliJ release, and I would assume PhpStorm as well. As the bindings are system specific, take a look at http://blog.jetbrains.com/phpstorm/2014/03/working-with-multiple-selection-in-phpstorm-8-eap/. Looks like that version is available through EAP, so don't know when they will release it for general consumption (or if they have already).

DEFAULT SHORTCUTS

Alt+J on Windows and Linux, Ctrl+G on Mac OS X


On Windows

Alt+j - Multiple Select

Alt+Shift+j - Unselect Multiple Select