Search code examples
drag-and-dropvisual-studio-code

Is it possible to turn off drag and drop in vscode?


This is killing me. I have a problem with accidentally dragging files in to other locations. I seem to fall victim to this a lot more often in vscode than in other editors. Is there any plugin, setting, or something that will save me from my incompetent mouse skills?


Solution

  • 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
    }