Can We Stop VS Code from Opening the Last Project?
Updated on

Every time we open VS Code, it opens the last project we closed. Some people don’t like this. It can make VS Code start slowly because it needs time to load the project. Or maybe you have other reasons.
In this blog, I will show you how to stop VS Code from opening the last project you closed.
First, open VS Code. Then open the VS Code settings from the UI, or press ctrl + , (Windows/Linux) or cmd + , (MacOS).

Search for window.restoreWindows and change the value to none.

That’s all! Now each time you open VS Code, you will get a blank window.
