问题:
Using Microsoft's Visual Studio Code, how do I duplicate a line of code and then move it up and down? 使用Microsoft的Visual Studio代码,如何复制一行代码,然后上下移动它? (Similar to Sublime's cmd + shift + d behaviour) (类似于Sublime的cmd + shift + d行为)
It's a feature that I use constantly, and am struggling using Visual Studio Code without it. 这是我经常使用的功能,并且在没有它的情况下很难使用Visual Studio Code。
解决方案:
参考一: https://stackoom.com/question/22jNI/如何在Visual-Studio-Code中复制一行或所选内容参考二: https://oldbug.net/q/22jNI/How-do-I-duplicate-a-line-or-selection-within-Visual-Studio-Code
来源:oschina
链接:https://my.oschina.net/u/3797416/blog/4389599