I don’t know how many of you have experienced this issue but it’s a reeeeeally nasty one.
I have been working for the whole day on a class just to find it deleted at the end of the day after I hit CTRL+Z+something else (still a mistery).
I found the solution here:
http://thesaj.wordpress.com/2008/04/23/how-to-restore-lost-files/
The thing is to restore it from editor’s local history – right click the directory you know the file was and select “Restore from local history”.
What a relief!
Funny thing is that the deleted file couldn’t be found even by recovery tools.



It was definitely a sweet discovery when I found the ability to pull that off.
Glad to know my blogging has helped someone.
- Jason The Saj
By: thesaj on May 10, 2008
at 2:12 pm
Yeah, it saved me a day of work
By: smackme on May 12, 2008
at 8:12 am
THANK YOU. I will herald your name as a messiah and savior for years to come. Oh my god did this save my butt.
By: John on February 22, 2009
at 7:16 pm
Who’s brilliant idea was it to make “undo” almost the exact same shortcut as “mysteriously delete huge sections of your code without a warning, dialog box, or even a notification”? Sheesh.
By: Parker on May 15, 2009
at 6:41 pm