vscode快捷键设置
,最终 keybindings.json 文件如下
// Place your key bindings in this file to override the defaults
[
{
"key": "alt+s",
"command": "workbench.action.files.saveAll"
},
{
"key": "ctrl+a", //新建文件
"command": "explorer.newFile",
"when": "explorerResourceIsFolder"
},
{
"key": "ctrl+z", //新建文件夹
"command": "explorer.newFolder",
"when": "explorerResourceIsFolder"
}
]