-
Notifications
You must be signed in to change notification settings - Fork 7.6k
Easy to hit Reload by accident, losing Undo history for files that don't have unsaved changes #10222
Comments
@ufisch One thing you can do is to undefine the cmd + R shortcut in Brackets. Use |
thx, that's at least a good quick fix. I also had the feeling that the edit history was gone without reloading. But will keep an eye on it if it was just this reload issue. |
This has nothing to do with the native shell, so removing that tag. There are really two, somewhat separable pieces here:
IMHO we should focus this bug on the first bullet, since that seems to be the more salient issue... and leave the existing backlog item to track the second bullet. |
Edited title to align with that |
In the past we've talked about having the Debug menu hidden by default, which should disable troublesome shortcuts like that as well as avoid user confusion over the other items in this menu (e.g. #10688). That would be one route to fixing this. |
You guys do an awesome job with brackets! Thank you for your effort :) One thing: Reasons:
Fixed it with the following keymap:
|
Hello. I've made two PRs implementing the changes suggested above by @peterflynn. Those suggested changes were to make the debug menu hidden by default preference, and otherwise allowing persistence between brackets sessions for undo/redo history also by preference. That said, if I were to ask, could somebody please take a look at them whenever they get a chance in order to let me know if any changes need to be made on review? Thanks in advance; whatever the case. |
It often happen to me that I accidentally reload brackets by pressing cmd + R.
As soon I have saved my changes I want to preview them in the browser and therefore I reload it. Accidentally often the focus is not fast enough on the browser and then the reload happens on brackets.
As a result of that issue I loose my edit history so that undoing changes does not take effect. And since brackets does not have a local history that really sucks.
I don't know what's best solution for that, but that makes working very frustrating. Maybe there is some other trick to avoid this somehow.
BTW: I'm on Mac. On Linux I didn't hat that issue. Probably mac does not switch focus fast enough.
The text was updated successfully, but these errors were encountered: