goat
goat

Reputation: 173

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?

Upvotes: 17

Views: 1589

Answers (2)

Jason C.
Jason C.

Reputation: 21

I echo this issue. Drag and drop is handy when intentional so in settings just set:

"explorer.confirmDragAndDrop": true

Upvotes: 2

Leo Moore
Leo Moore

Reputation: 2158

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
}

Upvotes: 16

Related Questions