Eclipse – Restore deleted file from local history

This tutorial shows how to restore a deleted file from the local history in Eclipse.

Eclipse keeps the deleted files in its local history and provides a very simple way to retrieve a mistakenly deleted file.

Below are the steps:

  1. Right-click the project -> Restore from local history
  2. A new popup is displayed holding the deleted files that are still existing in the Eclipse local history:Restore deleted file in Eclipse
  3. Select the file you want to restore, then click Restore.
  4. That’s it, the file is restored to the same package where it resided before the deletion.

Hussein Terek

Founder of programmergate.com, I have a passion in software engineering and everything related to java environment.

You may also like...

Leave a Reply

avatar