Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions
Privacy Policy




Eclipse Java Development User Guide
Previous Page Home Next Page

Comparing a Java Element With a Local History Edition

  1. Make sure that a Java view is visible.
  2. Open a Java editor for the Java file in which you want to compare a Java element with an edition from the local history.
  3. Activate the editor by clicking its tab in the editor area. The Outline view also displays the Java file. Note: The Package Explorer can be configured to show or not show Java elements in files. Use the Show Members in Package Explorer checkbox on the Opens the Appearance preference page Java > Appearance preference page to set your preference.
  4. Select the element that you want to compare in the Outline or the Package Explorer.
  5. From the element's pop-up menu, select Compare With > Element from Local History.
  6. The History view opens and shows all editions of the selected element available in the local history.
  7. Select an edition in the hitory view to see the differences between the selected edition and the edition in the workbench in a comparison editor.
  8. If you are done with the comparison, click close the comparison editor.

Related concepts

Java views
Java editor

Related tasks

Using the local history

Related reference

Java outline

  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire