|
128 | 128 | "key": "cmd+backspace", |
129 | 129 | "command": "-deleteAllLeft", |
130 | 130 | "when": "textInputFocus && !editorReadonly" |
| 131 | + }, |
| 132 | + { |
| 133 | + "key": "cmd+i", |
| 134 | + "command": "-cloudcode.duetAI.showinEditor", |
| 135 | + "when": "authLoggedIn && config.geminicodeassist.enable && editorTextFocus && shouldRegisterInEditorCommand && !inGeminiDiffView && !isInDiffEditor" |
| 136 | + }, |
| 137 | + { |
| 138 | + "key": "shift+cmd+i", |
| 139 | + "command": "workbench.action.chat.startVoiceChat", |
| 140 | + "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" |
| 141 | + }, |
| 142 | + { |
| 143 | + "key": "cmd+i", |
| 144 | + "command": "-workbench.action.chat.startVoiceChat", |
| 145 | + "when": "chatIsEnabled && hasSpeechProvider && inChatInput && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress || chatIsEnabled && hasSpeechProvider && inlineChatFocused && !chatSessionRequestInProgress && !editorFocus && !notebookEditorFocused && !scopedVoiceChatGettingReady && !speechToTextInProgress" |
| 146 | + }, |
| 147 | + { |
| 148 | + "key": "shift+cmd+i", |
| 149 | + "command": "workbench.action.chat.stopListeningAndSubmit", |
| 150 | + "when": "inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'view' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'view'" |
| 151 | + }, |
| 152 | + { |
| 153 | + "key": "cmd+i", |
| 154 | + "command": "-workbench.action.chat.stopListeningAndSubmit", |
| 155 | + "when": "inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inChatInput && voiceChatInProgress && scopedVoiceChatInProgress == 'view' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'editor' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'inline' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'quick' || inlineChatFocused && voiceChatInProgress && scopedVoiceChatInProgress == 'view'" |
| 156 | + }, |
| 157 | + { |
| 158 | + "key": "cmd+k cmd+s", |
| 159 | + "command": "-workbench.action.openGlobalKeybindings" |
| 160 | + }, |
| 161 | + { |
| 162 | + "key": "cmd+k cmd+s", |
| 163 | + "command": "git.stageSelectedRanges", |
| 164 | + "when": "editorTextFocus && !operationInProgress && resourceScheme == 'file'" |
| 165 | + }, |
| 166 | + { |
| 167 | + "key": "cmd+k alt+cmd+s", |
| 168 | + "command": "-git.stageSelectedRanges", |
| 169 | + "when": "editorTextFocus && !operationInProgress && resourceScheme == 'file'" |
| 170 | + }, |
| 171 | + { |
| 172 | + "key": "cmd+l", |
| 173 | + "command": "aipopup.action.modal.generate", |
| 174 | + "when": "editorFocus && !composerBarIsVisible" |
| 175 | + }, |
| 176 | + { |
| 177 | + "key": "cmd+k", |
| 178 | + "command": "-aipopup.action.modal.generate", |
| 179 | + "when": "editorFocus && !composerBarIsVisible" |
| 180 | + }, |
| 181 | + { |
| 182 | + "key": "cmd+i", |
| 183 | + "command": "composer.startComposerPrompt" |
| 184 | + }, |
| 185 | + { |
| 186 | + "key": "cmd+i", |
| 187 | + "command": "-composer.startComposerPrompt" |
| 188 | + }, |
| 189 | + { |
| 190 | + "key": "cmd+i", |
| 191 | + "command": "composer.closeComposerTab", |
| 192 | + "when": "composerFocused && !editorTextFocus || !editorTextFocus && focusedView =~ /^workbench.panel.aichat.view/" |
| 193 | + }, |
| 194 | + { |
| 195 | + "key": "cmd+w", |
| 196 | + "command": "-composer.closeComposerTab", |
| 197 | + "when": "composerFocused && !editorTextFocus || !editorTextFocus && focusedView =~ /^workbench.panel.aichat.view/" |
| 198 | + }, |
| 199 | + { |
| 200 | + "key": "cmd+[", |
| 201 | + "command": "workbench.action.navigateBack", |
| 202 | + "when": "canNavigateBack" |
| 203 | + }, |
| 204 | + { |
| 205 | + "key": "ctrl+[Minus]", |
| 206 | + "command": "-workbench.action.navigateBack", |
| 207 | + "when": "canNavigateBack" |
| 208 | + }, |
| 209 | + { |
| 210 | + "key": "cmd+]", |
| 211 | + "command": "workbench.action.navigateForward", |
| 212 | + "when": "canNavigateForward" |
| 213 | + }, |
| 214 | + { |
| 215 | + "key": "ctrl+[IntlRo]", |
| 216 | + "command": "-workbench.action.navigateForward", |
| 217 | + "when": "canNavigateForward" |
| 218 | + }, |
| 219 | + { |
| 220 | + "key": "cmd+e", |
| 221 | + "command": "testing.runAtCursor", |
| 222 | + "when": "editorTextFocus" |
| 223 | + }, |
| 224 | + { |
| 225 | + "key": "cmd+[Semicolon] c", |
| 226 | + "command": "-testing.runAtCursor", |
| 227 | + "when": "editorTextFocus" |
| 228 | + }, |
| 229 | + { |
| 230 | + "key": "cmd+t", |
| 231 | + "command": "-workbench.action.showAllSymbols" |
| 232 | + }, |
| 233 | + { |
| 234 | + "key": "ctrl+p", |
| 235 | + "command": "-cursorUp", |
| 236 | + "when": "textInputFocus" |
| 237 | + }, |
| 238 | + { |
| 239 | + "key": "ctrl+p", |
| 240 | + "command": "-showPrevParameterHint", |
| 241 | + "when": "editorFocus && parameterHintsMultipleSignatures && parameterHintsVisible" |
| 242 | + }, |
| 243 | + { |
| 244 | + "key": "ctrl+p", |
| 245 | + "command": "-selectPrevSuggestion", |
| 246 | + "when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus || suggestWidgetVisible && textInputFocus && !suggestWidgetHasFocusedSuggestion" |
| 247 | + }, |
| 248 | + { |
| 249 | + "key": "shift+cmd+e", |
| 250 | + "command": "testing.debugAtCursor", |
| 251 | + "when": "editorTextFocus" |
| 252 | + }, |
| 253 | + { |
| 254 | + "key": "cmd+[Semicolon] cmd+c", |
| 255 | + "command": "-testing.debugAtCursor", |
| 256 | + "when": "editorTextFocus" |
| 257 | + }, |
| 258 | + { |
| 259 | + "key": "ctrl+t", |
| 260 | + "command": "-editor.action.transposeLetters", |
| 261 | + "when": "textInputFocus && !editorReadonly" |
| 262 | + }, |
| 263 | + { |
| 264 | + "key": "shift+cmd+e", |
| 265 | + "command": "-workbench.view.explorer", |
| 266 | + "when": "viewContainer.workbench.view.explorer.enabled" |
| 267 | + }, |
| 268 | + { |
| 269 | + "key": "cmd+e", |
| 270 | + "command": "-editor.action.toggleScreenReaderAccessibilityMode", |
| 271 | + "when": "accessibilityHelpIsShown" |
| 272 | + }, |
| 273 | + { |
| 274 | + "key": "cmd+e", |
| 275 | + "command": "-actions.findWithSelection" |
| 276 | + }, |
| 277 | + { |
| 278 | + "key": "ctrl+e", |
| 279 | + "command": "testing.runCurrentFile", |
| 280 | + "when": "editorTextFocus" |
| 281 | + }, |
| 282 | + { |
| 283 | + "key": "cmd+[Semicolon] f", |
| 284 | + "command": "-testing.runCurrentFile", |
| 285 | + "when": "editorTextFocus" |
| 286 | + }, |
| 287 | + { |
| 288 | + "key": "shift+cmd+i", |
| 289 | + "command": "composer.newAgentChat" |
| 290 | + }, |
| 291 | + { |
| 292 | + "key": "shift+cmd+i", |
| 293 | + "command": "-composer.newAgentChat" |
| 294 | + }, |
| 295 | + { |
| 296 | + "key": "shift+cmd+d", |
| 297 | + "command": "-composer.fixerrormessage", |
| 298 | + "when": "@composer.isCursorOnLint" |
| 299 | + }, |
| 300 | + { |
| 301 | + "key": "shift+cmd+d", |
| 302 | + "command": "editor.action.selectHighlights", |
| 303 | + "when": "editorFocus" |
| 304 | + }, |
| 305 | + { |
| 306 | + "key": "shift+cmd+l", |
| 307 | + "command": "-editor.action.selectHighlights", |
| 308 | + "when": "editorFocus" |
| 309 | + }, |
| 310 | + { |
| 311 | + "key": "cmd+l", |
| 312 | + "command": "-aichat.newchataction" |
| 313 | + }, |
| 314 | + { |
| 315 | + "key": "shift+cmd+l", |
| 316 | + "command": "-notebook.selectAllFindMatches", |
| 317 | + "when": "config.notebook.multiCursor.enabled && notebookFindWidgetFocused || config.notebook.multiCursor.enabled && notebookCellEditorFocused && activeEditor == 'workbench.editor.notebook'" |
| 318 | + }, |
| 319 | + { |
| 320 | + "key": "shift+cmd+l", |
| 321 | + "command": "-selectAllSearchEditorMatches", |
| 322 | + "when": "inSearchEditor" |
| 323 | + }, |
| 324 | + { |
| 325 | + "key": "shift+cmd+l", |
| 326 | + "command": "-addCursorsAtSearchResults", |
| 327 | + "when": "fileMatchOrMatchFocus && searchViewletVisible" |
| 328 | + }, |
| 329 | + { |
| 330 | + "key": "shift+cmd+l", |
| 331 | + "command": "-aichat.insertselectionintochat" |
| 332 | + }, |
| 333 | + { |
| 334 | + "key": "shift+cmd+l", |
| 335 | + "command": "aichat.insertselectionintochat" |
131 | 336 | } |
132 | 337 | ] |
0 commit comments