How can I select next occurrence in IDEA editors

后端 未结 7 1078
情深已故
情深已故 2021-01-31 07:04

Ctrl+D performs the find_under_expand command in sublime. This basically searched for the next occurrence of the already selected text and sel

相关标签:
7条回答
  • 2021-01-31 07:13

    Currently its mapped with

    for selection, Alt + J

    for unselection, Alt + Shift + J

    but if you're familiar with sublime shortcuts like Ctrl + D

    Jetbrains give you an option to change settings,

    Settings -> Keymap -> Editor Actions

    search for multiple selection, find Alt + J then right click -> select change keyboard shortcuts

    set shortcuts you want as like sublime, Ctrl + D

    Here is the Docs

    0 讨论(0)
  • 2021-01-31 07:21

    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

    0 讨论(0)
  • 2021-01-31 07:21

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

    0 讨论(0)
  • 2021-01-31 07:21

    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)

    0 讨论(0)
  • 2021-01-31 07:22

    On Windows

    Alt+j - Multiple Select

    Alt+Shift+j - Unselect Multiple Select

    0 讨论(0)
  • 2021-01-31 07:25

    PhpStorm has a "Select Word at Caret", Ctl+W and Ctl+Shift+W respectively (you can check your keys by searching under Preferences > Keymap).

    Detail here: http://www.jetbrains.com/phpstorm/webhelp/selecting-text-in-the-editor.html#d617165e275

    Not entirely sure if it's the same as you mentioned, but it's mighty handy!

    0 讨论(0)
提交回复
热议问题