Is it possible to get the deleted file from Eclips

2019-02-08 20:42发布

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

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

5条回答
戒情不戒烟
2楼-- · 2019-02-08 21:17

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

查看更多
欢心
3楼-- · 2019-02-08 21:23

I think local history can help you.

查看更多
在下西门庆
4楼-- · 2019-02-08 21:23

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

查看更多
Lonely孤独者°
5楼-- · 2019-02-08 21:27

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...".

查看更多
啃猪蹄的小仙女
6楼-- · 2019-02-08 21:27
  • Just recreate the same file in same location.
  • Right click > Replace With > Local History....
  • Select the appropriate file data from history.
查看更多
登录 后发表回答