Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Undo" and "Redo" action should apply to a whole multicommand instead of each child action in it #49

Open
TMPxyz opened this issue Jul 21, 2021 · 1 comment

Comments

@TMPxyz
Copy link

TMPxyz commented Jul 21, 2021

If we execute a multicmd consisting of five "cursorDown" sub-actions, then press "ctrl-z" should undo the whole multicmd instead of a single "cursorDown".

@Bobronium
Copy link

I'm new to VSCode, but looking at what extension does, It'll probably require some trickery like remembering the number of executed actions, monitoring current state in history, hijacking Undo shortcut and upon its activation execute some logic depending on current context.

Sounds like a hassle, but I really hope I'm just missing something. @ryuta46, do you have any better insights or hints on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants