Skip to content

There is no confirmation window while drag-dropping project files in the "Explore" panel. #1414

Closed

Description

@Egorrr

Without confirmation window on drag-dropping files in the Explore panel there is a chance to accidentally move project files to another directory.

Activity

  1. added
    feature-request
    on Dec 17, 2015
  2. dbaeumer commented on Dec 17, 2015

    @dbaeumer
    Member

    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.

  3. bpasero commented on Dec 17, 2015

    @bpasero
    Contributor

    👍

  4. added
    file-explorer
    and removed on Dec 18, 2015
  5. Egorrr commented on Dec 21, 2015

    @Egorrr
    Author

    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.

  6. Matthijs-Wessels commented on Jan 5, 2016

    @Matthijs-Wessels

    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

  7. gaguirre commented on May 12, 2016

    @gaguirre

    Hi Dirk Bäumer (@dbaeumer), I think could be (and perhaps should be) different features:

    • Showing a confirmation window (with do not ask me anymore option maybe)
    • Undo changes in the Explore panel

    Recently I had to look at "git status" and figure out which file I moved accidentally, and it's really a pain.

  8. jamietre commented on Jun 28, 2016

    @jamietre

    +1, I just did this and had a Visual Studio PTSD response.

  9. bpasero commented on Jul 5, 2016

    @bpasero
    Contributor

    Fyi for July (or insiders) #4842 is pushed and allows to disable DND in the explorer.

  10. added
    help wanted
    on May 11, 2017
  11. 1 remaining item

  12. snhardin commented on Jun 29, 2017

    @snhardin

    Hi! I'd like to work on this. This is something that's annoyed me for a while now.

  13. patwaswapnil commented on Aug 21, 2017

    @patwaswapnil

    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.

  14. a-eid commented on Aug 22, 2017

    @a-eid

    +1
    there should be either a confirmation dialog or an undo functionality

  15. andypotts commented on Sep 5, 2017

    @andypotts

    +1

  16. BrennerSpear commented on Sep 8, 2017

    @BrennerSpear

    +1

    Is there anything like cmd+Z for this?

  17. jfconde commented on Sep 15, 2017

    @jfconde

    +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.

  18. removed
    help wanted
    on Oct 6, 2017
  19. bpasero commented on Oct 6, 2017

    @bpasero
    Contributor

    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:

    image

  20. added a commit that references this issue on Oct 16, 2017
    aca868b
  21. locked and limited conversation to collaborators on Nov 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestfile-exploreron-testplan

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions