skip to Main Content

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?

2

Answers


  1. Chosen as BEST ANSWER

    I found a solution.here

    I delete some folders inside 'AppDataRoamingCodeBackups'.

    Now VS Code runs normal again.


  2. Did you try to set

    "window.restoreWindows": "none"

    in the settings and restart vscode?

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search