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).



Eclipse Cookbook
Inside XML (Inside (New Riders))
ISBN: 596007108
EAN: 2147483647
Year: 2006
Pages: 232
Authors: Steve Holzner

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net