Remix.run Logo
aquova 20 hours ago

> Other editors, if the content is not on the screen, will not perform the undo action unless the content is actually visible.

Really? What editor does this? Vim/Neovim definitely will undo the change with a single 'u' press, and every GUI editor I've ever used will undo the change immediately with a single ctrl+z.

suby 20 hours ago | parent [-]

Ah, thanks for the correction. I'm wrong on how common this is.

I just tested CLion, VS Code, and Sublime Text. I thought all three behaved as described, but only CLion did. I wish it was more common though, I find it a lot more intuitive and clear on what's happening.

peterashford 18 hours ago | parent | next [-]

Just tried Goland and it works the way you describe. Emacs is immediate restore. CLion and Goland are both JetBrains IDEs, so no surprise they use the same mechanism. FWIW, I like it and think it's preferable.

aquova 19 hours ago | parent | prev [-]

Huh, that's interesting. I've only used VSCode and Sublime, never CLion. I'm honestly not sure how I'd feel going the other way, but I could see the behavior being annoying if you're not expecting it.

19 hours ago | parent [-]
[deleted]