Eclipse | Undo deleted file in Eclipse

Problem: Undo deleted file in Eclipse

Solution: We were working on a project in Eclipse. Accidentally one of the PHP files got deleted in which code was written. Eclipse does not use the Linux ‘Trash’ but keeps local history from where we were able to recover the file.

Follow these steps to recover:

1. Right click on your Project.

2. In the context menu, click option Restore from Local History.
You will get all the files you deleted and can restore them just like we restore from trash.

Leave a Reply

Your email address will not be published. Required fields are marked *