0
点赞
收藏
分享

微信扫一扫

vscode快捷键配置

兮城 2022-07-13 阅读 141


xt@xtpc:~$ cat /home/xt/.config/Code/User/keybindings.json
// 将键绑定放在此文件中以覆盖默认值auto[]
[
{
“key”: “f2”,
“command”: “editor.action.revealDefinition”,
“when”: “editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor”
},
{
“key”: “f12”,
“command”: “-editor.action.revealDefinition”,
“when”: “editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor”
},
{
“key”: “f3”,
“command”: “workbench.action.navigateBack”
},
{
“key”: “ctrl+alt±”,
“command”: “-workbench.action.navigateBack”
},
{
“key”: “f4”,
“command”: “C_Cpp.SwitchHeaderSource”,
“when”: “editorTextFocus && editorLangId == ‘c’ || editorTextFocus && editorLangId == ‘cpp’ || editorTextFocus && editorLangId == ‘cuda-cpp’”
},
{
“key”: “alt+o”,
“command”: “-C_Cpp.SwitchHeaderSource”,
“when”: “editorTextFocus && editorLangId == ‘c’ || editorTextFocus && editorLangId == ‘cpp’ || editorTextFocus && editorLangId == ‘cuda-cpp’”
}
]


举报

相关推荐

VScode快捷键

vscode 快捷键

VSCode快捷键

vscode快捷键

vscode的快捷键

0 条评论