I've lost a very important file, because when I'm working on it, and I decide to test something there, I've deleted a very important part in it, and then my PC shuts down, so now I have missing a very important part from there. Taht was a .php file, and I'm using Zend Studo.

Is it possible to undo last operation after save, if I close the file.

Sorry for such a question, I understand, that this not from programming sphere, but I don't know what to do. (Even don't know how to tag it :)

link|improve this question
8  
You can recreate it from a version control, or at least the last backup. If you don't use a vcs, you maybe realize now, what they are good for. – KingCrunch Dec 30 '11 at 21:43
It was local files, and i'm working on windows. – Syom Dec 30 '11 at 21:45
3  
Next time, back up your work and comment out stuff you don't want instead of deleting it. – Dan Dec 30 '11 at 21:46
So is it impossible ? – Syom Dec 30 '11 at 21:47
1  
down votes for asking a application question not a programming one. – Dagon Dec 30 '11 at 22:16
show 1 more comment
feedback

migrated from stackoverflow.com Dec 30 '11 at 22:37

This question came from our site for professional and enthusiast programmers.

2 Answers

Netbeans has a thing called Local History, which is basically a history of previous versions. I don't know Zend Studio, but it seems it has something similar.

Just like in Netbeans, you can compare versions from different dates, restore sections, etc., take a look here.

link|improve this answer
It can only restore deleted files, not undo operations. – Syom Dec 30 '11 at 22:06
1  
@Syom According to the documentation, it works almost exactly the same as in Netbeans; you can compare versions from different dates, restore sections, etc. Take a look: files.zend.com/help/Zend-Studio/comparing_files.htm – jeroen Dec 30 '11 at 22:11
feedback

in zend studio, right click on file in the explorer view, click "Compare With "> "Local History"

link|improve this answer
feedback

Your Answer

 
or
required, but never shown