DekGenius.com
Previous Section  < Day Day Up >  Next Section

Recipe 2.7 Going Back to the Previous Edit Location

2.7.1 Problem

While editing, you switched to another editor to make sure that you had the name of a variable right. But you have 15 editors open. How do you get back to the exact line of code you were editing?

2.7.2 Solution

Select Navigate Go to Last Edit Location (Ctrl-Q), which moves you back to the location where you last made a change in an editor. You'll also see a button for this function in the toolbar when working with editors.

2.7.3 Discussion

Eclipse lets you easily move between edit locations, a valuable addition to any programmer's toolset. If you can't see these buttons in your current perspective, you might need to add them by selecting Window Customize Perspective Other Editor Navigation).

    Previous Section  < Day Day Up >  Next Section