From 57ad113712422b9b45d9cf53deb9466a072878a1 Mon Sep 17 00:00:00 2001 From: Tyrone Smith Date: Fri, 1 Aug 2025 14:42:12 -0700 Subject: [PATCH] fix(amazonq): Fix next edit suggestion, inline accept and reject edit to menu string --- packages/amazonq/package.json | 12 +++++++++--- packages/core/package.nls.json | 3 +++ 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/packages/amazonq/package.json b/packages/amazonq/package.json index 2bc910dd5f3..071f2000031 100644 --- a/packages/amazonq/package.json +++ b/packages/amazonq/package.json @@ -852,15 +852,21 @@ }, { "command": "aws.amazonq.inline.acceptEdit", - "title": "%aws.amazonq.inline.acceptEdit%" + "title": "%AWS.amazonq.inline.acceptEdit%", + "category": "%AWS.amazonq.title%", + "enablement": "aws.codewhisperer.connected" }, { "command": "aws.amazonq.inline.rejectEdit", - "title": "%aws.amazonq.inline.rejectEdit%" + "title": "%AWS.amazonq.inline.rejectEdit%", + "category": "%AWS.amazonq.title%", + "enablement": "aws.codewhisperer.connected" }, { "command": "aws.amazonq.toggleNextEditPredictionPanel", - "title": "%aws.amazonq.toggleNextEditPredictionPanel%" + "title": "%AWS.amazonq.toggleNextEditPredictionPanel%", + "category": "%AWS.amazonq.title%", + "enablement": "aws.codewhisperer.connected" } ], "keybindings": [ diff --git a/packages/core/package.nls.json b/packages/core/package.nls.json index 498a3583a00..45db449c625 100644 --- a/packages/core/package.nls.json +++ b/packages/core/package.nls.json @@ -358,6 +358,7 @@ "AWS.amazonq.codewhisperer.title": "Amazon Q", "AWS.amazonq.toggleCodeSuggestion": "Toggle Auto-Suggestions", "AWS.amazonq.toggleCodeScan": "Toggle Auto-Scans", + "AWS.amazonq.toggleNextEditPredictionPanel": "Toggle next edit suggestion", "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.", "AWS.amazonq.scans.waitingForInput": "Waiting on your inputs...", "AWS.amazonq.scans.chooseScan.description": "Would you like to review your active file or the workspace you have open?", @@ -465,6 +466,8 @@ "AWS.amazonq.doc.pillText.reject": "Reject", "AWS.amazonq.doc.pillText.makeChanges": "Make changes", "AWS.amazonq.inline.invokeChat": "Inline chat", + "AWS.amazonq.inline.acceptEdit": "Accept edit suggestion", + "AWS.amazonq.inline.rejectEdit": "Reject edit suggestion", "AWS.amazonq.opensettings:": "Open settings", "AWS.toolkit.lambda.walkthrough.quickpickTitle": "Application Builder Walkthrough", "AWS.toolkit.lambda.walkthrough.title": "Get started building your application",