Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Go to next compiler error across project in IntelliJ

I spend a lot of time going back and forth between SBT and IntelliJ, getting a file, line number, and error from SBT and navigating to it in IntelliJ. Is there a way to automate this at all? Even if it's only via IntelliJ's compiler, I'd love to be able to navigate to the next error project-wide.

like image 704
blaha Avatar asked Jul 24 '14 16:07

blaha


People also ask

How do I get to next error in IntelliJ?

Navigate between errors or warnings To jump to the next or previous found issue in your code, press F2 or Shift+F2 respectively. Alternatively, from the main menu, select Navigate | Next / Previous Highlighted Error. IntelliJ IDEA places the caret immediately before the code issue.

How do I navigate between projects in IntelliJ?

Switch between projects If you have several opened projects at the same time, you can switch between them using the following options: Switch to the next project window: Ctrl+Alt+] (Window | Next Project Window) Switch to the previous project window: Ctrl+Alt+[ (Window | Previous Project Window)

How do I select next occurrence in IntelliJ?

Press ⌘G (macOS), or F3 (Windows/Linux), to move to the next occurrence of a word. Pro tip: Use ⌃⌘G (macOS), or Ctrl+Alt+Shift+J (Windows/Linux), to select all occurrences of the same word.

How do I go to previous method in IntelliJ?

Use ⌘[ (macOS), Ctrl+Alt+Left Arrow (Windows/Linux) to navigate backwards and ⌘] (macOS), Ctrl+Alt+Right Arrow (Windows/Linux), to navigate forwards.


1 Answers

To navigate between errors or warnings in IntelliJ you can do one of the following:

  • Use keyboard shortcuts F2 (Next) and Shift+F2 (Previous) respectively.
  • On the main menu, choose Navigate | Next / Previous Highlighted Error.
like image 166
AlejandroDG Avatar answered Sep 25 '22 10:09

AlejandroDG