Home > Software design >  Visual Studio Code startup with opening to many tabs
Visual Studio Code startup with opening to many tabs

Time:09-20

Small problem with VS Code, when I open the program it always opens like 6000 tabs.

Problem is, I wanted to replace a string in the files, and it searched through all files. As it turns out, these were around 6000 files. When I use the command CTRL K W it will ask me to save, don't save, or cancel. I am trying to get this solved, first tried to close all others but still same dialog. I uninstalled VS Code in the hope that it would stop opening these files, no luck. Furthermore, I searched the Regedit to find any information about the program, there is a lot, but I cannot find the file that is responsible for opening all these files.

The files don't exist anymore except in some memory of VS Code.

Does anyone know a way to solve this?

CodePudding user response:

Did you try to set

"window.restoreWindows": "none"

in the settings and restart vscode?

CodePudding user response:

I found a solution.here

I delete some folders inside '\AppData\Roaming\Code\Backups'.

Now VS Code runs normal again.

  • Related