From 9699eb7c99bdad54602e634892949dee5d20c961 Mon Sep 17 00:00:00 2001 From: tomasz-io Date: Tue, 1 Oct 2024 23:04:58 +0200 Subject: [PATCH] add chat shortcut to quick picks --- extensions/vscode/src/commands.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/extensions/vscode/src/commands.ts b/extensions/vscode/src/commands.ts index 17140eaf8..0edf63227 100644 --- a/extensions/vscode/src/commands.ts +++ b/extensions/vscode/src/commands.ts @@ -641,6 +641,12 @@ const commandsMap: ( : StatusBarStatus.Disabled; } quickPick.items = [ + { + label: "$(comment) Open chat (Cmd+L)", + }, + { + label: "$(screen-full) Open full screen chat (Cmd+K Cmd+M)", + }, { label: quickPickStatusText(targetStatus), }, @@ -685,6 +691,13 @@ const commandsMap: ( configHandler.reloadConfig(); } else if (selectedOption === "$(feedback) Give feedback") { vscode.commands.executeCommand("continue.giveAutocompleteFeedback"); + } else if (selectedOption === "$(comment) Open chat (Cmd+L)") { + vscode.commands.executeCommand("continue.focusContinueInput"); + } else if ( + selectedOption === + "$(screen-full) Open full screen chat (Cmd+K Cmd+M)" + ) { + vscode.commands.executeCommand("continue.toggleFullScreen"); } quickPick.dispose(); });