The Dopefly Tech Blog

<< The Dopefly Tech Blog Main page

Discovering the Eclipse Local History Feature.

posted under category: CFEclipse on November 14, 2005 at 1:00 am by MrNate

If you haven't seen the "local history" feature in Eclipse, try it out! There's really not much to explain, so follow along quickly:

  1. Find a file that you want to check the history on
  2. Right-click on it
  3. Find the "Compare With >" menu item
  4. Choose "Local History" on the menu

I told you it wasn't hard, and it's 3 steps too many for most of us, 4 for some.

From the Local History window, you can check the status of your file day by day, update by update, line by line like WinMerge. By default, Eclipse keeps the latest 50 changes to every file you modify over the past 7 days. These options are in the Eclipse prefs under General > Workspace > Local History.

This is another incredibly useful feature, if, say, you destroy a file before you check it into your version control, or worse, if you have no version control --yeesh, good luck fixing a file from a couple days back with dreamweaver.

Too old to comment!
On Nov 15, 2005 at 1:00 AM Mark Mandel ( said:
I totally love this feature as well.

I found it about a week back when I made some changes to a file, and then realised where I wanted to go back to was half way through my day... 4 hours after my last backup...

Drop into local history, and boom, back I was!
Too old to comment!