eclipse ctrl+k equivalent shortcut in IntelliJ

后端 未结 9 2075
挽巷
挽巷 2021-02-01 13:49

In Eclipse, if the cursor is over a word and you press Ctrl+K you will jump to the next occurrence of that word in the file.

Is there a si

9条回答
  •  無奈伤痛
    2021-02-01 14:19

    You will need 2 Steps to archive a similar behavior:

    Step 1:

    Press Ctrl+F3 to start a search for the current selectet text (if no text is selected then the whole word will be taken).

    Step 2:

    Press F3 to jump to next occurrence or Shift+F3 to jump to the previous.

    This approach will even continue the search for the text if you switch to another file. Just press F3 and you will jump to the next occurrence in the other file.

提交回复
热议问题