The Dopefly Tech Blog

« The Dopefly Tech Blog Main page

Discovering the Eclipse Local History Feature.

posted under category: CFEclipse on November 14, 2005 by Nathan

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.

Nathan is a software developer at The Boeing Company in Charleston, SC. He is essentially a big programming nerd. Really, you could say that makes him a nerd among nerds. Aside from making software for the web, he plays with tech toys and likes to think about programming's big picture while speaking at conferences and generally impressing people with massive nerdiness and straight-faced sarcastic humor. Nathan got his programming start writing batch files in DOS. It should go without saying, but these thought and opinions have nothing to do with Boeing in any way.
This blog is also available as an RSS 2.0 feed. Click your heels together and click here to contact Nathan.