Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Netbeans keyboard shortcut for navigating to next error marker in editor

Tags:

netbeans

Is there any keyboard shortcut key for navigating to the next error (red markers created in error stripe) in Netbeans editor?

like image 698
orak Avatar asked Aug 09 '12 06:08

orak


People also ask

How do you jump to a line in NetBeans?

Press Ctrl + G to go to a specific line. Save this answer.

How to check errors in NetBeans?

To identify potential errors in your Java code with the FindBugs configuration, complete the following steps: Open the library project in the NetBeans IDE and choose Source > Inspect from the main toolbar. In the Scope drop-down list of the Inspect dialog box, select Current Project (library) .


1 Answers

As of NetBeans 8 there doesn't appear to be a way to navigate through errors exclusively in the editor. If you look at tools->options->keymap an action does exist for this (next error in editor), but the shortcut is blank. I set it to Alt+E on my IDE, this will navigate through all annotations - not just errors. So if you don't mind cycling through all hints, warnings errors, etc, this will work.

The closest I've been able to get for navigating specifically through errors is using the action items window. Add a filter for errors, then you can use Ctrl+. and Ctrl+, to navigate through the list (see How to display all compile errors in Netbeans as a task list?).

like image 198
gebuh Avatar answered Sep 19 '22 14:09

gebuh