do not allow to toggle config page from command palette

This commit is contained in:
uinstinct 2025-04-18 16:04:36 +05:30
parent 6f6c4de46d
commit c7d829edad
2 changed files with 13 additions and 0 deletions

View file

@ -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": [

View file

@ -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);
},