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 }