Reputation: 111
How do I delete a project in Visual Studio Code?
I've clicked everywhere looking for a solution. I have cleared the recently opened, restarted VS Code but the project doesn't go anywhere. I researched online but there is a void. It seems projects stay there forever!
Any help would be great. Thanks.
Upvotes: 6
Views: 55992
Reputation: 1
You can use 'Close Workspace' from command pallete, this will close the workspace from VS Code keeping all the files on the disk.
Upvotes: 0
Reputation: 97
'File' >> 'Close Folder' removes the project from the explorer sidebar without actually deleting from the disk.
Upvotes: 7
Reputation: 448
You would need to use the command pallete and search for
Workspaces: Remove Folder from Workspace...
Upvotes: 9
Reputation: 739
If you want to delete the project, you can not delete it from inside the VS Code. you should go to the folder that project is inside that, you can do that with right click on the name of project in toolbar VS Code and select the Reveal the explorer and go directly to the root of the project.
then you can delete the project.
I hope it helps you.
Upvotes: 9