microsoft/vscode

Test: Drag and drop

rebornix opened this issue · 0 comments

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