Eclipse supports jumping to the next and previous code "problems" with these shortcuts:

  • CTRL + . - next error / warning
  • CTRL + , - previous error / warning

Is it possible to skip warnings and jump only to the next / previous errors?

有帮助吗?

解决方案

If you want to do that, you'll explicitly have to tell Eclipse to only move between errors (and not warnings) when you press the next or previous annotation command.

You can do this by toggling the items checked in the Next/Previous Annotation dropdown menu from the toolbar. Here is a snapshot of that

Error Navigation

Note that by default, the Errors and Warnings options will be checked. Just uncheck the Warnings and you're done.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top