-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Formatting and undo (u
) not behaving correctly
#1737
Comments
Sorry didn't really follow the bug format as I'm unsure how to even word the bug. Instead of cloning the Skeleton repo you can open any sufficiently complicated html page and it should also have the same bug. Also cmd + z does 'un-format' the document but if you press u first cmd + z doesn't work. |
What if you press |
Nothing happens 😞. |
I'm fairly confident actually that if you hold down It's just that the our "undo" action doesn't undo everything, and it leads to a bunch more undo steps that A rewrite to our undo functionality is currently planned (whether it'll be by leveraging Neovim or Vscode's undo API, we're not sure): #1727 |
Hmm I'm pretty sure holding ctrl/cmd + z doesn't work. I pressed cmd + z a couple of dozen extra times after that I just figured that it would be redundant after the first 10 😄. Welp if you're sure this is going to fixed by #1727 then I guess I'll just wait :|. |
On the same file, it seems to work for me.
This issue (#1589) has the same root cause (I think), but it'll be solved due to neovim integration. The issue you're talking about needs to be fixed by fixing up undo somehow. |
Oh okay thanks I wasn't holding down cmd + z long enough 😝. Well I guess since you guys are aware of this issue I'll close this? |
u
) not behaving correctly
The VSCodeVim team prioritizes issues based on reaction count.
BUG REPORT:
Environment:
What happened:
git clone -b gh-pages https://github.com/dhg/Skeleton
editor.action.formatDocument
Actual:
Nothing happens/code doesn't 'un-format'
Expected:
Code should 'un-format'/go back to original format
The text was updated successfully, but these errors were encountered: