Restore Deleted Files in Eclipse IDE

前端 未结 8 648
独厮守ぢ
独厮守ぢ 2021-01-31 02:44

Two days ago, I deleted five Java files in Eclipse IDE and now I need them. I tried to restore them from the local history. I restored only two of them. When I right click on

8条回答
  •  感情败类
    2021-01-31 03:03

    Go to Eclipse Menu Bar , and click Edit, and then click Undo Delete Resource. Each time you click "Undo Delete Resource" it brings back resources that have been deleted. I am not sure if you can recover deleted resources, if you try to recover after the machine has been restarted since you deleted your resource.

    You don't wanna run into this several times, to be safe please always use version control like Git, SVN, Mercurial.

提交回复
热议问题