eclipse回复已删除的文件和代码

eclipse恢复已删除的文件和代码

1.文件的恢复:

选择项目后右键-->选择Restore from Local history

2.误删的代码的恢复:

右键-->Local History-->replace with 后可发现所有修改过的内容