vscode: Indicate why a empty window restores from backups if they cannot restore
Does this issue occur when all extensions are disabled?: Yes/No
- VS Code Version: 1.57.1 (user setup)
- OS Version: WIN 10 version 21h1, Compilation: 19043.1052
Steps to Reproduce:
- Every time I open it the vscode or open a new window with right click, it opens 10 or more empty windows with the last opened.
- I need a resolution please, this is annoying and discouraging me from using this editor.
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17 (7 by maintainers)
Commits related to this issue
- hot exit - discard backups that have not been handled in empty windows (#126725) — committed to microsoft/vscode by bpasero 3 years ago
@rxngui do you recall having had installed a extension (possibly PHP related?) that would provide a custom editor where you maybe left dirty changes?
Bottom line: this indicates there is a backup of a custom editor that we enforce to restore from a previous session.
I will see if I can make the experience better, e.g. show a notification when the extension is no longer installed.
As a last resort, you can go into
%APPDATA%\User\
and delete theBackups
folder. CAUTION: if you have any other dirty or untitled files, they would be gone then.I remember installing a PHP related extension, but it was in another vscode installation. But I just deleted the Backups folder and everything is back to normal. But I couldn’t access it through
%APPDATA%\User\,
I searched in the file explorer on the disk that has VSCODE installed forBackups
. I accessed the folder and permanently deleted everything inside, just in case. Thank you so much for supporting Benjamin Pasero, and congratulations on the incredible work you’ve been doing in supporting the users of this wonderful Editor. 😊