How to Move a Line Up or Down in Visual Studio Code for Mac

前端 未结 4 636
再見小時候
再見小時候 2021-01-30 19:27

I\'m familiar with how to move a line up or down in other editors, like Atom and Sublime.

How is this done in Visual Studio Code for Mac?

4条回答
  •  醉梦人生
    2021-01-30 20:20

    In Visual Studio Code for Mac for me it is:

    To move a line UP: +shift+ (alt + shift + up arrow keys)

    To move a line DOWN: +shift+ (alt + shift + arrow down keys)

    I do have IntelliJ IDEA Keybindings installed.

提交回复
热议问题