How to remove all the workspaces created by Visual Studio Code at once? [closed]

I want to remove all the workspaces created by Visual Studio Code. It's taking a lot of spaces. I searched the net but found that I have to go to each workspace I created and remove them one by one.

But Can I delete them all at once by removing all the folders under %userprofile%\AppData\Roaming\Code\User\workspaceStorage, that is by deleting all the folders in the image attached here The Image.

And also Can I delete these folders without any harm (its taking nearly 1 GB)?

6

1 Answer

Yes its safe to delete.

Just Delete all the folders in the %userprofile%\AppData\Roaming\Code\User\workspaceStorage.

You can also delete everything in (to make VS Code a little faster) :

  • %userprofile%\AppData\Roaming\Code\User\Cache
  • %userprofile%\AppData\Roaming\Code\User\CacheData
2

You Might Also Like