I suggest you ...

Ask before moving files in Solution Explorer tree.

Accidentally moving files to random directory really annoys.

1,024 votes
Vote
Sign in
Check!
(thinking…)
Reset
or sign in with
  • facebook
  • google
    Password icon
    I agree to the terms of service
    Signed in as (Sign out)
    You have left! (?) (thinking…)
    Andrew KAndrew K shared this idea  ·   ·  Flag idea as inappropriate…  ·  Admin →
    MayankMayank shared a merged idea: Preventing accidental file drag in Solution Explorer  ·   · 

    44 comments

    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      I agree to the terms of service
      Signed in as (Sign out)
      Submitting...
      • David JankeDavid Janke commented  ·   ·  Flag as inappropriate

        the drag-and-drop feature seems like an unnecessary optimization.

        what exactly is the use case for drag-and-drop moves in Solution Explorer, anyway? Who frequently moving around so many files that they need a fast UI (i.e. where menu-drive move causes too much overhead)?

        if you are moving files in your solution so often that you *need* drag-and-drop… I think you are doing something fundamentally wrong in your dev process

      • devuxerdevuxer commented  ·   ·  Flag as inappropriate

        I prefer just having a colored banner appear at the top of the Solution Explorer after files are moved that says "5 files were moved. [Undo] [X]". This same technique could be used for other potentially destructive actions too, such as deleting files. This is a proven technique used in GMail and other successful user interfaces. It is not disruptive to the user's workflow -- if you intended to move the files, you just keep on going, and if you didn't, you click Undo. If the banner annoys you, you can close it.

        The problem with a lock/unlock mode switch is that it will introduce "mode errors", which is when a user forgets which mode they're in ("Oh no, I forgot to put it in lock mode and now I don't know which file I just moved" or "Why aren't these files moving when I drag them?"). Also, there are enough small icons in the Solution Explorer as it is, adding more would not be helpful.

      • DarenDaren commented  ·   ·  Flag as inappropriate

        Having a simple lock/unlock icon on the solution explorer (that defaults to unlocked) could be a simple affordance that doesn't break the current experience/flow but can allow people to disable dragging if they choose.

      • Aaron BarkerAaron Barker commented  ·   ·  Flag as inappropriate

        it should be a toggle setting to ask before moving a file or folder - I rarely move files in my solution; when I do it's usually an accident

      • SoerenSoeren commented  ·   ·  Flag as inappropriate

        When connected to a web site via FTP in VS, opening a file in solution explorer leaves VS hanging, and it can only be killed in taskmanager. Disabling VSCommand resolves this.

        It is beyond me why Microsoft hasn't made it a feature in VS to prompt before dragging and dropping files and folders in solution explorer.
        It can happen very easily by accident, and can have terrible consequences when working on a website via FTP.

      • Sam BlowesSam Blowes commented  ·   ·  Flag as inappropriate

        For anyone that really needs this feature now, a plugin named VS commands can do this.

      • Jonathan GilbertJonathan Gilbert commented  ·   ·  Flag as inappropriate

        With regard to having an Undo feature -- that would be a good idea, but I still feel that there should be an option to prevent the accidental move or copy from happening in the first place. The reason is that when working with TFS, the move operation must talk to the server to schedule the move of each affected file. If a directory with dozens of files is accidentally moved, it can take several minutes for all this activity to die down -- an 'Undo' button would then repeat the process in reverse. I've had to deal with this time-consuming frustration in exactly this manner before (except that the 'Undo' was, of course, done manually in the absence of an automatic function).

      • devuxerdevuxer commented  ·   ·  Flag as inappropriate

        @MichaelDaw, I agree with the problem but not the proposed solution. The "proper" solution (IMO) is to provide an undo capability for the solution explorer. This way, your flow is not interrupted when you intentionally move something, but if you accidentally move something, it can be easily reversed.

      • MichaelDawMichaelDaw commented  ·   ·  Flag as inappropriate

        If you're thinking of adding this, don't. But if you do, at least provide the option to turn it off. More interruptions are not needed.

      • NanorockNanorock commented  ·   ·  Flag as inappropriate

        Just moved a folder inadvertently, tooks age to finish its action, then again to put the folder back to its place =^( It is really annoying. Please ! Put a simple confirmation pop up (-_-)

      • Sharon FletcherSharon Fletcher commented  ·   ·  Flag as inappropriate

        Please, please, please, bring back the confirmation message before moving files and folders. It is ridiculous that it can be so easy to cause so much damage by inadvertently moving stuff without so much as a single "Do you really want to do this?" check.

      • Keith HillKeith Hill commented  ·   ·  Flag as inappropriate

        If I had any votes left I'd vote for this. I think Windows TreeViews in general make it **WAY** to easy to inadvertently move items.

      • GabrielGabriel commented  ·   ·  Flag as inappropriate

        Please VS Team, add this functionality as a option at least.
        It's really annoying when files or directories get moved to some random directory...

      ← Previous 1 3

      Feedback and Knowledge Base