this.configurationService.onDidUpdateConfiguration(e=>this.onConfigurationUpdated(e.config,true/* update menu if changed */));
...
...
@@ -855,14 +845,12 @@ export class VSCodeMenu {
}
}
this._welcome=newMenuItem({label:mnemonicLabel(nls.localize({key:'miWelcome',comment:['&& denotes a mnemonic']},"&&Welcome")),click:()=>this.windowsService.sendToFocused('vscode:runAction','workbench.action.welcomePage')});
newMenuItem({label:mnemonicLabel(nls.localize({key:'miWelcome',comment:['&& denotes a mnemonic']},"&&Welcome")),click:()=>this.windowsService.sendToFocused('vscode:runAction','workbench.action.welcomePage')}),
product.documentationUrl?newMenuItem({label:mnemonicLabel(nls.localize({key:'miDocumentation',comment:['&& denotes a mnemonic']},"&&Documentation")),click:()=>this.windowsService.sendToFocused('vscode:runAction','workbench.action.openDocumentationUrl')}):null,
product.releaseNotesUrl?newMenuItem({label:mnemonicLabel(nls.localize({key:'miReleaseNotes',comment:['&& denotes a mnemonic']},"&&Release Notes")),click:()=>this.windowsService.sendToFocused('vscode:runAction','update.showCurrentReleaseNotes')}):null,
keyboardShortcutsUrl?newMenuItem({label:mnemonicLabel(nls.localize({key:'miKeyboardShortcuts',comment:['&& denotes a mnemonic']},"&&Keyboard Shortcuts Reference")),click:()=>this.windowsService.sendToFocused('vscode:runAction','workbench.action.keybindingsReference')}):null,
product.introductoryVideosUrl?newMenuItem({label:mnemonicLabel(nls.localize({key:'miIntroductoryVideos',comment:['&& denotes a mnemonic']},"Introductory &&Videos")),click:()=>this.windowsService.sendToFocused('vscode:runAction','workbench.action.openIntroductoryVideosUrl')}):null,
.registerWorkbenchAction(newSyncActionDescriptor(WelcomeOverlayAction,WelcomeOverlayAction.ID,WelcomeOverlayAction.LABEL),'Help: Show Interface Overview',localize('help',"Help"));
.registerWorkbenchAction(newSyncActionDescriptor(WelcomeOverlayAction,WelcomeOverlayAction.ID,WelcomeOverlayAction.LABEL),'Help: Show Interface Overview',localize('help',"Help"));