newFile=this.createMenuItem(nls.localize({key:'miNewFile',comment:['&& denotes a mnemonic']},"&&New File"),'workbench.action.files.newUntitledFile');
}
constopen=newMenuItem(this.likeAction('workbench.action.files.openFileFolder',{label:mnemonicLabel(nls.localize({key:'miOpen',comment:['&& denotes a mnemonic']},"&&Open...")),click:()=>this.windowsService.openFileFolderPicker()}));
constopenFolder=newMenuItem(this.likeAction('workbench.action.files.openFolder',{label:mnemonicLabel(nls.localize({key:'miOpenFolder',comment:['&& denotes a mnemonic']},"Open &&Folder...")),click:()=>this.windowsService.openFolderPicker()}));
constopen=newMenuItem(this.likeAction('workbench.action.files.openFileFolder',{label:mnemonicLabel(nls.localize({key:'miOpen',comment:['&& denotes a mnemonic']},"&&Open...")),click:(menuItem,win,event)=>this.windowsService.openFileFolderPicker(this.isOptionClick(event))}));
constopenFolder=newMenuItem(this.likeAction('workbench.action.files.openFolder',{label:mnemonicLabel(nls.localize({key:'miOpenFolder',comment:['&& denotes a mnemonic']},"Open &&Folder...")),click:(menuItem,win,event)=>this.windowsService.openFolderPicker(this.isOptionClick(event))}));
letopenFile:Electron.MenuItem;
if(hasNoWindows){
openFile=newMenuItem(this.likeAction('workbench.action.files.openFile',{label:mnemonicLabel(nls.localize({key:'miOpenFile',comment:['&& denotes a mnemonic']},"&&Open File...")),click:()=>this.windowsService.openFilePicker()}));
openFile=newMenuItem(this.likeAction('workbench.action.files.openFile',{label:mnemonicLabel(nls.localize({key:'miOpenFile',comment:['&& denotes a mnemonic']},"&&Open File...")),click:(menuItem,win,event)=>this.windowsService.openFilePicker(this.isOptionClick(event))}));
}else{
openFile=this.createMenuItem(nls.localize({key:'miOpenFile',comment:['&& denotes a mnemonic']},"&&Open File..."),'workbench.action.files.openFile');
openFile=this.createMenuItem(nls.localize({key:'miOpenFile',comment:['&& denotes a mnemonic']},"&&Open File..."),['workbench.action.files.openFile','workbench.action.files.openFileInNewWindow']);
actionId=this.isOptionClick(event)?arg2[1]:arg2[0];// support alternative action if we got multiple action Ids and the option key was pressed while invoking