我的Java code与Java文件中的Eclipse消失 [英] my java code disappears from java file eclipse
问题描述
我工作的Android项目。因为我是编辑特定的Java文件意外我的笔记本电脑关机。当我打开我的笔记本电脑和Eclipse中,我正在显示空文件打开。没有code :(
我现在应该怎么做 ??
请帮助:(
I am working on android project. since i was editing specific java file my laptop shutdown unexpectedly. when i switch on my laptop and open eclipse the file in which i was working show empty. there is no code :( what should i do now ?? please help :(
例如我写这篇code,但现在它空后计算机意外停机时
for example i write this code but now its empty after computer unexpectedly shutdown
public class ResourcesManager{
private BaseScene splashScene;
private BaseScene menuScene;
private BaseScene gameScene;
private BaseScene loadingScene;}
推荐答案
右键点击封装/项目资源管理器的文件,并选择替换为>地方史..
Right click on the file in Package/Project Explorer and choose Replace With > Local History..
您也可以尝试在项目点击右键,选择恢复但这只是恢复已删除的文件。
You can also try Right click on the Project and select Restore from Local History
but this only restores files which have been deleted.
这篇关于我的Java code与Java文件中的Eclipse消失的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!