Alroc
Alroc

Reputation: 111

Delete a project from VS code

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

Answers (4)

suri
suri

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.

Close project in VSCode

Upvotes: 0

James Aston
James Aston

Reputation: 97

'File' >> 'Close Folder' removes the project from the explorer sidebar without actually deleting from the disk.

Upvotes: 7

Payman
Payman

Reputation: 448

You would need to use the command pallete and search for

Workspaces: Remove Folder from Workspace...

enter image description here

Upvotes: 9

Seyed-Amir-Mehrizi
Seyed-Amir-Mehrizi

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

Related Questions