snapshot
it would be nice, before making a batch of changes, if i could hit a snapshot button and if the changes dont work out or i get fed up trying to sort it out, simply hit the restore button. no need to go back through lots of individual steps unsure of where exactly the starting point was.
Please sign in to leave a comment.
Do you mean PhpStorm settings, right? If this is the case, you may simply use the "Import/Export settings" feature:
https://www.jetbrains.com/help/phpstorm/sharing-your-ide-settings.html#import-export-settings
It is not a single click action but anyway, should be easy to work with.
Hi Vasiliy,
No, I'm talking about editing php files. Often, I want to make several changes to various parts of a file(s) to see how it pans out and after lots of code changes I decide it's not worth the effort and want to revert to where I was 20 minutes ago. But stepping back through lots of undos is a pain and I'm not quite sure if I'm back at my starting point or not. At the moment, before doing this, I copy the file to a backup and if it doesn't work out I replace the modified file with the backup. I just thought it would be nice to have a quicker way of doing it - hit a snapshot button and open files are zipped to a backup, if my changes work out then great but if not I can just click a restore button and the open files are replaced with the zipped versions. Same as with virtualbox, before updating win7 or whatever, click to make a snapshot and if the update fails click to restore.
Bill
@Bill
Local History (+ optional custom label to quickly see that)?
https://www.jetbrains.com/help/phpstorm/local-history.html
shame on me, I wasn't aware of that feature. if all else fails, read the instructions.
thanks.
well it's ok, but i had to jump back at the information overload. it would be oh so nice to simply have a single button on the menu bar which you could click to make a snapshot and a restore button beside it. maybe in the 2022 version?
bill
As far as I know, there are no plans for such feature as VCS nowadays is commonly used as a standard scenario. You may read more about PhpStorm Version Control integration more at the link below:
https://www.jetbrains.com/help/phpstorm/version-control-integration.html
By the way, if you are still looking for some sort of a backup solution, you may configure it externally (like a simple script to pack your project directory), add it as an External Tool and add a button to it in the PhpStorm toolbar.
Just in case:
https://www.jetbrains.com/help/phpstorm/settings-tools-external-tools.html
But I would strongly recommend considering using VCS (Git) instead.