Skip to content

Commit 6bfa34f

Browse files
authored
fix(amazonq): Fix next edit suggestion, inline accept and reject edit… (#7802)
… to menu string ## Problem Customer reported issue here: #7796 ## Solution Fix next edit suggestion, inline accept and reject edit to menu string ## Testing <img width="608" height="87" alt="Screenshot 2025-08-01 at 2 37 51 PM" src="https://github.com/user-attachments/assets/0004dc9b-32b9-40fb-a5c4-528a8b15c2a2" /> <img width="608" height="105" alt="Screenshot 2025-08-01 at 2 38 54 PM" src="https://github.com/user-attachments/assets/783b4065-a1ae-40df-b16d-55c747b38489" /> <img width="608" height="105" alt="Screenshot 2025-08-01 at 2 39 17 PM" src="https://github.com/user-attachments/assets/31578cf4-2e46-4c30-a6b4-e762543e5252" /> --- - 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 187f27a commit 6bfa34f

File tree

2 files changed

+12
-3
lines changed

2 files changed

+12
-3
lines changed

packages/amazonq/package.json

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -852,15 +852,21 @@
852852
},
853853
{
854854
"command": "aws.amazonq.inline.acceptEdit",
855-
"title": "%aws.amazonq.inline.acceptEdit%"
855+
"title": "%AWS.amazonq.inline.acceptEdit%",
856+
"category": "%AWS.amazonq.title%",
857+
"enablement": "aws.codewhisperer.connected"
856858
},
857859
{
858860
"command": "aws.amazonq.inline.rejectEdit",
859-
"title": "%aws.amazonq.inline.rejectEdit%"
861+
"title": "%AWS.amazonq.inline.rejectEdit%",
862+
"category": "%AWS.amazonq.title%",
863+
"enablement": "aws.codewhisperer.connected"
860864
},
861865
{
862866
"command": "aws.amazonq.toggleNextEditPredictionPanel",
863-
"title": "%aws.amazonq.toggleNextEditPredictionPanel%"
867+
"title": "%AWS.amazonq.toggleNextEditPredictionPanel%",
868+
"category": "%AWS.amazonq.title%",
869+
"enablement": "aws.codewhisperer.connected"
864870
}
865871
],
866872
"keybindings": [

packages/core/package.nls.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -358,6 +358,7 @@
358358
"AWS.amazonq.codewhisperer.title": "Amazon Q",
359359
"AWS.amazonq.toggleCodeSuggestion": "Toggle Auto-Suggestions",
360360
"AWS.amazonq.toggleCodeScan": "Toggle Auto-Scans",
361+
"AWS.amazonq.toggleNextEditPredictionPanel": "Toggle next edit suggestion",
361362
"AWS.amazonq.scans.scanProgress": "Sure. This may take a few minutes. I will send a notification when it’s complete if you navigate away from this panel.",
362363
"AWS.amazonq.scans.waitingForInput": "Waiting on your inputs...",
363364
"AWS.amazonq.scans.chooseScan.description": "Would you like to review your active file or the workspace you have open?",
@@ -465,6 +466,8 @@
465466
"AWS.amazonq.doc.pillText.reject": "Reject",
466467
"AWS.amazonq.doc.pillText.makeChanges": "Make changes",
467468
"AWS.amazonq.inline.invokeChat": "Inline chat",
469+
"AWS.amazonq.inline.acceptEdit": "Accept edit suggestion",
470+
"AWS.amazonq.inline.rejectEdit": "Reject edit suggestion",
468471
"AWS.amazonq.opensettings:": "Open settings",
469472
"AWS.toolkit.lambda.walkthrough.quickpickTitle": "Application Builder Walkthrough",
470473
"AWS.toolkit.lambda.walkthrough.title": "Get started building your application",

0 commit comments

Comments
 (0)