Skip to content

Commit 3c67ade

Browse files
authored
fix(amazonq): typo amazonq.editSuggestionActive -> aws.amazonq.editSuggestionActive (#7571)
## Problem ## Solution --- - Treat all work as PUBLIC. Private `feature/x` branches will not be squash-merged at release time. - Your code changes must meet the guidelines in [CONTRIBUTING.md](https://github.com/aws/aws-toolkit-vscode/blob/master/CONTRIBUTING.md#guidelines). - License: I confirm that my contribution is made under the terms of the Apache 2.0 license.
1 parent 6f37b23 commit 3c67ade

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

packages/amazonq/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -945,12 +945,12 @@
945945
{
946946
"command": "aws.amazonq.inline.acceptEdit",
947947
"key": "tab",
948-
"when": "editorTextFocus && amazonq.editSuggestionActive"
948+
"when": "editorTextFocus && aws.amazonq.editSuggestionActive"
949949
},
950950
{
951951
"command": "aws.amazonq.inline.rejectEdit",
952952
"key": "escape",
953-
"when": "editorTextFocus && amazonq.editSuggestionActive"
953+
"when": "editorTextFocus && aws.amazonq.editSuggestionActive"
954954
}
955955
],
956956
"icons": {

packages/amazonq/src/app/inline/EditRendering/displayImage.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ export class EditDecorationManager {
133133
): void {
134134
this.clearDecorations(editor)
135135

136-
void setContext('amazonq.editSuggestionActive' as any, true)
136+
void setContext('aws.amazonq.editSuggestionActive' as any, true)
137137

138138
this.acceptHandler = onAccept
139139
this.rejectHandler = onReject
@@ -163,7 +163,7 @@ export class EditDecorationManager {
163163
this.currentRemovedCodeDecorations = []
164164
this.acceptHandler = undefined
165165
this.rejectHandler = undefined
166-
void setContext('amazonq.editSuggestionActive' as any, false)
166+
void setContext('aws.amazonq.editSuggestionActive' as any, false)
167167
}
168168

169169
/**

0 commit comments

Comments
 (0)