import{ls as t}from"../platform/platform.js";import{Runtime as o}from"../root/root.js";import{ActionRegistration as e}from"../ui/ui.js";let i;async function n(){return i||(await o.Runtime.instance().loadModulePromise("quick_open"),i=await import("./quick_open.js")),i}e.registerActionExtension({actionId:"commandMenu.show",category:e.ActionCategory.GLOBAL,title:()=>t`Run command`,loadActionDelegate:async()=>(await n()).CommandMenu.ShowActionDelegate.instance(),bindings:[{platform:"windows,linux",shortcut:"Ctrl+Shift+P",keybindSets:["devToolsDefault","vsCode"]},{platform:"mac",shortcut:"Meta+Shift+P",keybindSets:["devToolsDefault","vsCode"]},{shortcut:"F1",keybindSets:["vsCode"]}]}),e.registerActionExtension({actionId:"quickOpen.show",category:e.ActionCategory.GLOBAL,title:()=>t`Open file`,loadActionDelegate:async()=>(await n()).QuickOpen.ShowActionDelegate.instance(),order:100,bindings:[{platform:"mac",shortcut:"Meta+P",keybindSets:["devToolsDefault","vsCode"]},{platform:"mac",shortcut:"Meta+0",keybindSets:["devToolsDefault","vsCode"]},{platform:"windows,linux",shortcut:"Ctrl+P",keybindSets:["devToolsDefault","vsCode"]},{platform:"windows,linux",shortcut:"Ctrl+0",keybindSets:["devToolsDefault","vsCode"]}]});
