user118967
user118967

Reputation: 5722

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.

Upvotes: 1

Views: 3622

Answers (2)

user118967
user118967

Reputation: 5722

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 (e.g. build error) using the keyboard?

Upvotes: 3

Jeff
Jeff

Reputation: 31

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.

Upvotes: 3

Related Questions