VSCodeSetting/keybindings.json

95 lines
2.5 KiB
JSON
Raw Normal View History

2022-03-16 04:29:35 +00:00
// 將按鍵繫結關係放在此檔案中以覆寫預設auto[]
[
{
"key": "ctrl+q",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+/",
"command": "-editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+q",
"command": "editor.toggleCallHierarchy",
"when": "callHierarchyVisible"
},
{
"key": "shift+alt+h",
"command": "-editor.toggleCallHierarchy",
"when": "callHierarchyVisible"
},
{
"key": "ctrl+shift+a",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+.",
"command": "-editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+s",
"command": "-workbench.action.files.saveAs"
},
{
"key": "ctrl+shift+s",
"command": "-workbench.action.files.saveLocalFile",
"when": "remoteFileDialogVisible"
},
{
"key": "ctrl+shift+s",
"command": "workbench.action.files.saveAll"
},
{
"key": "ctrl+k s",
"command": "-workbench.action.files.saveAll"
},
{
"key": "shift+win+d",
"command": "extension.downloadSettings"
},
{
"key": "shift+alt+d",
"command": "-extension.downloadSettings"
},
{
"key": "shift+win+u",
"command": "extension.updateSettings"
},
{
"key": "shift+alt+u",
"command": "-extension.updateSettings"
},
{
"key": "ctrl+shift+alt+s",
"command": "workbench.action.openGlobalKeybindingsFile"
},
{
"key": "F8",
"command": "workbench.action.tasks.runTask",
"args": "compile"
},
{
"key": "f5",
"command": "workbench.action.debug.start",
"when": "!inDebugMode"
},
{
"key": "f5",
"command": "-workbench.action.debug.start",
"when": "debuggersAvailable && debugState != 'initializing'"
},
{
"key": "ctrl+f5",
"command": "workbench.action.debug.run",
"when": "!inDebugMode"
},
{
"key": "ctrl+f5",
"command": "-workbench.action.debug.run",
"when": "debuggersAvailable && debugState != 'initializing'"
}
]