-
Notifications
You must be signed in to change notification settings - Fork 7.7k
Lost undo history after save #10845
Comments
@fazelmk Do you have any sort of background process running that might modify the file, or its timestamp, after saving? Also, please try Debug > Reload Without Extensions and see if that makes the problem stop. |
Without extensions it works. |
You can follow these steps to narrow down which extension is causing the problem: https://github.com/adobe/brackets/wiki/Troubleshooting#disabling-extensions-individually |
Brackets Git is the one that broke the undo function. |
Done. And the bug is a change in files timestamp like you said. Caused by the Clear withespace on file save option o brackets-git. If anyone else got this problem. =D |
@fazelmk Definitely file a bug then -- there should be a cleaner way for the extension to do that feature without breaking Undo history. |
I did file a bug report to then using the bug report in the brakets extension. I saw that it was a known bug and I get the option that causes the error from another guy issue report. |
brackets-userland/brackets-git#958 says its a core issue: any external modifications to a file will clear the undo cache. |
Thank's a lot man.. @peterflynn |
I had the same issue with AngularJs extension. I had to disable it to get the undo function working. |
The extension BracketstoIX creates the same issue. Once disabled, undo-after-save works fine. |
I have tested the latest version of Brackets (1.6) and BracketstoIX both in Windows and OSX 10, and in both situations the undo was working after save. |
Thank you @peterflynn !!!! I should have known |
If I save the file I can't undo the last modifications, and I still with the file open.
How to reproduce:
If the file is not saved the undo works fine
Brackets version: Release 1.2 experimental build 1.2.0-15697 (release 8f82e2a)
The text was updated successfully, but these errors were encountered: