Skip to content

Commit d4d1ae0

Browse files
authored
fix(amazonq): update keybinding for focus chat #5910
Update the keybindings for Amazon Q's focus chat keybind to win+alt+i on Windows, cmd+alt+i on macOS, and meta+alt+i on Linux. This was requested by product to keep it consistent with the other keybinds.
1 parent 4add487 commit d4d1ae0

File tree

3 files changed

+8
-3
lines changed

3 files changed

+8
-3
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Breaking Change",
3+
"description": "Change focus chat keybind to win+alt+i on Windows, cmd+alt+i on macOS, and meta+alt+i on Linux"
4+
}

packages/amazonq/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -609,9 +609,9 @@
609609
"keybindings": [
610610
{
611611
"command": "_aws.amazonq.focusChat.keybinding",
612-
"win": "ctrl+win+i",
613-
"mac": "ctrl+cmd+i",
614-
"linux": "ctrl+meta+i"
612+
"win": "win+alt+i",
613+
"mac": "cmd+alt+i",
614+
"linux": "meta+alt+i"
615615
},
616616
{
617617
"command": "aws.amazonq.explainCode",

packages/amazonq/src/inlineChat/controller/inlineChatController.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ export class InlineChatController {
286286
}
287287
}
288288
if (chatEvent.error) {
289+
getLogger().error('generateAssistantResponse stream error: %s', chatEvent.error)
289290
await this.rejectAllChanges(this.task, false)
290291
void vscode.window.showErrorMessage(`Amazon Q: ${chatEvent.error.message}`)
291292
await this.updateTaskAndLenses(this.task, TaskState.Complete)

0 commit comments

Comments
 (0)