安装IDEA KeyBinding插件后发现无法和IDEA一般注释后换行,经过一番查询,如下解决:
https://github.com/kasecato/vscode-intellij-idea-keybindings/issues/233#issuecomment-1491495313
Ctrl+Shift+A
搜索 Open Keyboard Shutcuts (JSON)
,将以下代码加到末尾,注意JSON语法。
{
"key": "ctrl+/",
"command": "runCommands",
"args": {
"commands": [
"editor.action.commentLine",
"cursorDown"
]
},
"when": "editorTextFocus && !editorReadonly"
},
标签:vscode,idea,IDEA,注释,换行,JSON
From: https://www.cnblogs.com/jing332/p/17608012.html