vscode icon indicating copy to clipboard operation
vscode copied to clipboard

VS Code keeps opening all previously-opened projects upon startup

Open AzureBede opened this issue 11 months ago • 14 comments

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

  • VS Code Version: 1.95.1
  • OS Version: Windows 11

Steps to Reproduce:

I don't know if this will consistently reproduce the issue, but this is all I've done.

  1. Open and edit a CSS, HTML or JS file
  2. Save the file, close it, and then close VS Code
  3. Re-open VS code

I would like for, each time I open VS Code, it to open to a blank workspace, not to everything I have literally ever opened in it. I've tried closing them via the red X on top of the window, via the X on the tabs, via File -> Exit, and via Ctrl W + K. I've also tried going to Settings and setting Windows: Restore Windows to "none". None of these methods have solved the issue.

Attached is a screenshot of what I get when I open VS Code. Each window is a different project I have once worked on in VS Code.

Image

AzureBede avatar Jan 13 '25 02:01 AzureBede