Is it possible to turn off drag and drop in vscode?
I had the same problem. Its very annoying when a folder goes awol by accident. To resolve it just add the following setting to your user settings in file -> preferences -> settings.
{
"explorer.enableDragAndDrop": false
}