Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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
like image 734
ADTC Avatar asked Sep 13 '13 04:09

ADTC


2 Answers

Update your eclipse. They fixed this bug in the last days. :-)

like image 79
Buka Avatar answered Oct 18 '22 03:10

Buka


Seeing this as well seems to be new to Kepler and also present in Luna builds

like image 2
Dreur Avatar answered Oct 18 '22 04:10

Dreur