Thursday, 12 September 2013

Weird back button (Alt-Left) behavior in Eclipse

Weird back button (Alt-Left) behavior in Eclipse

Not exactly a programming question, but I figured I'd get more response
here than in SU. Tag 'java' added because I'm programming in Java. Feel
free to edit/move question as appropriate.
I'm using Eclipse Kepler IDE, and I'm having this annoying weird behavior
from the Back function. I can't remember if I had this behavior in Juno
version but I think not - that's what I'm here to confirm, if this is a
bug or I need to adjust some setting in Eclipse.
Imagine the following code points:
Point A
Point B
Point C
When my editing cursor is at point A and I hit F3 (Open Declaration),
Eclipse takes me to B. If I hit F3 again, Eclipse takes me to C.
All that is well, but when I hit the Back button or press Alt+Left from C,
I'm being taken back to A. If I then hit Forward (Alt+Right), I'm taken to
B and the Forward button is disabled! (I can't go forward to C).
Current Behavior:
F3: A -> B -> C
Back: C ------> A
Forward: A -> B
This doesn't seem right at all, because I would expect going back from C,
I should reach B, and then to A. Following that, going forward from A, I
should go to B, and then to C.
Expected Behavior:
F3: A -> B -> C
Back: C -> B -> A
Forward: A -> B -> C

No comments:

Post a Comment