Recover Files in Eclipse

My experience with Eclipse has been generally good, but my computer at work is just not right and that I think has also affected Eclipse.

There already at least 5 occasions whereby Eclipse became non responsive for few minutes and when it actually came back, it wiped out the content of the currently opened file! Scary stuff huh?

I think I remember reading somewhere that Eclipse keeps history of files edited somewhere, looking quickly through the menus, couldn’t find it.

So googling around landed me to this post:

http://www.jamescooke.info/blog_archive/recovering-files-with-eclipse-sdk-history/

To cut the story short, go to this directory to find all your files (need to do some detective work though as the filenames are not kept):

cd ~/workspace
cd .metadata/.plugins/org.eclipse.core.resources/.history

This entry was posted on Thursday, May 29th, 2008 at 1:06 pm and is filed under general. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Comments are closed.