From 7729a82c179ccf0884a02e2caa08b78e6504645f Mon Sep 17 00:00:00 2001 From: Benjamin Pasero Date: Fri, 13 Oct 2023 08:06:28 +0200 Subject: [PATCH] files - have "Open File" command on macOS too (#195537) --- src/vs/workbench/browser/actions/workspaceActions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vs/workbench/browser/actions/workspaceActions.ts b/src/vs/workbench/browser/actions/workspaceActions.ts index cbb08e8ff0949..3f2e2799fa57e 100644 --- a/src/vs/workbench/browser/actions/workspaceActions.ts +++ b/src/vs/workbench/browser/actions/workspaceActions.ts @@ -36,8 +36,8 @@ export class OpenFileAction extends Action2 { title: { value: localize('openFile', "Open File..."), original: 'Open File...' }, category: Categories.File, f1: true, - precondition: IsMacNativeContext.toNegated(), keybinding: { + when: IsMacNativeContext.toNegated(), weight: KeybindingWeight.WorkbenchContrib, primary: KeyMod.CtrlCmd | KeyCode.KeyO }