vscode 注释后 光标下移(注释后光标快速定位下一行) 仿照idea

VSCode 注释后光标快速定位下一行

1. 安装插件 Multi-command

Multi-command

2.打开 Keybinding.json

Keybinding.json
左下角齿轮图标,键盘快捷方式

点击右上角文件图标

3. 添加代码

注意加在数组里面

{
    "key": "ctrl+/",
    "command": "extension.multiCommand.execute",
    "args": {
      "sequence": ["editor.action.commentLine", "cursorDown"]
    },
    "when": "editorTextFocus"
  }
posted @ 2023-09-20 10:45  彭成刚  阅读(222)  评论(0编辑  收藏  举报