Skip to content

Commit d79c13c

Browse files
authored
feat(amazonq): add open chat command (aws#6812)
There is no hard command to focus the chat view from command palette. There exists Amazon Q: Focus on Chat View, but if the user moves the chat it can change names, e.g. Terminal: Focus on Chat View, which is confusing. CoPilot also has this issue, which is why they have the Chat: Open Chat command. Note: This command will work whether the user is logged in or not, for ease of use. If they are not logged in then it will open the login window. --- - 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 b048f97 commit d79c13c

File tree

3 files changed

+10
-0
lines changed

3 files changed

+10
-0
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"type": "Feature",
3+
"description": "Command Palette: Add `Amazon Q: Open Chat` command."
4+
}

packages/amazonq/package.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -740,6 +740,11 @@
740740
"category": "%AWS.amazonq.title%",
741741
"enablement": "aws.codewhisperer.connected"
742742
},
743+
{
744+
"command": "aws.amazonq.focusChat",
745+
"title": "%AWS.amazonq.openChat%",
746+
"category": "%AWS.amazonq.title%"
747+
},
743748
{
744749
"command": "aws.amazonq.exploreAgents",
745750
"title": "%AWS.amazonq.exploreAgents%",

packages/core/package.nls.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,7 @@
323323
"AWS.codewhisperer.customization.notification.new_customizations.learn_more": "Learn More",
324324
"AWS.amazonq.title": "Amazon Q",
325325
"AWS.amazonq.chat": "Chat",
326+
"AWS.amazonq.openChat": "Open Chat",
326327
"AWS.amazonq.context.folders.title": "Folders",
327328
"AWS.amazonq.context.folders.description": "Add all files in a folder to context",
328329
"AWS.amazonq.context.files.title": "Files",

0 commit comments

Comments
 (0)