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...

1 comment:

  1. This is a great feature !
    I do not require it yet, but it is a good thing to know, for may be, it will help me in future.. :)