@@ -86,9 +86,9 @@ export class IntegrityServiceImpl implements IIntegrityService {
return;
}
constchoices:Choice[]=[nls.localize('integrity.moreInformation',"More Information"),{label:nls.localize('integrity.dontShowAgain',"Don't Show Again")}];
constchoices:PromptOption[]=[nls.localize('integrity.moreInformation',"More Information"),{label:nls.localize('integrity.dontShowAgain',"Don't Show Again")}];
this.choiceService.choose(Severity.Warning,nls.localize('integrity.prompt',"Your {0} installation appears to be corrupt. Please reinstall.",product.nameShort),choices).then(choice=>{
this.notificationService.prompt(Severity.Warning,nls.localize('integrity.prompt',"Your {0} installation appears to be corrupt. Please reinstall.",product.nameShort),choices).then(choice=>{
returnthis.choiceService.choose(Severity.Info,localize('InstallVSIXAction.success',"Successfully installed the extension. Reload to enable it."),[localize('InstallVSIXAction.reloadNow',"Reload Now")]).then(choice=>{
returnthis.notificationService.prompt(Severity.Info,localize('InstallVSIXAction.success',"Successfully installed the extension. Reload to enable it."),[localize('InstallVSIXAction.reloadNow',"Reload Now")]).then(choice=>{
returnthis.choiceService.choose(Severity.Info,localize('InstallVSIXAction.success',"Successfully installed the extension. Reload to enable it."),[localize('InstallVSIXAction.reloadNow',"Reload Now")]).then(choice=>{
returnthis.notificationService.prompt(Severity.Info,localize('InstallVSIXAction.success',"Successfully installed the extension. Reload to enable it."),[localize('InstallVSIXAction.reloadNow',"Reload Now")]).then(choice=>{
choiceService.choose(Severity.Info,localize('betterMergeDisabled',"The Better Merge extension is now built-in, the installed extension was disabled and can be uninstalled."),[localize('uninstall',"Uninstall")]).then(choice=>{
notificationService.prompt(Severity.Info,localize('betterMergeDisabled',"The Better Merge extension is now built-in, the installed extension was disabled and can be uninstalled."),[localize('uninstall',"Uninstall")]).then(choice=>{
returnthis.choiceService.choose(Severity.Warning,localize('malicious warning',"We have uninstalled '{0}' which was reported to be problematic.",getGalleryExtensionIdFromLocal(e)),[localize('reloadNow',"Reload Now")]).then(choice=>{
returnthis.notificationService.prompt(Severity.Warning,localize('malicious warning',"We have uninstalled '{0}' which was reported to be problematic.",getGalleryExtensionIdFromLocal(e)),[localize('reloadNow',"Reload Now")]).then(choice=>{
constchoices:Choice[]=[nls.localize('takeShortSurvey',"Take Short Survey"),nls.localize('remindLater',"Remind Me later"),{label:nls.localize('neverAgain',"Don't Show Again")}];
choiceService.choose(Severity.Info,nls.localize('helpUs',"Help us improve our support for {0}",data.languageId),choices).then(choice=>{
constchoices:PromptOption[]=[nls.localize('takeShortSurvey',"Take Short Survey"),nls.localize('remindLater',"Remind Me later"),{label:nls.localize('neverAgain',"Don't Show Again")}];
notificationService.prompt(Severity.Info,nls.localize('helpUs',"Help us improve our support for {0}",data.languageId),choices).then(choice=>{
@@ -63,8 +62,8 @@ class NPSContribution implements IWorkbenchContribution {
return;
}
constchoices:Choice[]=[nls.localize('takeSurvey',"Take Survey"),nls.localize('remindLater',"Remind Me later"),{label:nls.localize('neverAgain',"Don't Show Again")}];
choiceService.choose(Severity.Info,nls.localize('surveyQuestion',"Do you mind taking a quick feedback survey?"),choices).then(choice=>{
constchoices:PromptOption[]=[nls.localize('takeSurvey',"Take Survey"),nls.localize('remindLater',"Remind Me later"),{label:nls.localize('neverAgain',"Don't Show Again")}];
notificationService.prompt(Severity.Info,nls.localize('surveyQuestion',"Do you mind taking a quick feedback survey?"),choices).then(choice=>{
@@ -165,7 +165,7 @@ export class TerminalConfigHelper implements ITerminalConfigHelper {
}
constmessage=nls.localize('terminal.integrated.allowWorkspaceShell',"Do you allow {0} (defined as a workspace setting) to be launched in the terminal?",changeString);
constmessage=nls.localize('terminal.integrated.chooseWindowsShellInfo',"You can change the default terminal shell by selecting the customize button.");
constoptions:Choice[]=[nls.localize('customize',"Customize"),{label:nls.localize('never again',"Don't Show Again")}];
constchoices:Choice[]=[nls.localize('openWorkspaceSettings','Open Workspace Settings'),{label:nls.localize('dontShowAgain','Don\'t Show Again')}];
this.choiceService.choose(Severity.Warning,nls.localize('unsupportedWorkspaceSettings','This Workspace contains settings that can only be set in User Settings ({0}). Click [here]({1}) to learn more.',unsupportedKeys.join(', '),'https://go.microsoft.com/fwlink/?linkid=839878'),choices).then(choice=>{
constchoices:PromptOption[]=[nls.localize('openWorkspaceSettings','Open Workspace Settings'),{label:nls.localize('dontShowAgain','Don\'t Show Again')}];
this.notificationService.prompt(Severity.Warning,nls.localize('unsupportedWorkspaceSettings','This Workspace contains settings that can only be set in User Settings ({0}). Click [here]({1}) to learn more.',unsupportedKeys.join(', '),'https://go.microsoft.com/fwlink/?linkid=839878'),choices).then(choice=>{
// handle extension host lifecycle a bit special when we know we are developing an extension that runs inside
...
...
@@ -238,7 +236,7 @@ export class ExtensionHostProcessWorker {
?nls.localize('extensionHostProcess.startupFailDebug',"Extension host did not start in 10 seconds, it might be stopped on the first line and needs a debugger to continue.")
:nls.localize('extensionHostProcess.startupFail',"Extension host did not start in 10 seconds, that might be a problem.");
choiceService.choose(Severity.Error,nls.localize('extensionCache.invalid',"Extensions have been modified on disk. Please reload the window."),[nls.localize('reloadWindow',"Reload Window")]).then(choice=>{
notificationService.prompt(Severity.Error,nls.localize('extensionCache.invalid',"Extensions have been modified on disk. Please reload the window."),[nls.localize('reloadWindow',"Reload Window")]).then(choice=>{
constchoices:Choice[]=[nls.localize('installNet',"Download .NET Framework 4.5"),{label:nls.localize('neverShowAgain',"Don't Show Again")}];
this.choiceService.choose(Severity.Warning,nls.localize('netVersionError',"The Microsoft .NET Framework 4.5 is required. Please follow the link to install it."),choices).then(choice=>{
constchoices:PromptOption[]=[nls.localize('installNet',"Download .NET Framework 4.5"),{label:nls.localize('neverShowAgain',"Don't Show Again")}];
this.notificationService.prompt(Severity.Warning,nls.localize('netVersionError',"The Microsoft .NET Framework 4.5 is required. Please follow the link to install it."),choices).then(choice=>{
constchoices:Choice[]=[nls.localize('learnMore',"Instructions"),{label:nls.localize('neverShowAgain',"Don't Show Again")}];
this.choiceService.choose(Severity.Warning,nls.localize('enospcError',"{0} is running out of file handles. Please follow the instructions link to resolve this issue.",product.nameLong),choices).then(choice=>{
constchoices:PromptOption[]=[nls.localize('learnMore',"Instructions"),{label:nls.localize('neverShowAgain',"Don't Show Again")}];
this.notificationService.prompt(Severity.Warning,nls.localize('enospcError',"{0} is running out of file handles. Please follow the instructions link to resolve this issue.",product.nameLong),choices).then(choice=>{