Go to Next Error

Quickly move to the next (or previous) error or warning in the file.

When you open a source file in the editor, you may see warnings or errors in this file. You can quickly step through to check all these issues without having to use the mouse, just press F2 (macOS) / F2 (Windows/Linux).

While you're coding, you may want to jump to the next error or warning F2 (macOS) / F2 (Windows/Linux) or the previous one ⇧F2 (macOS) / Shift+F2 (Windows/Linux).

Interested in JVM Development?

call to action image

You can check out your Problem tool window to see any errors in your project.

Learn More


Related Resources

Context Actions
Context Actions
There are numerous ways to use Context Actions, let's explore some of them.
Inspections Widget
Inspections Widget
The top-right corner of your editor shows you information about the state of your class at a glance.
Inlay Hints
Inlay Hints
Inlay hints provide additional information about your code.