Reputation: 2419
Is there any keyboard shortcut key for navigating to the next error (red markers created in error stripe) in Netbeans editor?
Upvotes: 13
Views: 8456
Reputation: 101
No. there is no good and easy way on keyboard. just clicking on those red marks (by mouse) is the fastest way. (it's not an easy/good way. but the best possible.)
Upvotes: 0
Reputation: 5178
That would be Ctrl-Period ::: (Period means .)
Links to many shortcuts:
EDITED--URLs NOW VALID thru ver. 8
Upvotes: 3
Reputation: 12435
Actually question is about "next error in editor". At least in my configuration (NetBeans profile) this function doesn't have any shortcut by default so if you go to Tools->Options->Keymap and in search field you write "Next Error in Editor" you can add any shortcut that fits the best to you
Upvotes: 2
Reputation: 377
Add the Action Items window to your IDE. This lists all of your errors and is dynamic, so will be updated when you save. From the menu bar: Window->Action Items. (Took me forever to understand why when I would save, I wouldn't see any compile errors, but then it wouldn't run.)
Upvotes: 2
Reputation: 857
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?).
Upvotes: 11
Reputation: 12283
On a Mac things are different and there is no keyboard shortcut for navigating to a usage/compile error as far as I can tell.
You can go to Help -> Keyboard Shortcuts Card to see the full list of short cuts for your platform.
See https://netbeans.org/kb/articles/mac.html for info for macs and https://usersguide.netbeans.org/shortcuts.pdf for the default shortcuts for PCs.
Upvotes: 0