Pages

Tuesday, January 10, 2012

How to recover deleted files in Eclipse

Well, this happened to me, file was not in a version control either and I was desperate to recover it.  Luckily there's a feature in eclipse to restore files from the context menu ("Restore from Local History...") of the relevant component (src folder, package folder etc...) where you deleted it from.
You can even get any other previously saved version of it from the dialog as shown below...