vscode icon indicating copy to clipboard operation
vscode copied to clipboard

Feature Request: `ctrl+click` change block for stage [Keyboard shortcut]

Open LordXerus opened this issue 9 months ago • 0 comments

I maybe be staging individual blocks too much, enough to find that opening the change previewer and clicking stage to be too cumbersome.

If, after staging, I realize there's a better word for the comment I'm writing, I can change that word and quickly re-stage that line without clicking a small vertical line (change indicator on left), then moving my mouse to the other side of the screen, and clicking a very tiny square (stage button).

This change could be confusing to new users, but maybe a warning like the Are you sure you want to stage all changes? could be implemented. With always(keyboard shortcut yay!), yes(do once but you lose the speed gains???), no(nope didn't mean to do that), and never(ignore ctrl key forever).

Things to consider:

  • If still confusing, restrict to change blocks under a certain size
  • Rollback could be ctrl+shift+click, seems intuitive and since rollbacks ?appear? to be included in the undo stack, not too dangerous.

Open to new ideas, let me know what you think.

LordXerus avatar Mar 05 '25 20:03 LordXerus