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 similar shortcut in IntelliJ?
Shortcut to use Eclipse shortcuts in IntelliJ Idea: Press ctrl+`(also have tilde~ on it, button at the left side of digit 1). Then press 3 (Keymap) and select 2 (Eclipse). Done!
If you want to mimic the Eclipse behavior, you can invoke the Build Project action Ctrl+F9 - it will save the changed files and compile them. You can also enable the Build project save action in Settings/Preferences | Tools | Actions on Save.
Find word at caret, default is Ctrl+F3, can be changed in File
| Settings
| Keymap
:
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.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With