Is it possible to get the deleted file from Eclips

2019-02-08 20:51发布

问题:

I have accidentally deleted a Java file from my Eclipse workspace.

Can i recover that? It's not in the recycle bin.

回答1:

Check this page: How to restore deleted files in Eclipse

Suppose you have deleted any file by mistake. No need to worry. Deleted files can be restored from the history.

How to Do:

Right click on the project and open the context menu. And go for the menu item "Restore from Local History...".



回答2:

I think local history can help you.



回答3:

  • Just recreate the same file in same location.
  • Right click > Replace With > Local History....
  • Select the appropriate file data from history.


回答4:

yes... Right Click on Project in which u want to restore those files... Right Click > Restore From Local History > (Select files) > Restore



回答5:

only "Compare With" --> "Local History" did it for me. shows dates as well. (thank god!)