I used to use Eclipse, then I switched to IntelliJ for a while and now I'm back to Eclipse. IntelliJ has one thing that I cannot find in Eclipse: going to the actual last cursor position - even in the same file, and even if the cursor was moved between the lines using the arrow keys on the keyboard or mouse, IntelliJ can do this, and I found it useful.
For example:
I move the cursor using the down arrow keyboard, sequentially on lines 10, 20, 30.
Now I'm on line 30, and when I press Alt + left , I would like the cursor to go to line 20.
After pressing Alt + left again, I want the cursor to move to line 10.
After pressing Alt + right after that, I want the cursor to jump to line 20 again.
The following shortcuts are available in Eclipse:
Alt + left - it will move back to the last cursor position in another file, and not to the last cursor position in the current file, even if I already moved the cursor in the same file
Alt + right - it moves forward to the next cursor position in another file, and not to the next cursor position in the current file, even if I already moved the cursor in the same file
Ctrl + Q - moves the cursor to the last place in the edit
The latest version of Eclipse in which I tested the aforementioned shortcuts: Eclipse Luna 4.4.0.
I found the following discussion of the same problem (without such functionality in Eclipse), which is quite old, but it seems that this functionality is not implemented in Eclipse, since the discussion is on the eclipse forum .
Do any of you know if this functionality will be implemented in Eclipse? Is there a plugin for Eclipse that provides such navigation functionality to the last cursor position?
Please note that for the reasons described above, I am not satisfied with the solutions provided as an answer to this SO question "How do I get to the last cursor position in Eclipse?" Or another SO question, "How to return to Eclipse?" .
eclipse
krm Jan 31 '14 at 15:10 2014-01-31 15:10
source share