IntelliJ IDEA 2017.3 Help

Navigating to Next/Previous Error

On this page:


Another method of code navigation is to move between found errors and warnings. The caret is positioned immediately before the code issue.

You can configure the way IntelliJ IDEA navigates between code issues: it can either jump between all code issues or skip minor issues and only navigate between detected errors.

Configuring error navigation

To configure the error navigation

  1. Right click the code analysis marker.
  2. On the context menu, choose one of the available navigation modes:
    • To have IntelliJ IDEA skip warnings, infos, and other minor issues, choose Go to high priority problems only.
    • To have IntelliJ IDEA jump between all detected code issues, choose Go to next problem.

Navigating between errors or warnings

To navigate between errors or warnings, do one of the following

  • On the main menu, choose Navigate | Next / Previous Highlighted Error.
  • Use keyboard shortcuts F2 and Shift+F2 respectively.
Last modified: 6 March 2018

See Also