You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
There is no confirmation window while drag-dropping project files in the "Explore" panel. #1414
Benjamin Pasero (@bpasero) IMO not asking for confirmation is what I expect. Normal OS explorers behave the same. However they allow me to undo such changes. So I would expect undo in VSCode as well.
Reacted by Oleg Sklyanchuk, Serhii, inBright, Andy P, TzviCons and zpytchpp
I'm not sure is its correct comparison, but for example in Jetbrains Webstorm when I drag-drop files there I see a confirmation window, which protects from accidentally moving some files from one directory to another. Otherwise, you can somehow drag files with your mouse and not even notice that.
I added a new setting "explorer.confirmDragAndDrop": true which is enabled by default and shows a confirm dialog that provides a checkbox to quickly change this setting to no longer show a confirmation:
Activity
dbaeumer commentedon Dec 17, 2015
Benjamin Pasero (@bpasero) IMO not asking for confirmation is what I expect. Normal OS explorers behave the same. However they allow me to undo such changes. So I would expect undo in VSCode as well.
bpasero commentedon Dec 17, 2015
👍
Egorrr commentedon Dec 21, 2015
I'm not sure is its correct comparison, but for example in Jetbrains Webstorm when I drag-drop files there I see a confirmation window, which protects from accidentally moving some files from one directory to another. Otherwise, you can somehow drag files with your mouse and not even notice that.
Matthijs-Wessels commentedon Jan 5, 2016
I have had this problem many times and even had a plugin in Visual Studio .NET that did this for me: Here's a user-voice post for this same feature: https://visualstudio.uservoice.com/forums/293070-visual-studio-code/suggestions/11312763-ask-before-moving-files-in-solution-explorer-tree
gaguirre commentedon May 12, 2016
Hi Dirk Bäumer (@dbaeumer), I think could be (and perhaps should be) different features:
Recently I had to look at "git status" and figure out which file I moved accidentally, and it's really a pain.
jamietre commentedon Jun 28, 2016
+1, I just did this and had a Visual Studio PTSD response.
bpasero commentedon Jul 5, 2016
Fyi for July (or insiders) #4842 is pushed and allows to disable DND in the explorer.
1 remaining item
snhardin commentedon Jun 29, 2017
Hi! I'd like to work on this. This is something that's annoyed me for a while now.
patwaswapnil commentedon Aug 21, 2017
Its very annoying when a folder goes (i dont even know where and what) by accident. Especially when using touchpad.
The worst thing is when working on others directory and dont know the actual structure.
a-eid commentedon Aug 22, 2017
+1
there should be either a confirmation dialog or an undo functionality
andypotts commentedon Sep 5, 2017
+1
BrennerSpear commentedon Sep 8, 2017
+1
Is there anything like cmd+Z for this?
jfconde commentedon Sep 15, 2017
+1. It's specially painful to move node_modules, or accidentally moving your mouse and not even having an idea of what has been moved to where.
bpasero commentedon Oct 6, 2017
I added a new setting
"explorer.confirmDragAndDrop": truewhich is enabled by default and shows a confirm dialog that provides a checkbox to quickly change this setting to no longer show a confirmation:Add confirmation window while drag-dropping project files in the "Exp…