Skip to content

Test: Drag and drop #21012

Closed
Closed

Description

@rebornix

Complexity: 2
Refs: #1046

We now support drag and drop selected range inside an editor. We try to mimic the behavior of browser but it cannot be totally the same. Please see if the behavior looks reasonable to you, especially following edge cases

Enable drag and drop by setting:

"editor.enableDragAndDrop": true
  • drag to beginning/end of file
  • drop at start/end of selected text
  • drag off the editor window

Please note that below features are not supported yet

  • drag to top/bottom of editor window to cause scrolling
  • drag to edge of window on long line to drop at the end of line
  • copy instead of move if Ctrl is held

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions