Duplicate line in Visual Studio Code

后端 未结 13 1638
有刺的猬
有刺的猬 2020-12-22 23:25

I am trying to find the shortcut for duplicating a line in Visual Studio Code (I am using 1.3.1) I tried the obvious CTRL + D but that doesn\'t seem to

13条回答
  •  一整个雨季
    2020-12-22 23:45

    Another 2 very usefull shortcuts are to move lines selected up and down, like sublime text does...

    {
      "key" : "ctrl+shift+down", "command" : "editor.action.moveLinesDownAction",
      "when" : "editorTextFocus && !editorReadonly"
    },
    

    and

    {
      "key" : "ctrl+shift+up", "command" : "editor.action.moveLinesUpAction",
      "when" : "editorTextFocus && !editorReadonly"
    }
    

提交回复
热议问题