Drag selected text to move it?

后端 未结 4 802
自闭症患者
自闭症患者 2021-01-07 19:09

Is it possible to drag selected text to move it? This is in almost every other editor (not to mention text input fields in browsers.) I was surprised not to find it in VS Co

相关标签:
4条回答
  • 2021-01-07 19:44

    This is now supported as of Feb 2017 release (1.10.1) but it is disabled by default.

    To enable it: Go to File > Preferences > Settings and add this line "editor.dragAndDrop": true

    Source: https://code.visualstudio.com/updates/v1_10#_preview-drag-and-drop-selected-text

    0 讨论(0)
  • 2021-01-07 19:55

    I talk about this problem on Github Microsoft page and Microsoft engineers see this. I hope to solve it. (Please support by

    0 讨论(0)
  • 2021-01-07 20:07

    Looks like it's not yet implemented, but there's an open issue about it.

    If you want to help without diving into the internals, go

    0 讨论(0)
  • 2021-01-07 20:07

    I don't believe so. Their site says that it is keyboard-optimized and keyboard-centric, so their idea might be that you should highlight some text, cut it, and past it where you want it rather than dragging it.

    0 讨论(0)
提交回复
热议问题