How to go to next/previous occurrence in current editor tab?

Finding Word at Caret: Ctrl+F3:

Search for a word at caret enables you to quickly find the exact match for the current word, without changing any search options. With the match once found, you can navigate between the occurrences of the term.

Note that after it has found occurrences, it immediately goes to the first occurrence.


The functions for this are called Go to {next,previous} highlighted element usage and are available by default only via the menu EditFind. No key press is associated to this function by default. (IntelliJ IDEA 2018.3 (Community Edition))

You can set them to a specific key press in the keymap: FileSettingsKeymapMain menuEditFind and double click on the function you want to set.

EDIT: IntelliJ IDEA 2021.3 (Community Edition): via main menu EditFind UsageNext(Previous) Highlighted Usage


The feature is called Find Word at Caret:

Search for a word at caret enables you to quickly find the exact match for the current word, without changing any search options. With the match once found, you can navigate between the occurrences of the term.

You can use Ctrl+F3 for that:

  • select a word at caret

  • hit Ctrl+F3 and then F3 or Shift+F3 to navigate to the next/previous occurrence

Mac OS

Please note that there is no shortcut on Mac OS. You'd need to use Cmd+Shift+a and type "Find Word At Caret" ("find wo" should be enough) or on the main menu, choose Edit | Find | Find Word At Caret. Press Cmd+g to navigate to go to the next occurrence.

Separate Plugin

Or, try this plugin - it supports using Shift+Alt+Up and Shift+Alt+Down to navigate up and down to each identifier occurrence

To make this feature available by default please, vote for IDEA-59638


Use Ctrl+Shift+F7 to highlight the usages of some variable in the current file, then use F3 or Shift+F3 to navigate through the highlighted usages.

(It works in IntelliJ IDEA 2016.1.3)