How do I duplicate a line or selection within Visual Studio Code?

前端 未结 17 2379
青春惊慌失措
青春惊慌失措 2020-12-04 04:38

Using Microsoft\'s Visual Studio Code, how do I duplicate a line of code and then move it up and down? (Similar to Sublime\'s cmd+shift+d be

17条回答
  •  悲&欢浪女
    2020-12-04 05:03

    • For Jetbrains IDE Users who migrated to VSCode , no problem.

    • Install:
      1) JetBrains IDE Keymap: Extension
      2) vscode-intellij-idea-keybindings Extension (Preferred)

    • Use this Intellij Darcula Theme: Extension

    • The keymap has covered most of keyboard shortcuts of VS Code, and makes VS Code more 'JetBrains IDE like'.

    • Above extensions imports keybindings from JetBrains to VS Code. After installing the extension and restarting VS Code you can use VS Code just like IntelliJ IDEA, Webstorm, PyCharm, etc.

提交回复
热议问题