this.configurationService.onDidUpdateConfiguration(e=>this.onConfigurationUpdated(e.config,true/* update menu if changed */));
...
...
@@ -846,13 +855,14 @@ export class VSCodeMenu {
}
}
constenableWelcomePage=isWelcomePageEnabled();
this._welcome=newMenuItem({label:mnemonicLabel(nls.localize({key:'miWelcome',comment:['&& denotes a mnemonic']},"&&Welcome")),click:()=>this.windowsService.sendToFocused('vscode:runAction','workbench.action.welcomePage')});
enableWelcomePage?newMenuItem({label:mnemonicLabel(nls.localize({key:'miWelcome',comment:['&& denotes a mnemonic']},"&&Welcome")),click:()=>this.windowsService.sendToFocused('vscode:runAction','workbench.action.welcomePage')}):null,
this._welcome,
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,