Is it possible to get the deleted file from Eclipse workspace?

为君一笑 提交于 2019-11-29 17:42:21

问题


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!)



来源:https://stackoverflow.com/questions/5451175/is-it-possible-to-get-the-deleted-file-from-eclipse-workspace

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!