Navigate and Fix Errors and Warnings in a Class With Eclipse Keyboard Shortcuts - DZone Java
I really don't like it when Eclipse shows errors/warnings annotations in a class. It's sometimes nice to jump from one to the next and clean out a class one line at a time, but most of the time they're just distractions, so I want to be able to find and fix them fast.
So there must be a better way to jump between the errors/warnings than to use the mouse or page down to the next error. These methods are not only slow but often frustrating because you tend to miss the annotation, especially if it's a big class. And navigating to the Problems view using the keyboard is ok, but sometimes overkill for just clearing out errors/warnings in one class.
A good thing then that Eclipse offers keyboard shortcuts that take you to the next/previous annotation in the class. And it does so in a way that selects the annotation immediately, allowing you to use Quick Fix (Ctrl+1) to fix it fast. So here's how to use these shortcuts to navigate between the error/warning annotations and fix some of the errors easily.
Read full article from Navigate and Fix Errors and Warnings in a Class With Eclipse Keyboard Shortcuts - DZone Java
No comments:
Post a Comment