do not allow to toggle config page from command palette
This commit is contained in:
parent
6f6c4de46d
commit
c7d829edad
2 changed files with 13 additions and 0 deletions
|
|
@ -220,6 +220,12 @@
|
|||
"icon": "$(gear)",
|
||||
"group": "Continue"
|
||||
},
|
||||
{
|
||||
"command": "continue.openConfigPageFromPalette",
|
||||
"category": "Continue",
|
||||
"title": "Open Settings",
|
||||
"group": "Continue"
|
||||
},
|
||||
{
|
||||
"command": "continue.toggleTabAutocompleteEnabled",
|
||||
"category": "Continue",
|
||||
|
|
@ -439,6 +445,10 @@
|
|||
},
|
||||
{
|
||||
"command": "continue.newSession"
|
||||
},
|
||||
{
|
||||
"command": "continue.openConfigPage",
|
||||
"when": "false"
|
||||
}
|
||||
],
|
||||
"editor/context": [
|
||||
|
|
|
|||
|
|
@ -794,6 +794,9 @@ const getCommandsMap: (
|
|||
vscode.commands.executeCommand("workbench.action.copyEditorToNewWindow");
|
||||
vscode.commands.executeCommand("workbench.action.closeAuxiliaryBar");
|
||||
},
|
||||
"continue.openConfigPageFromPalette": () => {
|
||||
vscode.commands.executeCommand("continue.navigateTo", "/config", false);
|
||||
},
|
||||
"continue.openConfigPage": () => {
|
||||
vscode.commands.executeCommand("continue.navigateTo", "/config", true);
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue