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.
@ufisch One thing you can do is to undefine the cmd + R shortcut in Brackets. Use Debug > Open User Key Map then set that shortcut to null.
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:
Hitting CMD+R to reload the app is a poor default behavior and the shortcut to it should be removed.
Reasons:
Fixed it with the following keymap:
{
"documentation": "https://github.com/adobe/brackets/wiki/User-Key-Bindings",
"overrides": {
"CMD-R": null
}
}
@peterflynn @redmunds @zaggino @petetnt
Most helpful comment
You guys do an awesome job with brackets! Thank you for your effort :)
One thing:
Hitting CMD+R to reload the app is a poor default behavior and the shortcut to it should be removed.
Reasons:
Fixed it with the following keymap: