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.

0 0 votes
Article Rating

Hussein Terek

Owner of, I have a passion for software engineering and everything related to Java environment.

Inline Feedbacks
View all comments