@codingame/monaco-vscode-configuration-service-override 13.1.3 → 13.1.5

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.
package/index.js CHANGED
@@ -4,7 +4,7 @@ import { VSBuffer } from '@codingame/monaco-vscode-api/vscode/vs/base/common/buf
4
4
  import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
5
5
  import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
6
6
  import { generateUuid } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uuid';
7
- import { ITextResourceConfigurationService, ITextResourcePropertiesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration';
7
+ import { ITextResourcePropertiesService, ITextResourceConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration';
8
8
  import { TextResourceConfigurationService } from './vscode/src/vs/editor/common/services/textResourceConfigurationService.js';
9
9
  import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
10
10
  import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-configuration-service-override",
3
- "version": "13.1.3",
3
+ "version": "13.1.5",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - configuration service-override",
6
6
  "keywords": [],
@@ -15,14 +15,14 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-37e80bf5-92f5-5e4c-8b6d-98e0bb89dbef-common": "13.1.3",
19
- "@codingame/monaco-vscode-422642f2-7e3a-5c1c-9e1e-1d3ef1817346-common": "13.1.3",
20
- "@codingame/monaco-vscode-56402b83-4a60-5b15-86f9-71fe99c32744-common": "13.1.3",
21
- "@codingame/monaco-vscode-api": "13.1.3",
22
- "@codingame/monaco-vscode-cc9ccbec-e2a1-599d-84ae-46f5efc666e3-common": "13.1.3",
23
- "@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common": "13.1.3",
24
- "@codingame/monaco-vscode-d987325e-3e05-53aa-b9ff-6f97476f64db-common": "13.1.3",
25
- "@codingame/monaco-vscode-files-service-override": "13.1.3"
18
+ "@codingame/monaco-vscode-37e80bf5-92f5-5e4c-8b6d-98e0bb89dbef-common": "13.1.5",
19
+ "@codingame/monaco-vscode-422642f2-7e3a-5c1c-9e1e-1d3ef1817346-common": "13.1.5",
20
+ "@codingame/monaco-vscode-56402b83-4a60-5b15-86f9-71fe99c32744-common": "13.1.5",
21
+ "@codingame/monaco-vscode-api": "13.1.5",
22
+ "@codingame/monaco-vscode-cc9ccbec-e2a1-599d-84ae-46f5efc666e3-common": "13.1.5",
23
+ "@codingame/monaco-vscode-d6e33d82-c101-549d-a885-0807ab3e0cfb-common": "13.1.5",
24
+ "@codingame/monaco-vscode-d987325e-3e05-53aa-b9ff-6f97476f64db-common": "13.1.5",
25
+ "@codingame/monaco-vscode-files-service-override": "13.1.5"
26
26
  },
27
27
  "main": "index.js",
28
28
  "module": "index.js",
@@ -5,7 +5,7 @@ import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/regist
5
5
  import { ExtensionsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensionsRegistry';
6
6
  import { Extensions as Extensions$1, configurationDefaultsSchemaId, ConfigurationScope, OVERRIDE_PROPERTY_REGEX, validateProperty, parseScope, getAllConfigurationProperties, getDefaultValue } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
7
7
  import { Extensions } from '@codingame/monaco-vscode-api/vscode/vs/platform/jsonschemas/common/jsonContributionRegistry';
8
- import { workspaceSettingsSchemaId, launchSchemaId, tasksSchemaId } from '@codingame/monaco-vscode-37e80bf5-92f5-5e4c-8b6d-98e0bb89dbef-common/vscode/vs/workbench/services/configuration/common/configuration';
8
+ import { tasksSchemaId, launchSchemaId, workspaceSettingsSchemaId } from '@codingame/monaco-vscode-37e80bf5-92f5-5e4c-8b6d-98e0bb89dbef-common/vscode/vs/workbench/services/configuration/common/configuration';
9
9
  import { isObject, isUndefined } from '@codingame/monaco-vscode-api/vscode/vs/base/common/types';
10
10
  import { ExtensionIdentifierMap } from '@codingame/monaco-vscode-api/vscode/vs/platform/extensions/common/extensions';
11
11
  import { Extensions as Extensions$2 } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensionManagement/common/extensionFeatures';
@@ -414,7 +414,7 @@ class SettingsTableRenderer extends Disposable {
414
414
  ? Array.isArray(manifest.contributes.configuration) ? manifest.contributes.configuration : [manifest.contributes.configuration]
415
415
  : [];
416
416
  const properties = getAllConfigurationProperties(configuration);
417
- const contrib = ( Object.keys(properties)) ;
417
+ const contrib = properties ? ( Object.keys(properties)) : [];
418
418
  const headers = [( localize(2430, "ID")), ( localize(2431, "Description")), ( localize(2432, "Default"))];
419
419
  const rows = ( contrib.sort((a, b) => a.localeCompare(b))
420
420
  .map(key => {
@@ -51,12 +51,12 @@ let WorkspacesFinderContribution = class WorkspacesFinderContribution extends Di
51
51
  if (workspaces.length === 1) {
52
52
  const workspaceFile = workspaces[0];
53
53
  this.notificationService.prompt(Severity.Info, ( localize(
54
- 11137,
54
+ 11135,
55
55
  "This folder contains a workspace file '{0}'. Do you want to open it? [Learn more]({1}) about workspace files.",
56
56
  workspaceFile,
57
57
  'https://go.microsoft.com/fwlink/?linkid=2025315'
58
58
  )), [{
59
- label: ( localize(11138, "Open Workspace")),
59
+ label: ( localize(11136, "Open Workspace")),
60
60
  run: () => this.hostService.openWindow([{ workspaceUri: joinPath(folder, workspaceFile) }])
61
61
  }], {
62
62
  neverShowAgain,
@@ -65,13 +65,13 @@ let WorkspacesFinderContribution = class WorkspacesFinderContribution extends Di
65
65
  }
66
66
  else if (workspaces.length > 1) {
67
67
  this.notificationService.prompt(Severity.Info, ( localize(
68
- 11139,
68
+ 11137,
69
69
  "This folder contains multiple workspace files. Do you want to open one? [Learn more]({0}) about workspace files.",
70
70
  'https://go.microsoft.com/fwlink/?linkid=2025315'
71
71
  )), [{
72
- label: ( localize(11140, "Select Workspace")),
72
+ label: ( localize(11138, "Select Workspace")),
73
73
  run: () => {
74
- this.quickInputService.pick(( workspaces.map(workspace => ({ label: workspace }))), { placeHolder: ( localize(11141, "Select a workspace to open")) }).then(pick => {
74
+ this.quickInputService.pick(( workspaces.map(workspace => ({ label: workspace }))), { placeHolder: ( localize(11139, "Select a workspace to open")) }).then(pick => {
75
75
  if (pick) {
76
76
  this.hostService.openWindow([{ workspaceUri: joinPath(folder, pick.label) }]);
77
77
  }
@@ -97,7 +97,7 @@ registerAction2(class extends Action2 {
97
97
  constructor() {
98
98
  super({
99
99
  id: 'workbench.action.openWorkspaceFromEditor',
100
- title: ( localize2(11138, "Open Workspace")),
100
+ title: ( localize2(11136, "Open Workspace")),
101
101
  f1: false,
102
102
  menu: {
103
103
  id: MenuId.EditorContent,
@@ -112,7 +112,7 @@ registerAction2(class extends Action2 {
112
112
  if (contextService.getWorkbenchState() === WorkbenchState.WORKSPACE) {
113
113
  const workspaceConfiguration = contextService.getWorkspace().configuration;
114
114
  if (workspaceConfiguration && isEqual(workspaceConfiguration, uri)) {
115
- notificationService.info(( localize(11142, "This workspace is already open.")));
115
+ notificationService.info(( localize(11140, "This workspace is already open.")));
116
116
  return;
117
117
  }
118
118
  }
@@ -1090,7 +1090,7 @@ let RegisterConfigurationSchemasContribution = class RegisterConfigurationSchema
1090
1090
  } : workspaceSettingsSchema;
1091
1091
  const configDefaultsSchema = {
1092
1092
  type: 'object',
1093
- description: ( localize(11282, 'Contribute defaults for configurations')),
1093
+ description: ( localize(11280, 'Contribute defaults for configurations')),
1094
1094
  properties: Object.assign({}, this.filterDefaultOverridableProperties(machineOverridableSettings.properties), this.filterDefaultOverridableProperties(windowSettings.properties), this.filterDefaultOverridableProperties(resourceSettings.properties)),
1095
1095
  patternProperties: {
1096
1096
  [OVERRIDE_PROPERTY_PATTERN]: {
@@ -1211,7 +1211,7 @@ configurationRegistry.registerConfiguration({
1211
1211
  properties: {
1212
1212
  [APPLY_ALL_PROFILES_SETTING]: {
1213
1213
  'type': 'array',
1214
- description: ( localize(11283, "Configure settings to be applied for all profiles.")),
1214
+ description: ( localize(11281, "Configure settings to be applied for all profiles.")),
1215
1215
  'default': [],
1216
1216
  'scope': ConfigurationScope.APPLICATION,
1217
1217
  additionalProperties: true,
@@ -127,7 +127,7 @@ let ConfigurationEditing = class ConfigurationEditing {
127
127
  throw this.toConfigurationEditingError(ConfigurationEditingErrorCode.ERROR_CONFIGURATION_FILE_MODIFIED_SINCE, operation.target, operation);
128
128
  }
129
129
  throw ( new ConfigurationEditingError(( localize(
130
- 11284,
130
+ 11282,
131
131
  "Error while writing to {0}. {1}",
132
132
  this.stringifyTarget(operation.target),
133
133
  error.message
@@ -187,8 +187,8 @@ let ConfigurationEditing = class ConfigurationEditing {
187
187
  }
188
188
  }
189
189
  onInvalidConfigurationError(error, operation) {
190
- const openStandAloneConfigurationActionLabel = operation.workspaceStandAloneConfigurationKey === TASKS_CONFIGURATION_KEY ? ( localize(11285, "Open Tasks Configuration"))
191
- : operation.workspaceStandAloneConfigurationKey === LAUNCH_CONFIGURATION_KEY ? ( localize(11286, "Open Launch Configuration"))
190
+ const openStandAloneConfigurationActionLabel = operation.workspaceStandAloneConfigurationKey === TASKS_CONFIGURATION_KEY ? ( localize(11283, "Open Tasks Configuration"))
191
+ : operation.workspaceStandAloneConfigurationKey === LAUNCH_CONFIGURATION_KEY ? ( localize(11284, "Open Launch Configuration"))
192
192
  : null;
193
193
  if (openStandAloneConfigurationActionLabel) {
194
194
  this.notificationService.prompt(Severity.Error, error.message, [{
@@ -198,18 +198,18 @@ let ConfigurationEditing = class ConfigurationEditing {
198
198
  }
199
199
  else {
200
200
  this.notificationService.prompt(Severity.Error, error.message, [{
201
- label: ( localize(11287, "Open Settings")),
201
+ label: ( localize(11285, "Open Settings")),
202
202
  run: () => this.openSettings(operation)
203
203
  }]);
204
204
  }
205
205
  }
206
206
  onConfigurationFileDirtyError(error, operation, scopes) {
207
- const openStandAloneConfigurationActionLabel = operation.workspaceStandAloneConfigurationKey === TASKS_CONFIGURATION_KEY ? ( localize(11285, "Open Tasks Configuration"))
208
- : operation.workspaceStandAloneConfigurationKey === LAUNCH_CONFIGURATION_KEY ? ( localize(11286, "Open Launch Configuration"))
207
+ const openStandAloneConfigurationActionLabel = operation.workspaceStandAloneConfigurationKey === TASKS_CONFIGURATION_KEY ? ( localize(11283, "Open Tasks Configuration"))
208
+ : operation.workspaceStandAloneConfigurationKey === LAUNCH_CONFIGURATION_KEY ? ( localize(11284, "Open Launch Configuration"))
209
209
  : null;
210
210
  if (openStandAloneConfigurationActionLabel) {
211
211
  this.notificationService.prompt(Severity.Error, error.message, [{
212
- label: ( localize(11288, "Save and Retry")),
212
+ label: ( localize(11286, "Save and Retry")),
213
213
  run: () => {
214
214
  const key = operation.key ? `${operation.workspaceStandAloneConfigurationKey}.${operation.key}` : operation.workspaceStandAloneConfigurationKey;
215
215
  this.writeConfiguration(operation.target, { key, value: operation.value }, { handleDirtyFile: 'save', scopes });
@@ -222,11 +222,11 @@ let ConfigurationEditing = class ConfigurationEditing {
222
222
  }
223
223
  else {
224
224
  this.notificationService.prompt(Severity.Error, error.message, [{
225
- label: ( localize(11288, "Save and Retry")),
225
+ label: ( localize(11286, "Save and Retry")),
226
226
  run: () => this.writeConfiguration(operation.target, { key: operation.key, value: operation.value }, { handleDirtyFile: 'save', scopes })
227
227
  },
228
228
  {
229
- label: ( localize(11287, "Open Settings")),
229
+ label: ( localize(11285, "Open Settings")),
230
230
  run: () => this.openSettings(operation)
231
231
  }]);
232
232
  }
@@ -263,82 +263,82 @@ let ConfigurationEditing = class ConfigurationEditing {
263
263
  toErrorMessage(error, target, operation) {
264
264
  switch (error) {
265
265
  case ConfigurationEditingErrorCode.ERROR_POLICY_CONFIGURATION: return localize(
266
- 11289,
266
+ 11287,
267
267
  "Unable to write {0} because it is configured in system policy.",
268
268
  operation.key
269
269
  );
270
270
  case ConfigurationEditingErrorCode.ERROR_UNKNOWN_KEY: return localize(
271
- 11290,
271
+ 11288,
272
272
  "Unable to write to {0} because {1} is not a registered configuration.",
273
273
  this.stringifyTarget(target),
274
274
  operation.key
275
275
  );
276
276
  case ConfigurationEditingErrorCode.ERROR_INVALID_WORKSPACE_CONFIGURATION_APPLICATION: return localize(
277
- 11291,
277
+ 11289,
278
278
  "Unable to write {0} to Workspace Settings. This setting can be written only into User settings.",
279
279
  operation.key
280
280
  );
281
281
  case ConfigurationEditingErrorCode.ERROR_INVALID_WORKSPACE_CONFIGURATION_MACHINE: return localize(
282
- 11292,
282
+ 11290,
283
283
  "Unable to write {0} to Workspace Settings. This setting can be written only into User settings.",
284
284
  operation.key
285
285
  );
286
286
  case ConfigurationEditingErrorCode.ERROR_INVALID_FOLDER_CONFIGURATION: return localize(
287
- 11293,
287
+ 11291,
288
288
  "Unable to write to Folder Settings because {0} does not support the folder resource scope.",
289
289
  operation.key
290
290
  );
291
291
  case ConfigurationEditingErrorCode.ERROR_INVALID_USER_TARGET: return localize(
292
- 11294,
292
+ 11292,
293
293
  "Unable to write to User Settings because {0} does not support for global scope.",
294
294
  operation.key
295
295
  );
296
296
  case ConfigurationEditingErrorCode.ERROR_INVALID_WORKSPACE_TARGET: return localize(
297
- 11295,
297
+ 11293,
298
298
  "Unable to write to Workspace Settings because {0} does not support for workspace scope in a multi folder workspace.",
299
299
  operation.key
300
300
  );
301
301
  case ConfigurationEditingErrorCode.ERROR_INVALID_FOLDER_TARGET: return localize(
302
- 11296,
302
+ 11294,
303
303
  "Unable to write to Folder Settings because no resource is provided."
304
304
  );
305
305
  case ConfigurationEditingErrorCode.ERROR_INVALID_RESOURCE_LANGUAGE_CONFIGURATION: return localize(
306
- 11297,
306
+ 11295,
307
307
  "Unable to write to Language Settings because {0} is not a resource language setting.",
308
308
  operation.key
309
309
  );
310
310
  case ConfigurationEditingErrorCode.ERROR_NO_WORKSPACE_OPENED: return localize(
311
- 11298,
311
+ 11296,
312
312
  "Unable to write to {0} because no workspace is opened. Please open a workspace first and try again.",
313
313
  this.stringifyTarget(target)
314
314
  );
315
315
  case ConfigurationEditingErrorCode.ERROR_INVALID_CONFIGURATION: {
316
316
  if (operation.workspaceStandAloneConfigurationKey === TASKS_CONFIGURATION_KEY) {
317
317
  return localize(
318
- 11299,
318
+ 11297,
319
319
  "Unable to write into the tasks configuration file. Please open it to correct errors/warnings in it and try again."
320
320
  );
321
321
  }
322
322
  if (operation.workspaceStandAloneConfigurationKey === LAUNCH_CONFIGURATION_KEY) {
323
323
  return localize(
324
- 11300,
324
+ 11298,
325
325
  "Unable to write into the launch configuration file. Please open it to correct errors/warnings in it and try again."
326
326
  );
327
327
  }
328
328
  switch (target) {
329
329
  case EditableConfigurationTarget.USER_LOCAL:
330
330
  return localize(
331
- 11301,
331
+ 11299,
332
332
  "Unable to write into user settings. Please open the user settings to correct errors/warnings in it and try again."
333
333
  );
334
334
  case EditableConfigurationTarget.USER_REMOTE:
335
335
  return localize(
336
- 11302,
336
+ 11300,
337
337
  "Unable to write into remote user settings. Please open the remote user settings to correct errors/warnings in it and try again."
338
338
  );
339
339
  case EditableConfigurationTarget.WORKSPACE:
340
340
  return localize(
341
- 11303,
341
+ 11301,
342
342
  "Unable to write into workspace settings. Please open the workspace settings to correct errors/warnings in the file and try again."
343
343
  );
344
344
  case EditableConfigurationTarget.WORKSPACE_FOLDER: {
@@ -350,7 +350,7 @@ let ConfigurationEditing = class ConfigurationEditing {
350
350
  }
351
351
  }
352
352
  return localize(
353
- 11304,
353
+ 11302,
354
354
  "Unable to write into folder settings. Please open the '{0}' folder settings to correct errors/warnings in it and try again.",
355
355
  workspaceFolderName
356
356
  );
@@ -362,30 +362,30 @@ let ConfigurationEditing = class ConfigurationEditing {
362
362
  case ConfigurationEditingErrorCode.ERROR_CONFIGURATION_FILE_DIRTY: {
363
363
  if (operation.workspaceStandAloneConfigurationKey === TASKS_CONFIGURATION_KEY) {
364
364
  return localize(
365
- 11305,
365
+ 11303,
366
366
  "Unable to write into tasks configuration file because the file has unsaved changes. Please save it first and then try again."
367
367
  );
368
368
  }
369
369
  if (operation.workspaceStandAloneConfigurationKey === LAUNCH_CONFIGURATION_KEY) {
370
370
  return localize(
371
- 11306,
371
+ 11304,
372
372
  "Unable to write into launch configuration file because the file has unsaved changes. Please save it first and then try again."
373
373
  );
374
374
  }
375
375
  switch (target) {
376
376
  case EditableConfigurationTarget.USER_LOCAL:
377
377
  return localize(
378
- 11307,
378
+ 11305,
379
379
  "Unable to write into user settings because the file has unsaved changes. Please save the user settings file first and then try again."
380
380
  );
381
381
  case EditableConfigurationTarget.USER_REMOTE:
382
382
  return localize(
383
- 11308,
383
+ 11306,
384
384
  "Unable to write into remote user settings because the file has unsaved changes. Please save the remote user settings file first and then try again."
385
385
  );
386
386
  case EditableConfigurationTarget.WORKSPACE:
387
387
  return localize(
388
- 11309,
388
+ 11307,
389
389
  "Unable to write into workspace settings because the file has unsaved changes. Please save the workspace settings file first and then try again."
390
390
  );
391
391
  case EditableConfigurationTarget.WORKSPACE_FOLDER: {
@@ -397,7 +397,7 @@ let ConfigurationEditing = class ConfigurationEditing {
397
397
  }
398
398
  }
399
399
  return localize(
400
- 11310,
400
+ 11308,
401
401
  "Unable to write into folder settings because the file has unsaved changes. Please save the '{0}' folder settings file first and then try again.",
402
402
  workspaceFolderName
403
403
  );
@@ -409,40 +409,40 @@ let ConfigurationEditing = class ConfigurationEditing {
409
409
  case ConfigurationEditingErrorCode.ERROR_CONFIGURATION_FILE_MODIFIED_SINCE:
410
410
  if (operation.workspaceStandAloneConfigurationKey === TASKS_CONFIGURATION_KEY) {
411
411
  return localize(
412
- 11311,
412
+ 11309,
413
413
  "Unable to write into tasks configuration file because the content of the file is newer."
414
414
  );
415
415
  }
416
416
  if (operation.workspaceStandAloneConfigurationKey === LAUNCH_CONFIGURATION_KEY) {
417
417
  return localize(
418
- 11312,
418
+ 11310,
419
419
  "Unable to write into launch configuration file because the content of the file is newer."
420
420
  );
421
421
  }
422
422
  switch (target) {
423
423
  case EditableConfigurationTarget.USER_LOCAL:
424
424
  return localize(
425
- 11313,
425
+ 11311,
426
426
  "Unable to write into user settings because the content of the file is newer."
427
427
  );
428
428
  case EditableConfigurationTarget.USER_REMOTE:
429
429
  return localize(
430
- 11314,
430
+ 11312,
431
431
  "Unable to write into remote user settings because the content of the file is newer."
432
432
  );
433
433
  case EditableConfigurationTarget.WORKSPACE:
434
434
  return localize(
435
- 11315,
435
+ 11313,
436
436
  "Unable to write into workspace settings because the content of the file is newer."
437
437
  );
438
438
  case EditableConfigurationTarget.WORKSPACE_FOLDER:
439
439
  return localize(
440
- 11316,
440
+ 11314,
441
441
  "Unable to write into folder settings because the content of the file is newer."
442
442
  );
443
443
  }
444
444
  case ConfigurationEditingErrorCode.ERROR_INTERNAL: return localize(
445
- 11317,
445
+ 11315,
446
446
  "Unable to write to {0} because of an internal error.",
447
447
  this.stringifyTarget(target)
448
448
  );
@@ -451,13 +451,13 @@ let ConfigurationEditing = class ConfigurationEditing {
451
451
  stringifyTarget(target) {
452
452
  switch (target) {
453
453
  case EditableConfigurationTarget.USER_LOCAL:
454
- return localize(11318, "User Settings");
454
+ return localize(11316, "User Settings");
455
455
  case EditableConfigurationTarget.USER_REMOTE:
456
- return localize(11319, "Remote User Settings");
456
+ return localize(11317, "Remote User Settings");
457
457
  case EditableConfigurationTarget.WORKSPACE:
458
- return localize(11320, "Workspace Settings");
458
+ return localize(11318, "Workspace Settings");
459
459
  case EditableConfigurationTarget.WORKSPACE_FOLDER:
460
- return localize(11321, "Folder Settings");
460
+ return localize(11319, "Folder Settings");
461
461
  default:
462
462
  return '';
463
463
  }
@@ -174,7 +174,7 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
174
174
  result = await this.commandService.executeCommand(commandId, configuration);
175
175
  if (typeof result !== 'string' && !isUndefinedOrNull(result)) {
176
176
  throw ( new Error(( localize(
177
- 11323,
177
+ 11321,
178
178
  "Cannot substitute command variable '{0}' because command did not return a result of type string.",
179
179
  commandId
180
180
  ))));
@@ -226,7 +226,7 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
226
226
  showUserInput(section, variable, inputInfos) {
227
227
  if (!inputInfos) {
228
228
  return Promise.reject(( new Error(( localize(
229
- 11324,
229
+ 11322,
230
230
  "Variable '{0}' must be defined in an '{1}' section of the debug or task configuration.",
231
231
  variable,
232
232
  'inputs'
@@ -236,7 +236,7 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
236
236
  if (info) {
237
237
  const missingAttribute = (attrName) => {
238
238
  throw ( new Error(( localize(
239
- 11325,
239
+ 11323,
240
240
  "Input variable '{0}' is of type '{1}' and must include '{2}'.",
241
241
  variable,
242
242
  info.type,
@@ -288,7 +288,7 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
288
288
  value: value
289
289
  };
290
290
  if (value === info.default) {
291
- item.description = ( localize(11326, "(Default)"));
291
+ item.description = ( localize(11324, "(Default)"));
292
292
  picks.unshift(item);
293
293
  }
294
294
  else if (!info.default && value === previousPickedValue) {
@@ -317,7 +317,7 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
317
317
  return result;
318
318
  }
319
319
  throw ( new Error(( localize(
320
- 11327,
320
+ 11325,
321
321
  "Cannot substitute input variable '{0}' because command '{1}' did not return a result of type string.",
322
322
  variable,
323
323
  info.command
@@ -326,14 +326,14 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
326
326
  }
327
327
  default:
328
328
  throw ( new Error(( localize(
329
- 11328,
329
+ 11326,
330
330
  "Input variable '{0}' can only be of type 'promptString', 'pickString', or 'command'.",
331
331
  variable
332
332
  ))));
333
333
  }
334
334
  }
335
335
  return Promise.reject(( new Error(( localize(
336
- 11329,
336
+ 11327,
337
337
  "Undefined input variable '{0}' encountered. Remove or define '{0}' to continue.",
338
338
  variable
339
339
  )))));
@@ -56,8 +56,8 @@ let AbstractWorkspaceEditingService = class AbstractWorkspaceEditingService exte
56
56
  availableFileSystems.unshift(Schemas.vscodeRemote);
57
57
  }
58
58
  let workspacePath = await this.fileDialogService.showSaveDialog({
59
- saveLabel: mnemonicButtonLabel(( localize(12133, "Save"))),
60
- title: ( localize(12134, "Save Workspace")),
59
+ saveLabel: mnemonicButtonLabel(( localize(12131, "Save"))),
60
+ title: ( localize(12132, "Save Workspace")),
61
61
  filters: WORKSPACE_FILTER,
62
62
  defaultUri: joinPath(await this.fileDialogService.defaultWorkspacePath(), this.getNewWorkspaceName()),
63
63
  availableFileSystems
@@ -256,14 +256,14 @@ let AbstractWorkspaceEditingService = class AbstractWorkspaceEditingService exte
256
256
  }
257
257
  onInvalidWorkspaceConfigurationFileError() {
258
258
  const message = ( localize(
259
- 12135,
259
+ 12133,
260
260
  "Unable to write into workspace configuration file. Please open the file to correct errors/warnings in it and try again."
261
261
  ));
262
262
  this.askToOpenWorkspaceConfigurationFile(message);
263
263
  }
264
264
  askToOpenWorkspaceConfigurationFile(message) {
265
265
  this.notificationService.prompt(Severity.Error, message, [{
266
- label: ( localize(12136, "Open Workspace Configuration")),
266
+ label: ( localize(12134, "Open Workspace Configuration")),
267
267
  run: () => this.commandService.executeCommand('workbench.action.openWorkspaceConfigFile')
268
268
  }]);
269
269
  }