When accepting diff lines, the view is scrolled to the next diff automatically. This is extremely disruptive, and sometimes dangerous! (Reasons and more information in thread above). As this was rolled back right away, I thought the devs agreed with us.
Steps to Reproduce
Click “Keep” button to accept a diff line and an auto-scroll happens.
Expected Behavior
Add a NEW button to accept + jump, e.g. buttons like
[Undo] [Keep] [Keep >>]
Or shorter
[Undo] [Keep] [>>]
This would allow users to choose, turning this bad UX in to a really great feature that I would use often when I am reviewing and not actively working on a section of code.
Operating System
MacOS
Current Cursor Version (Menu → About Cursor → Copy)
As feedback, I wanted to mention that this is a 911 bug to me. It is VERY difficult to work when I can not accept a diff without the area where I am working being scrolled off-screen.
However, Cmd+Y doesn’t do anything. I thought maybe it would be one of these 3 things. Please fix/clarify:
Toggle the setting. It did not, and this would be my least favorite way to use a hotkey anyway
Pressed Cmd+Y while the cursor is in the diff block. Just pops up a tool tip that says “No definition found”. Not sure what this was trying to do. This would actually be a pretty cool hotkey for keyboard accept plus jump
Held Cmd+Y while clicking the button. Had no effect. This would be pretty nice as mentioned up thread, but I would still rather have a “>>” button if I am already using my mouse. Less chord work