@codingame/monaco-vscode-task-service-override 4.5.0 → 4.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,6 +11,7 @@ import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/c
11
11
  import { Event } from 'vscode/vscode/vs/base/common/event';
12
12
  import { ILogService } from 'vscode/vscode/vs/platform/log/common/log.service';
13
13
 
14
+ const _moduleId = "vs/workbench/contrib/tasks/browser/runAutomaticTasks";
14
15
  const ALLOW_AUTOMATIC_TASKS = 'task.allowAutomaticTasks';
15
16
  let RunAutomaticTasks = class RunAutomaticTasks extends Disposable {
16
17
  constructor(_taskService, _configurationService, _workspaceTrustManagementService, _logService) {
@@ -47,12 +48,12 @@ let RunAutomaticTasks = class RunAutomaticTasks extends Disposable {
47
48
  this._logService.trace(`RunAutomaticTasks: taskNames=${JSON.stringify(autoTasks.taskNames)}`);
48
49
  if (autoTasks.taskNames.length === 0) {
49
50
  const updatedWithinTimeout = await Promise.race([
50
- ( new Promise((resolve) => {
51
+ ( (new Promise((resolve) => {
51
52
  Event.toPromise(Event.once(this._taskService.onDidChangeTaskConfig)).then(() => resolve(true));
52
- })),
53
- ( new Promise((resolve) => {
53
+ }))),
54
+ ( (new Promise((resolve) => {
54
55
  const timer = setTimeout(() => { clearTimeout(timer); resolve(false); }, 10000);
55
- }))
56
+ })))
56
57
  ]);
57
58
  if (!updatedWithinTimeout) {
58
59
  this._logService.trace(`RunAutomaticTasks: waited some extra time, but no update of tasks configuration`);
@@ -91,9 +92,9 @@ let RunAutomaticTasks = class RunAutomaticTasks extends Disposable {
91
92
  return undefined;
92
93
  }
93
94
  _findAutoTasks(taskService, workspaceTaskResult) {
94
- const tasks = ( new Array());
95
- const taskNames = ( new Array());
96
- const locations = ( new Map());
95
+ const tasks = ( (new Array()));
96
+ const taskNames = ( (new Array()));
97
+ const locations = ( (new Map()));
97
98
  if (workspaceTaskResult) {
98
99
  workspaceTaskResult.forEach(resultElement => {
99
100
  if (resultElement.set) {
@@ -109,11 +110,11 @@ let RunAutomaticTasks = class RunAutomaticTasks extends Disposable {
109
110
  });
110
111
  }
111
112
  if (resultElement.configurations) {
112
- for (const configuredTask of ( Object.values(resultElement.configurations.byIdentifier))) {
113
+ for (const configuredTask of ( (Object.values(resultElement.configurations.byIdentifier)))) {
113
114
  if (configuredTask.runOptions.runOn === RunOnOptions.folderOpen) {
114
- tasks.push(( new Promise(resolve => {
115
+ tasks.push(( (new Promise(resolve => {
115
116
  taskService.getTask(resultElement.workspaceFolder, configuredTask._id, true).then(task => resolve(task));
116
- })));
117
+ }))));
117
118
  if (configuredTask._label) {
118
119
  taskNames.push(configuredTask._label);
119
120
  }
@@ -141,19 +142,15 @@ let RunAutomaticTasks = class RunAutomaticTasks extends Disposable {
141
142
  this._runTasks(taskService, tasks);
142
143
  }
143
144
  };
144
- RunAutomaticTasks = ( __decorate([
145
- ( __param(0, ITaskService)),
146
- ( __param(1, IConfigurationService)),
147
- ( __param(2, IWorkspaceTrustManagementService)),
148
- ( __param(3, ILogService))
149
- ], RunAutomaticTasks));
145
+ RunAutomaticTasks = ( (__decorate([
146
+ ( (__param(0, ITaskService))),
147
+ ( (__param(1, IConfigurationService))),
148
+ ( (__param(2, IWorkspaceTrustManagementService))),
149
+ ( (__param(3, ILogService)))
150
+ ], RunAutomaticTasks)));
150
151
  class ManageAutomaticTaskRunning extends Action2 {
151
152
  static { this.ID = 'workbench.action.tasks.manageAutomaticRunning'; }
152
- static { this.LABEL = ( localizeWithPath(
153
- 'vs/workbench/contrib/tasks/browser/runAutomaticTasks',
154
- 'workbench.action.tasks.manageAutomaticRunning',
155
- "Manage Automatic Tasks"
156
- )); }
153
+ static { this.LABEL = ( localizeWithPath(_moduleId, 0, "Manage Automatic Tasks")); }
157
154
  constructor() {
158
155
  super({
159
156
  id: ManageAutomaticTaskRunning.ID,
@@ -164,16 +161,8 @@ class ManageAutomaticTaskRunning extends Action2 {
164
161
  async run(accessor) {
165
162
  const quickInputService = accessor.get(IQuickInputService);
166
163
  const configurationService = accessor.get(IConfigurationService);
167
- const allowItem = { label: ( localizeWithPath(
168
- 'vs/workbench/contrib/tasks/browser/runAutomaticTasks',
169
- 'workbench.action.tasks.allowAutomaticTasks',
170
- "Allow Automatic Tasks"
171
- )) };
172
- const disallowItem = { label: ( localizeWithPath(
173
- 'vs/workbench/contrib/tasks/browser/runAutomaticTasks',
174
- 'workbench.action.tasks.disallowAutomaticTasks',
175
- "Disallow Automatic Tasks"
176
- )) };
164
+ const allowItem = { label: ( localizeWithPath(_moduleId, 1, "Allow Automatic Tasks")) };
165
+ const disallowItem = { label: ( localizeWithPath(_moduleId, 2, "Disallow Automatic Tasks")) };
177
166
  const value = await quickInputService.pick([allowItem, disallowItem], { canPickMany: false });
178
167
  if (!value) {
179
168
  return;
@@ -27,7 +27,8 @@ import { TaskDefinitionRegistry } from 'vscode/vscode/vs/workbench/contrib/tasks
27
27
  import { isString } from 'vscode/vscode/vs/base/common/types';
28
28
  import { promiseWithResolvers } from 'vscode/vscode/vs/base/common/async';
29
29
 
30
- const workbenchRegistry = ( Registry.as(Extensions.Workbench));
30
+ const _moduleId = "vs/workbench/contrib/tasks/browser/task.contribution";
31
+ const workbenchRegistry = ( (Registry.as(Extensions.Workbench)));
31
32
  workbenchRegistry.registerWorkbenchContribution(RunAutomaticTasks, 4 );
32
33
  registerAction2(ManageAutomaticTaskRunning);
33
34
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
@@ -86,11 +87,7 @@ let TaskStatusBarContributions = class TaskStatusBarContributions extends Dispos
86
87
  }
87
88
  if (promise && ((event.kind === "active") ) && (this._activeTasksCount === 1)) {
88
89
  this._progressService.withProgress({ location: 10 , command: 'workbench.action.tasks.showTasks', type: 'loading' }, progress => {
89
- progress.report({ message: ( localizeWithPath(
90
- 'vs/workbench/contrib/tasks/browser/task.contribution',
91
- 'building',
92
- 'Building...'
93
- )) });
90
+ progress.report({ message: ( localizeWithPath(_moduleId, 0, 'Building...')) });
94
91
  return promise;
95
92
  }).then(() => {
96
93
  promise = undefined;
@@ -108,23 +105,10 @@ let TaskStatusBarContributions = class TaskStatusBarContributions extends Dispos
108
105
  }
109
106
  else {
110
107
  const itemProps = {
111
- name: ( localizeWithPath(
112
- 'vs/workbench/contrib/tasks/browser/task.contribution',
113
- 'status.runningTasks',
114
- "Running Tasks"
115
- )),
108
+ name: ( localizeWithPath(_moduleId, 1, "Running Tasks")),
116
109
  text: `$(tools) ${tasks.length}`,
117
- ariaLabel: ( localizeWithPath(
118
- 'vs/workbench/contrib/tasks/browser/task.contribution',
119
- 'numberOfRunningTasks',
120
- "{0} running tasks",
121
- tasks.length
122
- )),
123
- tooltip: ( localizeWithPath(
124
- 'vs/workbench/contrib/tasks/browser/task.contribution',
125
- 'runningTasks',
126
- "Show Running Tasks"
127
- )),
110
+ ariaLabel: ( localizeWithPath(_moduleId, 2, "{0} running tasks", tasks.length)),
111
+ tooltip: ( localizeWithPath(_moduleId, 3, "Show Running Tasks")),
128
112
  command: 'workbench.action.tasks.showTasks',
129
113
  };
130
114
  if (!this._runningTasksStatusItem) {
@@ -145,21 +129,17 @@ let TaskStatusBarContributions = class TaskStatusBarContributions extends Dispos
145
129
  return event.__task.configurationProperties.problemMatchers === undefined || event.__task.configurationProperties.problemMatchers.length === 0;
146
130
  }
147
131
  };
148
- TaskStatusBarContributions = ( __decorate([
149
- ( __param(0, ITaskService)),
150
- ( __param(1, IStatusbarService)),
151
- ( __param(2, IProgressService))
152
- ], TaskStatusBarContributions));
132
+ TaskStatusBarContributions = ( (__decorate([
133
+ ( (__param(0, ITaskService))),
134
+ ( (__param(1, IStatusbarService))),
135
+ ( (__param(2, IProgressService)))
136
+ ], TaskStatusBarContributions)));
153
137
  workbenchRegistry.registerWorkbenchContribution(TaskStatusBarContributions, 3 );
154
138
  MenuRegistry.appendMenuItem(MenuId.MenubarTerminalMenu, {
155
139
  group: "3_run" ,
156
140
  command: {
157
141
  id: 'workbench.action.tasks.runTask',
158
- title: ( localizeWithPath(
159
- 'vs/workbench/contrib/tasks/browser/task.contribution',
160
- { key: 'miRunTask', comment: ['&& denotes a mnemonic'] },
161
- "&&Run Task..."
162
- ))
142
+ title: ( localizeWithPath(_moduleId, 4, "&&Run Task..."))
163
143
  },
164
144
  order: 1,
165
145
  when: TaskExecutionSupportedContext
@@ -168,11 +148,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarTerminalMenu, {
168
148
  group: "3_run" ,
169
149
  command: {
170
150
  id: 'workbench.action.tasks.build',
171
- title: ( localizeWithPath(
172
- 'vs/workbench/contrib/tasks/browser/task.contribution',
173
- { key: 'miBuildTask', comment: ['&& denotes a mnemonic'] },
174
- "Run &&Build Task..."
175
- ))
151
+ title: ( localizeWithPath(_moduleId, 5, "Run &&Build Task..."))
176
152
  },
177
153
  order: 2,
178
154
  when: TaskExecutionSupportedContext
@@ -182,11 +158,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarTerminalMenu, {
182
158
  command: {
183
159
  precondition: TASK_RUNNING_STATE,
184
160
  id: 'workbench.action.tasks.showTasks',
185
- title: ( localizeWithPath(
186
- 'vs/workbench/contrib/tasks/browser/task.contribution',
187
- { key: 'miRunningTask', comment: ['&& denotes a mnemonic'] },
188
- "Show Runnin&&g Tasks..."
189
- ))
161
+ title: ( localizeWithPath(_moduleId, 6, "Show Runnin&&g Tasks..."))
190
162
  },
191
163
  order: 1,
192
164
  when: TaskExecutionSupportedContext
@@ -196,11 +168,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarTerminalMenu, {
196
168
  command: {
197
169
  precondition: TASK_RUNNING_STATE,
198
170
  id: 'workbench.action.tasks.restartTask',
199
- title: ( localizeWithPath(
200
- 'vs/workbench/contrib/tasks/browser/task.contribution',
201
- { key: 'miRestartTask', comment: ['&& denotes a mnemonic'] },
202
- "R&&estart Running Task..."
203
- ))
171
+ title: ( localizeWithPath(_moduleId, 7, "R&&estart Running Task..."))
204
172
  },
205
173
  order: 2,
206
174
  when: TaskExecutionSupportedContext
@@ -210,11 +178,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarTerminalMenu, {
210
178
  command: {
211
179
  precondition: TASK_RUNNING_STATE,
212
180
  id: 'workbench.action.tasks.terminate',
213
- title: ( localizeWithPath(
214
- 'vs/workbench/contrib/tasks/browser/task.contribution',
215
- { key: 'miTerminateTask', comment: ['&& denotes a mnemonic'] },
216
- "&&Terminate Task..."
217
- ))
181
+ title: ( localizeWithPath(_moduleId, 8, "&&Terminate Task..."))
218
182
  },
219
183
  order: 3,
220
184
  when: TaskExecutionSupportedContext
@@ -223,11 +187,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarTerminalMenu, {
223
187
  group: "7_configure" ,
224
188
  command: {
225
189
  id: 'workbench.action.tasks.configureTaskRunner',
226
- title: ( localizeWithPath(
227
- 'vs/workbench/contrib/tasks/browser/task.contribution',
228
- { key: 'miConfigureTask', comment: ['&& denotes a mnemonic'] },
229
- "&&Configure Tasks..."
230
- ))
190
+ title: ( localizeWithPath(_moduleId, 9, "&&Configure Tasks..."))
231
191
  },
232
192
  order: 1,
233
193
  when: TaskExecutionSupportedContext
@@ -236,11 +196,7 @@ MenuRegistry.appendMenuItem(MenuId.MenubarTerminalMenu, {
236
196
  group: "7_configure" ,
237
197
  command: {
238
198
  id: 'workbench.action.tasks.configureDefaultBuildTask',
239
- title: ( localizeWithPath(
240
- 'vs/workbench/contrib/tasks/browser/task.contribution',
241
- { key: 'miConfigureBuildTask', comment: ['&& denotes a mnemonic'] },
242
- "Configure De&&fault Build Task..."
243
- ))
199
+ title: ( localizeWithPath(_moduleId, 10, "Configure De&&fault Build Task..."))
244
200
  },
245
201
  order: 2,
246
202
  when: TaskExecutionSupportedContext
@@ -248,14 +204,13 @@ MenuRegistry.appendMenuItem(MenuId.MenubarTerminalMenu, {
248
204
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
249
205
  command: {
250
206
  id: 'workbench.action.tasks.openWorkspaceFileTasks',
251
- title: ( localize2WithPath(
252
- 'vs/workbench/contrib/tasks/browser/task.contribution',
253
- 'workbench.action.tasks.openWorkspaceFileTasks',
254
- "Open Workspace Tasks"
255
- )),
207
+ title: ( localize2WithPath(_moduleId, 11, "Open Workspace Tasks")),
256
208
  category: TASKS_CATEGORY
257
209
  },
258
- when: ( ContextKeyExpr.and(( WorkbenchStateContext.isEqualTo('workspace')), TaskExecutionSupportedContext))
210
+ when: ( (ContextKeyExpr.and(
211
+ (WorkbenchStateContext.isEqualTo('workspace')),
212
+ TaskExecutionSupportedContext
213
+ )))
259
214
  });
260
215
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
261
216
  command: {
@@ -268,11 +223,7 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
268
223
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
269
224
  command: {
270
225
  id: 'workbench.action.tasks.showLog',
271
- title: ( localize2WithPath(
272
- 'vs/workbench/contrib/tasks/browser/task.contribution',
273
- 'ShowLogAction.label',
274
- "Show Task Log"
275
- )),
226
+ title: ( localize2WithPath(_moduleId, 12, "Show Task Log")),
276
227
  category: TASKS_CATEGORY
277
228
  },
278
229
  when: TaskExecutionSupportedContext
@@ -280,22 +231,14 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
280
231
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
281
232
  command: {
282
233
  id: 'workbench.action.tasks.runTask',
283
- title: ( localize2WithPath(
284
- 'vs/workbench/contrib/tasks/browser/task.contribution',
285
- 'RunTaskAction.label',
286
- "Run Task"
287
- )),
234
+ title: ( localize2WithPath(_moduleId, 13, "Run Task")),
288
235
  category: TASKS_CATEGORY
289
236
  }
290
237
  });
291
238
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
292
239
  command: {
293
240
  id: 'workbench.action.tasks.reRunTask',
294
- title: ( localize2WithPath(
295
- 'vs/workbench/contrib/tasks/browser/task.contribution',
296
- 'ReRunTaskAction.label',
297
- "Rerun Last Task"
298
- )),
241
+ title: ( localize2WithPath(_moduleId, 14, "Rerun Last Task")),
299
242
  category: TASKS_CATEGORY
300
243
  },
301
244
  when: TaskExecutionSupportedContext
@@ -303,11 +246,7 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
303
246
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
304
247
  command: {
305
248
  id: 'workbench.action.tasks.restartTask',
306
- title: ( localize2WithPath(
307
- 'vs/workbench/contrib/tasks/browser/task.contribution',
308
- 'RestartTaskAction.label',
309
- "Restart Running Task"
310
- )),
249
+ title: ( localize2WithPath(_moduleId, 15, "Restart Running Task")),
311
250
  category: TASKS_CATEGORY
312
251
  },
313
252
  when: TaskExecutionSupportedContext
@@ -315,11 +254,7 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
315
254
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
316
255
  command: {
317
256
  id: 'workbench.action.tasks.showTasks',
318
- title: ( localize2WithPath(
319
- 'vs/workbench/contrib/tasks/browser/task.contribution',
320
- 'ShowTasksAction.label',
321
- "Show Running Tasks"
322
- )),
257
+ title: ( localize2WithPath(_moduleId, 16, "Show Running Tasks")),
323
258
  category: TASKS_CATEGORY
324
259
  },
325
260
  when: TaskExecutionSupportedContext
@@ -327,11 +262,7 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
327
262
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
328
263
  command: {
329
264
  id: 'workbench.action.tasks.terminate',
330
- title: ( localize2WithPath(
331
- 'vs/workbench/contrib/tasks/browser/task.contribution',
332
- 'TerminateAction.label',
333
- "Terminate Task"
334
- )),
265
+ title: ( localize2WithPath(_moduleId, 17, "Terminate Task")),
335
266
  category: TASKS_CATEGORY
336
267
  },
337
268
  when: TaskExecutionSupportedContext
@@ -339,11 +270,7 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
339
270
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
340
271
  command: {
341
272
  id: 'workbench.action.tasks.build',
342
- title: ( localize2WithPath(
343
- 'vs/workbench/contrib/tasks/browser/task.contribution',
344
- 'BuildAction.label',
345
- "Run Build Task"
346
- )),
273
+ title: ( localize2WithPath(_moduleId, 18, "Run Build Task")),
347
274
  category: TASKS_CATEGORY
348
275
  },
349
276
  when: TaskExecutionSupportedContext
@@ -351,11 +278,7 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
351
278
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
352
279
  command: {
353
280
  id: 'workbench.action.tasks.test',
354
- title: ( localize2WithPath(
355
- 'vs/workbench/contrib/tasks/browser/task.contribution',
356
- 'TestAction.label',
357
- "Run Test Task"
358
- )),
281
+ title: ( localize2WithPath(_moduleId, 19, "Run Test Task")),
359
282
  category: TASKS_CATEGORY
360
283
  },
361
284
  when: TaskExecutionSupportedContext
@@ -363,11 +286,7 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
363
286
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
364
287
  command: {
365
288
  id: 'workbench.action.tasks.configureDefaultBuildTask',
366
- title: ( localize2WithPath(
367
- 'vs/workbench/contrib/tasks/browser/task.contribution',
368
- 'ConfigureDefaultBuildTask.label',
369
- "Configure Default Build Task"
370
- )),
289
+ title: ( localize2WithPath(_moduleId, 20, "Configure Default Build Task")),
371
290
  category: TASKS_CATEGORY
372
291
  },
373
292
  when: TaskExecutionSupportedContext
@@ -375,11 +294,7 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
375
294
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
376
295
  command: {
377
296
  id: 'workbench.action.tasks.configureDefaultTestTask',
378
- title: ( localize2WithPath(
379
- 'vs/workbench/contrib/tasks/browser/task.contribution',
380
- 'ConfigureDefaultTestTask.label',
381
- "Configure Default Test Task"
382
- )),
297
+ title: ( localize2WithPath(_moduleId, 21, "Configure Default Test Task")),
383
298
  category: TASKS_CATEGORY
384
299
  },
385
300
  when: TaskExecutionSupportedContext
@@ -387,11 +302,7 @@ MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
387
302
  MenuRegistry.appendMenuItem(MenuId.CommandPalette, {
388
303
  command: {
389
304
  id: 'workbench.action.tasks.openUserTasks',
390
- title: ( localize2WithPath(
391
- 'vs/workbench/contrib/tasks/browser/task.contribution',
392
- 'workbench.action.tasks.openUserTasks',
393
- "Open User Tasks"
394
- )), category: TASKS_CATEGORY
305
+ title: ( localize2WithPath(_moduleId, 22, "Open User Tasks")), category: TASKS_CATEGORY
395
306
  },
396
307
  when: TaskExecutionSupportedContext
397
308
  });
@@ -402,11 +313,7 @@ class UserTasksGlobalActionContribution extends Disposable {
402
313
  }
403
314
  registerActions() {
404
315
  const id = 'workbench.action.tasks.openUserTasks';
405
- const title = ( localizeWithPath(
406
- 'vs/workbench/contrib/tasks/browser/task.contribution',
407
- 'userTasks',
408
- "User Tasks"
409
- ));
316
+ const title = ( localizeWithPath(_moduleId, 23, "User Tasks"));
410
317
  this._register(MenuRegistry.appendMenuItem(MenuId.GlobalActivity, {
411
318
  command: {
412
319
  id,
@@ -434,24 +341,16 @@ KeybindingsRegistry.registerKeybindingRule({
434
341
  when: TaskCommandsRegistered,
435
342
  primary: 2048 | 1024 | 32
436
343
  });
437
- const outputChannelRegistry = ( Registry.as(Extensions$1.OutputChannels));
344
+ const outputChannelRegistry = ( (Registry.as(Extensions$1.OutputChannels)));
438
345
  outputChannelRegistry.registerChannel({ id: AbstractTaskService.OutputChannelId, label: AbstractTaskService.OutputChannelLabel, log: false });
439
- const quickAccessRegistry = (( Registry.as(Extensions$2.Quickaccess)));
346
+ const quickAccessRegistry = (( (Registry.as(Extensions$2.Quickaccess))));
440
347
  const tasksPickerContextKey = 'inTasksPicker';
441
348
  quickAccessRegistry.registerQuickAccessProvider({
442
349
  ctor: TasksQuickAccessProvider,
443
350
  prefix: TasksQuickAccessProvider.PREFIX,
444
351
  contextKey: tasksPickerContextKey,
445
- placeholder: ( localizeWithPath(
446
- 'vs/workbench/contrib/tasks/browser/task.contribution',
447
- 'tasksQuickAccessPlaceholder',
448
- "Type the name of a task to run."
449
- )),
450
- helpEntries: [{ description: ( localizeWithPath(
451
- 'vs/workbench/contrib/tasks/browser/task.contribution',
452
- 'tasksQuickAccessHelp',
453
- "Run Task"
454
- )), commandCenterOrder: 60 }]
352
+ placeholder: ( localizeWithPath(_moduleId, 24, "Type the name of a task to run.")),
353
+ helpEntries: [{ description: ( localizeWithPath(_moduleId, 25, "Run Task")), commandCenterOrder: 60 }]
455
354
  });
456
355
  const schema = {
457
356
  id: tasksSchemaId,
@@ -481,7 +380,7 @@ schema.definitions = {
481
380
  ...schema$2.definitions,
482
381
  };
483
382
  schema.oneOf = [...(schema$2.oneOf || []), ...(schema$1.oneOf || [])];
484
- const jsonRegistry = ( Registry.as(Extensions$3.JSONContribution));
383
+ const jsonRegistry = ( (Registry.as(Extensions$3.JSONContribution)));
485
384
  jsonRegistry.registerSchema(tasksSchemaId, schema);
486
385
  ProblemMatcherRegistry.onMatcherChanged(() => {
487
386
  updateProblemMatchers();
@@ -491,31 +390,23 @@ TaskDefinitionRegistry.onDefinitionsChanged(() => {
491
390
  updateTaskDefinitions();
492
391
  jsonRegistry.notifySchemaChanged(tasksSchemaId);
493
392
  });
494
- const configurationRegistry = ( Registry.as(Extensions$4.Configuration));
393
+ const configurationRegistry = ( (Registry.as(Extensions$4.Configuration)));
495
394
  configurationRegistry.registerConfiguration({
496
395
  id: 'task',
497
396
  order: 100,
498
- title: ( localizeWithPath(
499
- 'vs/workbench/contrib/tasks/browser/task.contribution',
500
- 'tasksConfigurationTitle',
501
- "Tasks"
502
- )),
397
+ title: ( localizeWithPath(_moduleId, 26, "Tasks")),
503
398
  type: 'object',
504
399
  properties: {
505
400
  ["task.problemMatchers.neverPrompt" ]: {
506
401
  markdownDescription: ( localizeWithPath(
507
- 'vs/workbench/contrib/tasks/browser/task.contribution',
508
- 'task.problemMatchers.neverPrompt',
402
+ _moduleId,
403
+ 27,
509
404
  "Configures whether to show the problem matcher prompt when running a task. Set to `true` to never prompt, or use a dictionary of task types to turn off prompting only for specific task types."
510
405
  )),
511
406
  'oneOf': [
512
407
  {
513
408
  type: 'boolean',
514
- markdownDescription: ( localizeWithPath(
515
- 'vs/workbench/contrib/tasks/browser/task.contribution',
516
- 'task.problemMatchers.neverPrompt.boolean',
517
- 'Sets problem matcher prompting behavior for all tasks.'
518
- ))
409
+ markdownDescription: ( localizeWithPath(_moduleId, 28, 'Sets problem matcher prompting behavior for all tasks.'))
519
410
  },
520
411
  {
521
412
  type: 'object',
@@ -525,8 +416,8 @@ configurationRegistry.registerConfiguration({
525
416
  }
526
417
  },
527
418
  markdownDescription: ( localizeWithPath(
528
- 'vs/workbench/contrib/tasks/browser/task.contribution',
529
- 'task.problemMatchers.neverPrompt.array',
419
+ _moduleId,
420
+ 29,
530
421
  'An object containing task type-boolean pairs to never prompt for problem matchers on.'
531
422
  )),
532
423
  default: {
@@ -538,8 +429,8 @@ configurationRegistry.registerConfiguration({
538
429
  },
539
430
  ["task.autoDetect" ]: {
540
431
  markdownDescription: ( localizeWithPath(
541
- 'vs/workbench/contrib/tasks/browser/task.contribution',
542
- 'task.autoDetect',
432
+ _moduleId,
433
+ 30,
543
434
  "Controls enablement of `provideTasks` for all task provider extension. If the Tasks: Run Task command is slow, disabling auto detect for task providers may help. Individual extensions may also provide settings that disable auto detection."
544
435
  )),
545
436
  type: 'string',
@@ -548,26 +439,22 @@ configurationRegistry.registerConfiguration({
548
439
  },
549
440
  ["task.slowProviderWarning" ]: {
550
441
  markdownDescription: ( localizeWithPath(
551
- 'vs/workbench/contrib/tasks/browser/task.contribution',
552
- 'task.slowProviderWarning',
442
+ _moduleId,
443
+ 31,
553
444
  "Configures whether a warning is shown when a provider is slow"
554
445
  )),
555
446
  'oneOf': [
556
447
  {
557
448
  type: 'boolean',
558
- markdownDescription: ( localizeWithPath(
559
- 'vs/workbench/contrib/tasks/browser/task.contribution',
560
- 'task.slowProviderWarning.boolean',
561
- 'Sets the slow provider warning for all tasks.'
562
- ))
449
+ markdownDescription: ( localizeWithPath(_moduleId, 32, 'Sets the slow provider warning for all tasks.'))
563
450
  },
564
451
  {
565
452
  type: 'array',
566
453
  items: {
567
454
  type: 'string',
568
455
  markdownDescription: ( localizeWithPath(
569
- 'vs/workbench/contrib/tasks/browser/task.contribution',
570
- 'task.slowProviderWarning.array',
456
+ _moduleId,
457
+ 33,
571
458
  'An array of task types to never show the slow provider warning.'
572
459
  ))
573
460
  }
@@ -577,8 +464,8 @@ configurationRegistry.registerConfiguration({
577
464
  },
578
465
  ["task.quickOpen.history" ]: {
579
466
  markdownDescription: ( localizeWithPath(
580
- 'vs/workbench/contrib/tasks/browser/task.contribution',
581
- 'task.quickOpen.history',
467
+ _moduleId,
468
+ 34,
582
469
  "Controls the number of recent items tracked in task quick open dialog."
583
470
  )),
584
471
  type: 'number',
@@ -586,8 +473,8 @@ configurationRegistry.registerConfiguration({
586
473
  },
587
474
  ["task.quickOpen.detail" ]: {
588
475
  markdownDescription: ( localizeWithPath(
589
- 'vs/workbench/contrib/tasks/browser/task.contribution',
590
- 'task.quickOpen.detail',
476
+ _moduleId,
477
+ 35,
591
478
  "Controls whether to show the task detail for tasks that have a detail in task quick picks, such as Run Task."
592
479
  )),
593
480
  type: 'boolean',
@@ -596,8 +483,8 @@ configurationRegistry.registerConfiguration({
596
483
  ["task.quickOpen.skip" ]: {
597
484
  type: 'boolean',
598
485
  description: ( localizeWithPath(
599
- 'vs/workbench/contrib/tasks/browser/task.contribution',
600
- 'task.quickOpen.skip',
486
+ _moduleId,
487
+ 36,
601
488
  "Controls whether the task quick pick is skipped when there is only one task to pick from."
602
489
  )),
603
490
  default: false
@@ -605,8 +492,8 @@ configurationRegistry.registerConfiguration({
605
492
  ["task.quickOpen.showAll" ]: {
606
493
  type: 'boolean',
607
494
  description: ( localizeWithPath(
608
- 'vs/workbench/contrib/tasks/browser/task.contribution',
609
- 'task.quickOpen.showAll',
495
+ _moduleId,
496
+ 37,
610
497
  "Causes the Tasks: Run Task command to use the slower \"show all\" behavior instead of the faster two level picker where tasks are grouped by provider."
611
498
  )),
612
499
  default: false
@@ -615,20 +502,12 @@ configurationRegistry.registerConfiguration({
615
502
  type: 'string',
616
503
  enum: ['on', 'off'],
617
504
  enumDescriptions: [
618
- ( localizeWithPath(
619
- 'vs/workbench/contrib/tasks/browser/task.contribution',
620
- 'task.allowAutomaticTasks.on',
621
- "Always"
622
- )),
623
- ( localizeWithPath(
624
- 'vs/workbench/contrib/tasks/browser/task.contribution',
625
- 'task.allowAutomaticTasks.off',
626
- "Never"
627
- )),
505
+ ( localizeWithPath(_moduleId, 38, "Always")),
506
+ ( localizeWithPath(_moduleId, 39, "Never")),
628
507
  ],
629
508
  description: ( localizeWithPath(
630
- 'vs/workbench/contrib/tasks/browser/task.contribution',
631
- 'task.allowAutomaticTasks',
509
+ _moduleId,
510
+ 40,
632
511
  "Enable automatic tasks - note that tasks won't run in an untrusted workspace."
633
512
  )),
634
513
  default: 'on',
@@ -637,46 +516,26 @@ configurationRegistry.registerConfiguration({
637
516
  ["task.reconnection" ]: {
638
517
  type: 'boolean',
639
518
  description: ( localizeWithPath(
640
- 'vs/workbench/contrib/tasks/browser/task.contribution',
641
- 'task.reconnection',
519
+ _moduleId,
520
+ 41,
642
521
  "On window reload, reconnect to tasks that have problem matchers."
643
522
  )),
644
523
  default: true
645
524
  },
646
525
  ["task.saveBeforeRun" ]: {
647
- markdownDescription: ( localizeWithPath(
648
- 'vs/workbench/contrib/tasks/browser/task.contribution',
649
- 'task.saveBeforeRun',
650
- 'Save all dirty editors before running a task.'
651
- )),
526
+ markdownDescription: ( localizeWithPath(_moduleId, 42, 'Save all dirty editors before running a task.')),
652
527
  type: 'string',
653
528
  enum: ['always', 'never', 'prompt'],
654
529
  enumDescriptions: [
655
- ( localizeWithPath(
656
- 'vs/workbench/contrib/tasks/browser/task.contribution',
657
- 'task.saveBeforeRun.always',
658
- 'Always saves all editors before running.'
659
- )),
660
- ( localizeWithPath(
661
- 'vs/workbench/contrib/tasks/browser/task.contribution',
662
- 'task.saveBeforeRun.never',
663
- 'Never saves editors before running.'
664
- )),
665
- ( localizeWithPath(
666
- 'vs/workbench/contrib/tasks/browser/task.contribution',
667
- 'task.SaveBeforeRun.prompt',
668
- 'Prompts whether to save editors before running.'
669
- )),
530
+ ( localizeWithPath(_moduleId, 43, 'Always saves all editors before running.')),
531
+ ( localizeWithPath(_moduleId, 44, 'Never saves editors before running.')),
532
+ ( localizeWithPath(_moduleId, 45, 'Prompts whether to save editors before running.')),
670
533
  ],
671
534
  default: 'always',
672
535
  },
673
536
  ["task.verboseLogging" ]: {
674
537
  type: 'boolean',
675
- description: ( localizeWithPath(
676
- 'vs/workbench/contrib/tasks/browser/task.contribution',
677
- 'task.verboseLogging',
678
- "Enable verbose logging for tasks."
679
- )),
538
+ description: ( localizeWithPath(_moduleId, 46, "Enable verbose logging for tasks.")),
680
539
  default: false
681
540
  },
682
541
  }