Skip to content

Debounce undo for move line/carret actions #198393

Open
@silvio2402

Description

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.84.2
  • OS Version: Windows_NT x64 10.0.23403

Observed behavior

When using for example Alt + DownArrow (or any of the actions listed at the bottom) to move a line down multiple times and then hit CTRL + Z it undoes the moving one line at a time.

Expected behavior

When typing some text and then undoing, it doesn't undo one character at a time. This debouncing feature is very useful so you don't have to undo a lot of times.

I would expect a debounce on the following actions:

  • editor.action.moveLinesUpAction
  • editor.action.moveLinesDownAction
  • editor.action.moveCarretLeftAction
  • editor.action.moveCarretRightAction

Let me know if you think otherwise.
Thanks in advance!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

feature-requestRequest for new features or functionalityundo-redoIssues around undo/redo

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions