Merge pull request #2440 from continuedev/tomasz/improve-navigation
Add chat shortcut to quick picks
This commit is contained in:
commit
f0a8c50629
1 changed files with 13 additions and 0 deletions
|
|
@ -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();
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue