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

前端 未结 4 644
再見小時候
再見小時候 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...

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

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

    See here for a reference on Basic Editing Key Bindings in Visual Studio Code.

提交回复
热议问题