File tree Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Expand file tree Collapse file tree 1 file changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -85,16 +85,19 @@ function showDotnetToolsWarning(message: string): void {
8585 if ( ! config . get ( 'suppressDotnetInstallWarning' , false ) ) {
8686 const getDotNetMessage = 'Get the .NET Core SDK' ;
8787 const goToSettingsMessage = 'Disable this message in user settings' ;
88+ const helpMessage = 'Help' ;
8889 // Buttons are shown in right-to-left order, with a close button to the right of everything;
8990 // getDotNetMessage will be the first button, then goToSettingsMessage, then the close button.
9091 vscode . window . showErrorMessage ( message ,
91- goToSettingsMessage , getDotNetMessage ) . then ( value => {
92+ goToSettingsMessage , getDotNetMessage , helpMessage ) . then ( value => {
9293 if ( value === getDotNetMessage ) {
9394 let dotnetcoreURL = 'https://dot.net/core-sdk-vscode' ;
94-
9595 vscode . env . openExternal ( vscode . Uri . parse ( dotnetcoreURL ) ) ;
9696 } else if ( value === goToSettingsMessage ) {
9797 vscode . commands . executeCommand ( 'workbench.action.openGlobalSettings' ) ;
98+ } else if ( value == helpMessage ) {
99+ let helpURL = 'https://aka.ms/VSCode-CS-DotnetNotFoundHelp' ;
100+ vscode . env . openExternal ( vscode . Uri . parse ( helpURL ) ) ;
98101 }
99102 } ) ;
100103 }
You can’t perform that action at this time.
0 commit comments