Is there a way to go back in Eclipse? Basically, when I'm jumping around a big project following the execution flow (ctrl + click and etc.), is there a way to retrace a step? If my code calls a method and I go to the method definition, is there a key combination that will take me back to the calling code?
+11
A:
Press alt+left arrow and alt+right arrow like you would in a web browser.
lucas
2010-06-22 16:58:05
Thanks so much :) this is a lifesaver, it was driving me crazy...
froadie
2010-06-22 17:07:12
Definitely. One of my (if not THE) most used eclispe shortcuts :)
lucas
2010-06-22 17:12:51
Is there an OS X equivalent?
FarmBoy
2010-06-22 17:30:17
@FarmBoy have you tried Option-LeftArrow and Option-RightArrow?
Jherico
2010-06-22 19:58:44
@Jherico, I guess that swap spaces in his conf ( it does in mine ) http://www.apple.com/macosx/what-is-macosx/apps-and-utilities.html#spaces
OscarRyz
2010-06-23 00:10:52
+1 Nice trick. Thanks!
CoolBeans
2010-06-23 00:55:16
+3
A:
In addition to the keyboard shortcut mentioned by @lucas, there is the left and right arrow icons in the toolbar. It also has a handy back to last edit location as well.
Both of these are of course reflected in the menu under Navigate as well.
Robin
2010-06-22 17:29:55
+2
A:
As Robin mentioned, you can also jump to the last edit location. Ctrl+Q is the keyboard shortcut for this!
EMurnane
2010-06-22 23:43:59