File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -957,17 +957,17 @@ export class RoslynLanguageServer {
957
957
}
958
958
959
959
const title : CommandOption = {
960
- title : vscode . l10n . t ( 'Restart Language Server ' ) ,
961
- command : 'dotnet.restartServer ' ,
960
+ title : vscode . l10n . t ( 'Reload C# Extension ' ) ,
961
+ command : 'workbench.action.restartExtensionHost ' ,
962
962
} ;
963
963
if ( csharpDevkitExtension && ! _wasActivatedWithCSharpDevkit ) {
964
- // We previously started without C# Dev Kit and its now installed.
965
- // Offer a prompt to restart the server to use C# Dev Kit.
964
+ // We previously started without C# Dev Kit and it's now installed.
965
+ // Offer a prompt to restart extensions in order to use C# Dev Kit.
966
966
this . _channel . info ( `Detected new installation of ${ csharpDevkitExtensionId } ` ) ;
967
- const message = `Detected installation of ${ csharpDevkitExtensionId } . Would you like to relaunch the language server for added features? ` ;
967
+ const message = `Detected installation of C# Dev Kit. Please reload the C# extension to continue. ` ;
968
968
showInformationMessage ( vscode , message , title ) ;
969
969
} else {
970
- // Any other change to extensions is irrelevant - an uninstall requires a reload of the window
970
+ // Any other change to extensions is irrelevant - an uninstall requires the extension host to restart
971
971
// which will automatically restart this extension too.
972
972
}
973
973
} )
You can’t perform that action at this time.
0 commit comments