문제

My computer freezed and i had to shut him down by holding the start button. After rebooting I started eclipse, I opened the last project I worked on when the pc crashed and the main source file is empty. All other files are ok and I have the app saved on my phone and dropbox. How can i restore the source file?

thanks thomas

도움이 되었습니까?

해결책

Right click on the file and choose Replace with > Local History. Eclipse should have several versions of the file available (although it may not have the very latest).

You can configure how much history Eclipse keeps in Preferences > General > Workspace > Local History

It may also be worth using a source control system like Git or SVN even if you don't share code with anyone just for the additional backup.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top