Create an undo stop when alternating between constructive edits, destructive edits, and cursor navigation #29036
Labels
editor-core
Editor basic functionality
feature-request
Request for new features or functionality
verification-needed
Verification of issue is requested
verified
Verification succeeded
Milestone
VSCode's undo behaviour seems unusually coarse and not in line with how other editing experiences work. Often I accidentally hit the wrong key while something is selected and accidentally overwrite what I'd written. Then when I hit undo, it undoes not only what I just did, but a whole lot of what I'd done previously. Undo is supposed to save the user from these sorts of problems.
Steps to Reproduce:
The entire sentence vanishes.
Undo stops should occur (roughly) in the following scenarios:
The text was updated successfully, but these errors were encountered: