Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Pasero <benjamin.pasero@microsoft.com>2022-06-08 10:24:49 +0300
committerGitHub <noreply@github.com>2022-06-08 10:24:49 +0300
commit2c0a136079200e864c62989c2bd06e6fc2d7aee0 (patch)
tree34b716df59d938b3233885f2b879edf920449234
parent10e23028a7d7b328f5c20289df4037967bf333b5 (diff)
ux - hide quick pickers from command palette (#151489)
-rw-r--r--src/vs/workbench/browser/actions/windowActions.ts2
-rw-r--r--src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.ts2
-rw-r--r--src/vs/workbench/electron-sandbox/actions/windowActions.ts2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/vs/workbench/browser/actions/windowActions.ts b/src/vs/workbench/browser/actions/windowActions.ts
index a0d14adf991..2f565273c1f 100644
--- a/src/vs/workbench/browser/actions/windowActions.ts
+++ b/src/vs/workbench/browser/actions/windowActions.ts
@@ -270,7 +270,7 @@ class QuickPickRecentAction extends BaseOpenRecentAction {
id: 'workbench.action.quickOpenRecent',
title: { value: localize('quickOpenRecent', "Quick Open Recent..."), original: 'Quick Open Recent...' },
category: fileCategory,
- f1: true
+ f1: false // hide quick pickers from command palette to not confuse with the other entry that shows a input field
});
}
diff --git a/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.ts b/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.ts
index 4a278af2146..913b3ba46d3 100644
--- a/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.ts
+++ b/src/vs/workbench/contrib/quickaccess/browser/viewQuickAccess.ts
@@ -240,7 +240,7 @@ export class QuickAccessViewPickerAction extends Action2 {
id: QuickAccessViewPickerAction.ID,
title: { value: localize('quickOpenView', "Quick Open View"), original: 'Quick Open View' },
category: CATEGORIES.View,
- f1: true,
+ f1: false, // hide quick pickers from command palette to not confuse with the other entry that shows a input field
keybinding: {
weight: KeybindingWeight.WorkbenchContrib,
when: undefined,
diff --git a/src/vs/workbench/electron-sandbox/actions/windowActions.ts b/src/vs/workbench/electron-sandbox/actions/windowActions.ts
index a89681fa292..438925fd576 100644
--- a/src/vs/workbench/electron-sandbox/actions/windowActions.ts
+++ b/src/vs/workbench/electron-sandbox/actions/windowActions.ts
@@ -266,7 +266,7 @@ export class QuickSwitchWindowAction extends BaseSwitchWindow {
super({
id: 'workbench.action.quickSwitchWindow',
title: { value: localize('quickSwitchWindow', "Quick Switch Window..."), original: 'Quick Switch Window...' },
- f1: true
+ f1: false // hide quick pickers from command palette to not confuse with the other entry that shows a input field
});
}