diff --git a/src/vs/workbench/contrib/tasks/browser/taskQuickPick.ts b/src/vs/workbench/contrib/tasks/browser/taskQuickPick.ts index 6a31c0d522504..335e13df3360b 100644 --- a/src/vs/workbench/contrib/tasks/browser/taskQuickPick.ts +++ b/src/vs/workbench/contrib/tasks/browser/taskQuickPick.ts @@ -208,8 +208,9 @@ export class TaskQuickPick extends Disposable { const yesButton = nls.localize('TaskQuickPick.changeSettingYes', "Yes"); const changeSettingResult = await this._dialogService.show(Severity.Warning, nls.localize('TaskQuickPick.changeSettingDetails', - "Task detection for {0} tasks causes files in any workspace you open to be run as code. Enabling {0} task detection is a user setting and will apply to any workspace you open. Do you want to enable {0} task detection for all workspaces?", selectedType), - [noButton, yesButton]); + "Task detection for {0} tasks causes files in any workspace you open to be run as code. Enabling {0} task detection is a user setting and will apply to any workspace you open. \n\n Do you want to enable {0} task detection for all workspaces?", selectedType), + [noButton, yesButton] + ); if (changeSettingResult.choice === 1) { await this._configurationService.updateValue(`${selectedType}.autoDetect`, 'on'); await new Promise(resolve => setTimeout(() => resolve(), 100));