-
-
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
Undo via u
does not remove file dirty flag
#3201
Comments
This also applies to manual undos, not just those using |
Here's a quick solution to this problem (until there's an official one):
|
Neat trick, I came here for a different issue where undo seems to undo a ton of actions (much more then the editor undo) which makes undo/redo almost unusable for me at the moment. |
@Hultner this might be the issue related to your experience: #2007 |
This issue seems like a duplicate of #1490 to me. |
I disagree, all this ticket is asking is to set the file to pristine if the undo stack returns to the previous saved state. Now if the decision on that ticket is to rewrite the entire history stack to use vscode and this issue is resolved as a consequence then I'm fine with it being closed but otherwise I think they are currently two distinct issues |
related issues: VSCodeVim/Vim#2007 VSCodeVim/Vim#3201
While it's not the same issue, I don't think this can be fixed with the current VSCode API until #1490 is fixed. |
A confusing point is, after I use |
Any news about this one? |
Describe the bug
Using
u
to undo changes doesn't restore the file to a clean state when reverting back to the original file that was opened.To Reproduce
Steps to reproduce the behaviour:
u
to remove changeExpected behaviour
If you perform this same operation but instead of pressing
u
you pressctrl
+z
the file will return to a clean state, this should be the same foru
Environment (please complete the following information):
Additional context
Related issue in vscode for context microsoft/vscode#919
The text was updated successfully, but these errors were encountered: