This site requires JavaScript, please enable it in your browser!
Greenfoot back
HardToFindAName
HardToFindAName wrote ...

2017/2/13

URGENT HELP WITH CODE EDITOR

HardToFindAName HardToFindAName

2017/2/13

#
THIS IS AN EMERGENCY PEOPLE My laptop shut down while I was editing the code of a class, the longest, and this is what's happening now: Check the screenshot: http://prntscr.com/e87rt1 Please, guys, I don't have the necessary time, what should I do to recover the lost code, or at least some parts of it? I don't think I have another save :((
Super_Hippo Super_Hippo

2017/2/13

#
In the settings of Greenfoot, you can set if you want the program to make auto-savings. These will create duplicates of the current class codes in your scenario's folder (...#backup). When starting the program after a crash or something, it gives you the option to use the duplicates instead of the real ones in case the real ones are damaged. If you don't have a backup like this, I guess there is no chance though.
HardToFindAName HardToFindAName

2017/2/13

#
Is there a way for me to check if I do?
Super_Hippo Super_Hippo

2017/2/13

#
Open your scenario folder and see if there are any duplicated files. These files will end with '.java#backup'. If there are any, try to remove the one without the '#backup' (or better copy it to somewhere else) and remove the '#backup' from the backup file.
HardToFindAName HardToFindAName

2017/2/13

#
There are none :(
Super_Hippo Super_Hippo

2017/2/13

#
I guess you have to restart then. Or at least I can't help you.
You need to login to post a reply.