Drag selected text to move it?

后端 未结 4 814
自闭症患者
自闭症患者 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

提交回复
热议问题