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 deletes file but redo doesn't restore it properly #236984

Open
netprogs1 opened this issue Dec 26, 2024 · 0 comments
Open

Undo deletes file but redo doesn't restore it properly #236984

netprogs1 opened this issue Dec 26, 2024 · 0 comments
Assignees

Comments

@netprogs1
Copy link

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

  • VS Code Version: 1.96.2
  • OS Version: Ubuntu 20.04.6 LTS

I encountered an issue where a file disappears after an undo operation and doesn't reappear when I perform a redo. I noticed that it works in version 1.65.

Steps to Reproduce:

Create a file in VS Code.
Write something to the file.
Use Ctrl+Z (undo) to revert all operations including creation of the file.
Attempting to redo the action (Ctrl+Y) has no effect on restoring the file. (works in vscode 1.65 and below)
If I try undoing again, VS Code prompts me to confirm as if the file exists, but it remains invisible and inaccessible.
Expected behavior:
The file should reappear in the workspace and Explorer after the redo operation.

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