this.label=localize('reloadToEnable',"Reload to Enable");
this.tooltip=localize('postEnableTooltip',"Please reload Visual Studio Code to complete the enabling of this extension.");
}else{
this.label=localize('reloadToInstall',"Reload to Install");
this.tooltip=localize('postInstallTooltip',"Please reload Visual Studio Code to complete the installation of this extension.");
alert(localize('installExtensionComplete',"Installing extension {0} is completed. Please reload Visual Studio Code to enable it.",this.extension.displayName));
}else{
this.tooltip=localize('postEnableTooltip',"Please reload Visual Studio Code to complete the enabling of this extension.");
}
return;
}
}
return;
...
...
@@ -1042,6 +1044,7 @@ export class ReloadAction extends ExtensionAction {
if(isUninstalled&&runningExtension){
// Requires reload to deactivate the extension
this.enabled=true;
this.label=localize('reloadToUninstall',"Reload to Uninstall");
this.tooltip=localize('postUninstallTooltip',"Please reload Visual Studio Code to complete the uninstallation of this extension.");
alert(localize('uninstallExtensionComplete',"Please reload Visual Studio Code to complete the uninstallation of the extension {0}.",this.extension.displayName));
return;
...
...
@@ -2045,6 +2048,84 @@ export class AddToWorkspaceRecommendationsAction extends AbstractConfigureRecomm