设置>快捷键


复制下面代码到右侧配置文件

// 将密钥绑定放在此文件中以覆盖默认值
[
{
"key": "ctrl+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+up",
"command": "editor.action.moveLinesUpAction",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+down",
"command": "editor.action.moveLinesDownAction",
"when": "editorTextFocus"
}
]
本文详细介绍了如何在VSCode中自定义编辑器的快捷键,包括复制、移动代码行等常用操作,通过修改配置文件实现高效编程体验。

被折叠的 条评论
为什么被折叠?



