2
是否有vscode keybindings的when子句的主列表/文檔?是否有vscode keybindings的when子句的主列表/文檔?
我無法在任何地方找到這個文件。如果我想指定一個不同的動作。假設我不想在任務「上下文」中有Ctrl
+ B
開始構建任務,並在我處於任務上下文時終止。
我經歷了文件,每當我找到時寫下來,但沒有看起來像'那件事'。
// Place your key bindings in this file to overwrite the defaults
[{
"key": "cmd+b",
"command": "workbench.action.tasks.build",
"when": "editorTextFocus"
},{
"key": "ctrl+c",
"command": "workbench.action.tasks.terminate",
"when": "???"
}
]
- inDebugMode
- inQuickOpen
- editorTextFocus
- suggestWidgetVisible
- suggestionSupportsAcceptOnKey
- editorLangId == 'xxx' 的
- searchViewletVisible
- renameInputVisible
- accessibilityHelpWidgetVisible
- quickFixWidgetVisible
- parameterHintsVisible
- referenceSearchVisible
- !config.editor.stablePeek
- markersNavigationVisible
- editorFocus
- inSnippetMode
- breakpointWidgetVisible
- findWidgetVisible
- editorTabMovesFocus
- editorHasSelection
- editorHasMultipleSelections
- inReferenceSearchEditor