How to remove folders from Visual Studio Code

Just in case anyone else is looking for this - just use File > Close Folder. I think this is what the op was looking for?

Added by barlop

This no longer applies post Jan 2019, as serge's comment indicates, the option mentioned above is no longer there. Mathan's answer is the one to use now.


Hi I am also facing same issue.

Here is the solution. In the Workspace Explorer, right click on the folder you wish to remove and select "Remove Folder from Workspace" from the the popup menu. See images below.

enter image description here

enter image description here