简体   繁体   中英

Eclipse shortcut for “Next error” (Ctrl-.) not working

I see in several published lists of Eclipse shortcuts that Ctrl + - is supposed to take me to the next error (and Ctrl + - to the previous one).

However, those combinations do nothing in my environment. I am running Eclipse Luna in Windows 8.1.

In Preferences->Key , I see Ctrl + - is bound to an action named Next , not Next error . I don't see a Next error anywhere. I unbound it and assigned a new key combination to it, just in case, to no avail.

Any ideas on how to fix it? Thanks.

Turns out CTRL - and CTRL - work only for errors in current editor window.

There is a discussion and some suggestions for finding the next error in the whole project here:

How can I go to the next Eclipse marker (eg build error) using the keyboard?

Sometimes there are two bindings for the keys.

Go to Preferences -> Keys. In the "type filter text" field type in "Ctrl+." (not the keys, but the letters)

If there are more than one than the one not named "Next" - it will be overriding it. You can safely select the other one (not the "Next" one) and "Unbind Command"

The PDT plugin always seems to add one that I have to delete.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM