@codingame/monaco-vscode-configuration-service-override 8.0.0 → 8.0.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-configuration-service-override",
3
- "version": "8.0.0",
3
+ "version": "8.0.2",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -26,7 +26,7 @@
26
26
  }
27
27
  },
28
28
  "dependencies": {
29
- "vscode": "npm:@codingame/monaco-vscode-api@8.0.0",
30
- "@codingame/monaco-vscode-files-service-override": "8.0.0"
29
+ "vscode": "npm:@codingame/monaco-vscode-api@8.0.2",
30
+ "@codingame/monaco-vscode-files-service-override": "8.0.2"
31
31
  }
32
32
  }
@@ -20,29 +20,29 @@ const configurationEntrySchema = {
20
20
  properties: {
21
21
  title: {
22
22
  description: ( localize(
23
- 3125,
23
+ 3603,
24
24
  'A title for the current category of settings. This label will be rendered in the Settings editor as a subheading. If the title is the same as the extension display name, then the category will be grouped under the main extension heading.'
25
25
  )),
26
26
  type: 'string'
27
27
  },
28
28
  order: {
29
29
  description: ( localize(
30
- 3126,
30
+ 3604,
31
31
  'When specified, gives the order of this category of settings relative to other categories.'
32
32
  )),
33
33
  type: 'integer'
34
34
  },
35
35
  properties: {
36
- description: ( localize(3127, 'Description of the configuration properties.')),
36
+ description: ( localize(3605, 'Description of the configuration properties.')),
37
37
  type: 'object',
38
38
  propertyNames: {
39
39
  pattern: '\\S+',
40
- patternErrorMessage: ( localize(3128, 'Property should not be empty.')),
40
+ patternErrorMessage: ( localize(3606, 'Property should not be empty.')),
41
41
  },
42
42
  additionalProperties: {
43
43
  anyOf: [
44
44
  {
45
- title: ( localize(3129, 'Schema of the configuration property.')),
45
+ title: ( localize(3607, 'Schema of the configuration property.')),
46
46
  $ref: 'http://json-schema.org/draft-07/schema#'
47
47
  },
48
48
  {
@@ -53,30 +53,30 @@ const configurationEntrySchema = {
53
53
  enum: ['application', 'machine', 'window', 'resource', 'language-overridable', 'machine-overridable'],
54
54
  default: 'window',
55
55
  enumDescriptions: [
56
- ( localize(3130, "Configuration that can be configured only in the user settings.")),
56
+ ( localize(3608, "Configuration that can be configured only in the user settings.")),
57
57
  ( localize(
58
- 3131,
58
+ 3609,
59
59
  "Configuration that can be configured only in the user settings or only in the remote settings."
60
60
  )),
61
61
  ( localize(
62
- 3132,
62
+ 3610,
63
63
  "Configuration that can be configured in the user, remote or workspace settings."
64
64
  )),
65
65
  ( localize(
66
- 3133,
66
+ 3611,
67
67
  "Configuration that can be configured in the user, remote, workspace or folder settings."
68
68
  )),
69
69
  ( localize(
70
- 3134,
70
+ 3612,
71
71
  "Resource configuration that can be configured in language specific settings."
72
72
  )),
73
73
  ( localize(
74
- 3135,
74
+ 3613,
75
75
  "Machine configuration that can be configured also in workspace or folder settings."
76
76
  ))
77
77
  ],
78
78
  markdownDescription: ( localize(
79
- 3136,
79
+ 3614,
80
80
  "Scope in which the configuration is applicable. Available scopes are `application`, `machine`, `window`, `resource`, and `machine-overridable`."
81
81
  ))
82
82
  },
@@ -85,14 +85,14 @@ const configurationEntrySchema = {
85
85
  items: {
86
86
  type: 'string',
87
87
  },
88
- description: ( localize(3137, 'Descriptions for enum values'))
88
+ description: ( localize(3615, 'Descriptions for enum values'))
89
89
  },
90
90
  markdownEnumDescriptions: {
91
91
  type: 'array',
92
92
  items: {
93
93
  type: 'string',
94
94
  },
95
- description: ( localize(3138, 'Descriptions for enum values in the markdown format.'))
95
+ description: ( localize(3616, 'Descriptions for enum values in the markdown format.'))
96
96
  },
97
97
  enumItemLabels: {
98
98
  type: 'array',
@@ -100,26 +100,26 @@ const configurationEntrySchema = {
100
100
  type: 'string'
101
101
  },
102
102
  markdownDescription: ( localize(
103
- 3139,
103
+ 3617,
104
104
  'Labels for enum values to be displayed in the Settings editor. When specified, the {0} values still show after the labels, but less prominently.',
105
105
  '`enum`'
106
106
  ))
107
107
  },
108
108
  markdownDescription: {
109
109
  type: 'string',
110
- description: ( localize(3140, 'The description in the markdown format.'))
110
+ description: ( localize(3618, 'The description in the markdown format.'))
111
111
  },
112
112
  deprecationMessage: {
113
113
  type: 'string',
114
114
  description: ( localize(
115
- 3141,
115
+ 3619,
116
116
  'If set, the property is marked as deprecated and the given message is shown as an explanation.'
117
117
  ))
118
118
  },
119
119
  markdownDeprecationMessage: {
120
120
  type: 'string',
121
121
  description: ( localize(
122
- 3142,
122
+ 3620,
123
123
  'If set, the property is marked as deprecated and the given message is shown as an explanation in the markdown format.'
124
124
  ))
125
125
  },
@@ -127,26 +127,26 @@ const configurationEntrySchema = {
127
127
  type: 'string',
128
128
  enum: ['singlelineText', 'multilineText'],
129
129
  enumDescriptions: [
130
- ( localize(3143, 'The value will be shown in an inputbox.')),
131
- ( localize(3144, 'The value will be shown in a textarea.'))
130
+ ( localize(3621, 'The value will be shown in an inputbox.')),
131
+ ( localize(3622, 'The value will be shown in a textarea.'))
132
132
  ],
133
133
  default: 'singlelineText',
134
134
  description: ( localize(
135
- 3145,
135
+ 3623,
136
136
  'When specified, controls the presentation format of the string setting.'
137
137
  ))
138
138
  },
139
139
  order: {
140
140
  type: 'integer',
141
141
  description: ( localize(
142
- 3146,
142
+ 3624,
143
143
  'When specified, gives the order of this setting relative to other settings within the same category. Settings with an order property will be placed before settings without this property set.'
144
144
  ))
145
145
  },
146
146
  ignoreSync: {
147
147
  type: 'boolean',
148
148
  description: ( localize(
149
- 3147,
149
+ 3625,
150
150
  'When enabled, Settings Sync will not sync the user value of this configuration by default.'
151
151
  ))
152
152
  },
@@ -190,7 +190,7 @@ defaultConfigurationExtPoint.setHandler((extensions, { added, removed }) => {
190
190
  const registeredPropertyScheme = registeredProperties[key];
191
191
  if (registeredPropertyScheme?.disallowConfigurationDefault) {
192
192
  extension.collector.warn(( localize(
193
- 3148,
193
+ 3626,
194
194
  "Cannot register configuration defaults for '{0}'. This setting does not allow contributing configuration defaults.",
195
195
  key
196
196
  )));
@@ -200,7 +200,7 @@ defaultConfigurationExtPoint.setHandler((extensions, { added, removed }) => {
200
200
  if (!OVERRIDE_PROPERTY_REGEX.test(key)) {
201
201
  if (registeredPropertyScheme?.scope && !allowedScopes.includes(registeredPropertyScheme.scope)) {
202
202
  extension.collector.warn(( localize(
203
- 3149,
203
+ 3627,
204
204
  "Cannot register configuration defaults for '{0}'. Only defaults for machine-overridable, window, resource and language overridable scoped settings are supported.",
205
205
  key
206
206
  )));
@@ -218,7 +218,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
218
218
  extensionPoint: 'configuration',
219
219
  deps: [defaultConfigurationExtPoint],
220
220
  jsonSchema: {
221
- description: ( localize(3150, 'Contributes configuration settings.')),
221
+ description: ( localize(3628, 'Contributes configuration settings.')),
222
222
  oneOf: [
223
223
  configurationEntrySchema,
224
224
  {
@@ -243,7 +243,7 @@ configurationExtPoint.setHandler((extensions, { added, removed }) => {
243
243
  function handleConfiguration(node, extension) {
244
244
  const configuration = deepClone(node);
245
245
  if (configuration.title && (typeof configuration.title !== 'string')) {
246
- extension.collector.error(( localize(3151, "'configuration.title' must be a string")));
246
+ extension.collector.error(( localize(3629, "'configuration.title' must be a string")));
247
247
  }
248
248
  validateProperties(configuration, extension);
249
249
  configuration.id = node.id || extension.description.identifier.value;
@@ -256,7 +256,7 @@ configurationExtPoint.setHandler((extensions, { added, removed }) => {
256
256
  const properties = configuration.properties;
257
257
  if (properties) {
258
258
  if (typeof properties !== 'object') {
259
- extension.collector.error(( localize(3152, "'configuration.properties' must be an object")));
259
+ extension.collector.error(( localize(3630, "'configuration.properties' must be an object")));
260
260
  configuration.properties = {};
261
261
  }
262
262
  for (const key in properties) {
@@ -269,12 +269,12 @@ configurationExtPoint.setHandler((extensions, { added, removed }) => {
269
269
  }
270
270
  if (( (seenProperties.has(key)))) {
271
271
  delete properties[key];
272
- extension.collector.warn(( localize(3153, "Cannot register '{0}'. This property is already registered.", key)));
272
+ extension.collector.warn(( localize(3631, "Cannot register '{0}'. This property is already registered.", key)));
273
273
  continue;
274
274
  }
275
275
  if (!isObject(propertyConfiguration)) {
276
276
  delete properties[key];
277
- extension.collector.error(( localize(3154, "configuration.properties property '{0}' must be an object", key)));
277
+ extension.collector.error(( localize(3632, "configuration.properties property '{0}' must be an object", key)));
278
278
  continue;
279
279
  }
280
280
  seenProperties.add(key);
@@ -284,7 +284,7 @@ configurationExtPoint.setHandler((extensions, { added, removed }) => {
284
284
  const subNodes = configuration.allOf;
285
285
  if (subNodes) {
286
286
  extension.collector.error(( localize(
287
- 3155,
287
+ 3633,
288
288
  "'configuration.allOf' is deprecated and should no longer be used. Instead, pass multiple configuration sections as an array to the 'configuration' contribution point."
289
289
  )));
290
290
  for (const node of subNodes) {
@@ -327,7 +327,7 @@ jsonRegistry.registerSchema('vscode://schemas/workspaceConfig', {
327
327
  'folders': {
328
328
  minItems: 0,
329
329
  uniqueItems: true,
330
- description: ( localize(3156, "List of folders to be loaded in the workspace.")),
330
+ description: ( localize(3634, "List of folders to be loaded in the workspace.")),
331
331
  items: {
332
332
  type: 'object',
333
333
  defaultSnippets: [{ body: { path: '$1' } }],
@@ -336,13 +336,13 @@ jsonRegistry.registerSchema('vscode://schemas/workspaceConfig', {
336
336
  path: {
337
337
  type: 'string',
338
338
  description: ( localize(
339
- 3157,
339
+ 3635,
340
340
  "A file path. e.g. `/root/folderA` or `./folderA` for a relative path that will be resolved against the location of the workspace file."
341
341
  ))
342
342
  },
343
343
  name: {
344
344
  type: 'string',
345
- description: ( localize(3158, "An optional name for the folder. "))
345
+ description: ( localize(3636, "An optional name for the folder. "))
346
346
  }
347
347
  },
348
348
  required: ['path']
@@ -350,11 +350,11 @@ jsonRegistry.registerSchema('vscode://schemas/workspaceConfig', {
350
350
  properties: {
351
351
  uri: {
352
352
  type: 'string',
353
- description: ( localize(3159, "URI of the folder"))
353
+ description: ( localize(3637, "URI of the folder"))
354
354
  },
355
355
  name: {
356
356
  type: 'string',
357
- description: ( localize(3159, "An optional name for the folder. "))
357
+ description: ( localize(3636, "An optional name for the folder. "))
358
358
  }
359
359
  },
360
360
  required: ['uri']
@@ -364,39 +364,39 @@ jsonRegistry.registerSchema('vscode://schemas/workspaceConfig', {
364
364
  'settings': {
365
365
  type: 'object',
366
366
  default: {},
367
- description: ( localize(3160, "Workspace settings")),
367
+ description: ( localize(3638, "Workspace settings")),
368
368
  $ref: workspaceSettingsSchemaId
369
369
  },
370
370
  'launch': {
371
371
  type: 'object',
372
372
  default: { configurations: [], compounds: [] },
373
- description: ( localize(3161, "Workspace launch configurations")),
373
+ description: ( localize(3639, "Workspace launch configurations")),
374
374
  $ref: launchSchemaId
375
375
  },
376
376
  'tasks': {
377
377
  type: 'object',
378
378
  default: { version: '2.0.0', tasks: [] },
379
- description: ( localize(3162, "Workspace task configurations")),
379
+ description: ( localize(3640, "Workspace task configurations")),
380
380
  $ref: tasksSchemaId
381
381
  },
382
382
  'extensions': {
383
383
  type: 'object',
384
384
  default: {},
385
- description: ( localize(3163, "Workspace extensions")),
385
+ description: ( localize(3641, "Workspace extensions")),
386
386
  $ref: 'vscode://schemas/extensions'
387
387
  },
388
388
  'remoteAuthority': {
389
389
  type: 'string',
390
390
  doNotSuggest: true,
391
- description: ( localize(3164, "The remote server where the workspace is located.")),
391
+ description: ( localize(3642, "The remote server where the workspace is located.")),
392
392
  },
393
393
  'transient': {
394
394
  type: 'boolean',
395
395
  doNotSuggest: true,
396
- description: ( localize(3165, "A transient workspace will disappear when restarting or reloading.")),
396
+ description: ( localize(3643, "A transient workspace will disappear when restarting or reloading.")),
397
397
  }
398
398
  },
399
- errorMessage: ( localize(3166, "Unknown workspace configuration property"))
399
+ errorMessage: ( localize(3644, "Unknown workspace configuration property"))
400
400
  });
401
401
  class SettingsTableRenderer extends Disposable {
402
402
  constructor() {
@@ -412,7 +412,7 @@ class SettingsTableRenderer extends Disposable {
412
412
  : [];
413
413
  const properties = getAllConfigurationProperties(configuration);
414
414
  const contrib = properties ? ( (Object.keys(properties))) : [];
415
- const headers = [( localize(3167, "ID")), ( localize(3168, "Description")), ( localize(3169, "Default"))];
415
+ const headers = [( localize(3645, "ID")), ( localize(3646, "Description")), ( localize(3647, "Default"))];
416
416
  const rows = ( (contrib.sort((a, b) => a.localeCompare(b))
417
417
  .map(key => {
418
418
  return [
@@ -432,7 +432,7 @@ class SettingsTableRenderer extends Disposable {
432
432
  }
433
433
  ( (Registry.as(Extensions$2.ExtensionFeaturesRegistry))).registerExtensionFeature({
434
434
  id: 'configuration',
435
- label: ( localize(3170, "Settings")),
435
+ label: ( localize(3648, "Settings")),
436
436
  access: {
437
437
  canToggle: false
438
438
  },
@@ -50,12 +50,12 @@ let WorkspacesFinderContribution = class WorkspacesFinderContribution extends Di
50
50
  if (workspaces.length === 1) {
51
51
  const workspaceFile = workspaces[0];
52
52
  this.notificationService.prompt(Severity$1.Info, ( localize(
53
- 3171,
53
+ 3649,
54
54
  "This folder contains a workspace file '{0}'. Do you want to open it? [Learn more]({1}) about workspace files.",
55
55
  workspaceFile,
56
56
  'https://go.microsoft.com/fwlink/?linkid=2025315'
57
57
  )), [{
58
- label: ( localize(3172, "Open Workspace")),
58
+ label: ( localize(3650, "Open Workspace")),
59
59
  run: () => this.hostService.openWindow([{ workspaceUri: joinPath(folder, workspaceFile) }])
60
60
  }], {
61
61
  neverShowAgain,
@@ -64,13 +64,13 @@ let WorkspacesFinderContribution = class WorkspacesFinderContribution extends Di
64
64
  }
65
65
  else if (workspaces.length > 1) {
66
66
  this.notificationService.prompt(Severity$1.Info, ( localize(
67
- 3173,
67
+ 3651,
68
68
  "This folder contains multiple workspace files. Do you want to open one? [Learn more]({0}) about workspace files.",
69
69
  'https://go.microsoft.com/fwlink/?linkid=2025315'
70
70
  )), [{
71
- label: ( localize(3174, "Select Workspace")),
71
+ label: ( localize(3652, "Select Workspace")),
72
72
  run: () => {
73
- this.quickInputService.pick(( (workspaces.map(workspace => ({ label: workspace })))), { placeHolder: ( localize(3175, "Select a workspace to open")) }).then(pick => {
73
+ this.quickInputService.pick(( (workspaces.map(workspace => ({ label: workspace })))), { placeHolder: ( localize(3653, "Select a workspace to open")) }).then(pick => {
74
74
  if (pick) {
75
75
  this.hostService.openWindow([{ workspaceUri: joinPath(folder, pick.label) }]);
76
76
  }
@@ -96,7 +96,7 @@ registerAction2(class extends Action2 {
96
96
  constructor() {
97
97
  super({
98
98
  id: 'workbench.action.openWorkspaceFromEditor',
99
- title: ( localize2(3175, "Open Workspace")),
99
+ title: ( localize2(3650, "Open Workspace")),
100
100
  f1: false,
101
101
  menu: {
102
102
  id: MenuId.EditorContent,
@@ -115,7 +115,7 @@ registerAction2(class extends Action2 {
115
115
  if (contextService.getWorkbenchState() === WorkbenchState.WORKSPACE) {
116
116
  const workspaceConfiguration = contextService.getWorkspace().configuration;
117
117
  if (workspaceConfiguration && isEqual(workspaceConfiguration, uri)) {
118
- notificationService.info(( localize(3176, "This workspace is already open.")));
118
+ notificationService.info(( localize(3654, "This workspace is already open.")));
119
119
  return;
120
120
  }
121
121
  }
@@ -1095,7 +1095,7 @@ let RegisterConfigurationSchemasContribution = class RegisterConfigurationSchema
1095
1095
  } : workspaceSettingsSchema;
1096
1096
  const configDefaultsSchema = {
1097
1097
  type: 'object',
1098
- description: ( localize(3177, 'Contribute defaults for configurations')),
1098
+ description: ( localize(3655, 'Contribute defaults for configurations')),
1099
1099
  properties: Object.assign({}, this.filterDefaultOverridableProperties(machineOverridableSettings.properties), this.filterDefaultOverridableProperties(windowSettings.properties), this.filterDefaultOverridableProperties(resourceSettings.properties)),
1100
1100
  patternProperties: {
1101
1101
  [OVERRIDE_PROPERTY_PATTERN]: {
@@ -1215,7 +1215,7 @@ configurationRegistry.registerConfiguration({
1215
1215
  properties: {
1216
1216
  [APPLY_ALL_PROFILES_SETTING]: {
1217
1217
  'type': 'array',
1218
- description: ( localize(3178, "Configure settings to be applied for all profiles.")),
1218
+ description: ( localize(3656, "Configure settings to be applied for all profiles.")),
1219
1219
  'default': [],
1220
1220
  'scope': ConfigurationScope.APPLICATION,
1221
1221
  additionalProperties: true,
@@ -126,7 +126,7 @@ let ConfigurationEditing = class ConfigurationEditing {
126
126
  throw this.toConfigurationEditingError(ConfigurationEditingErrorCode.ERROR_CONFIGURATION_FILE_MODIFIED_SINCE, operation.target, operation);
127
127
  }
128
128
  throw ( (new ConfigurationEditingError(localize(
129
- 8713,
129
+ 8749,
130
130
  "Error while writing to {0}. {1}",
131
131
  this.stringifyTarget(operation.target),
132
132
  error.message
@@ -186,8 +186,8 @@ let ConfigurationEditing = class ConfigurationEditing {
186
186
  }
187
187
  }
188
188
  onInvalidConfigurationError(error, operation) {
189
- const openStandAloneConfigurationActionLabel = operation.workspaceStandAloneConfigurationKey === TASKS_CONFIGURATION_KEY ? ( localize(8714, "Open Tasks Configuration"))
190
- : operation.workspaceStandAloneConfigurationKey === LAUNCH_CONFIGURATION_KEY ? ( localize(8715, "Open Launch Configuration"))
189
+ const openStandAloneConfigurationActionLabel = operation.workspaceStandAloneConfigurationKey === TASKS_CONFIGURATION_KEY ? ( localize(8750, "Open Tasks Configuration"))
190
+ : operation.workspaceStandAloneConfigurationKey === LAUNCH_CONFIGURATION_KEY ? ( localize(8751, "Open Launch Configuration"))
191
191
  : null;
192
192
  if (openStandAloneConfigurationActionLabel) {
193
193
  this.notificationService.prompt(Severity$1.Error, error.message, [{
@@ -197,18 +197,18 @@ let ConfigurationEditing = class ConfigurationEditing {
197
197
  }
198
198
  else {
199
199
  this.notificationService.prompt(Severity$1.Error, error.message, [{
200
- label: ( localize(8716, "Open Settings")),
200
+ label: ( localize(8752, "Open Settings")),
201
201
  run: () => this.openSettings(operation)
202
202
  }]);
203
203
  }
204
204
  }
205
205
  onConfigurationFileDirtyError(error, operation, scopes) {
206
- const openStandAloneConfigurationActionLabel = operation.workspaceStandAloneConfigurationKey === TASKS_CONFIGURATION_KEY ? ( localize(8716, "Open Tasks Configuration"))
207
- : operation.workspaceStandAloneConfigurationKey === LAUNCH_CONFIGURATION_KEY ? ( localize(8716, "Open Launch Configuration"))
206
+ const openStandAloneConfigurationActionLabel = operation.workspaceStandAloneConfigurationKey === TASKS_CONFIGURATION_KEY ? ( localize(8750, "Open Tasks Configuration"))
207
+ : operation.workspaceStandAloneConfigurationKey === LAUNCH_CONFIGURATION_KEY ? ( localize(8751, "Open Launch Configuration"))
208
208
  : null;
209
209
  if (openStandAloneConfigurationActionLabel) {
210
210
  this.notificationService.prompt(Severity$1.Error, error.message, [{
211
- label: ( localize(8717, "Save and Retry")),
211
+ label: ( localize(8753, "Save and Retry")),
212
212
  run: () => {
213
213
  const key = operation.key ? `${operation.workspaceStandAloneConfigurationKey}.${operation.key}` : operation.workspaceStandAloneConfigurationKey;
214
214
  this.writeConfiguration(operation.target, { key, value: operation.value }, { handleDirtyFile: 'save', scopes });
@@ -221,11 +221,11 @@ let ConfigurationEditing = class ConfigurationEditing {
221
221
  }
222
222
  else {
223
223
  this.notificationService.prompt(Severity$1.Error, error.message, [{
224
- label: ( localize(8717, "Save and Retry")),
224
+ label: ( localize(8753, "Save and Retry")),
225
225
  run: () => this.writeConfiguration(operation.target, { key: operation.key, value: operation.value }, { handleDirtyFile: 'save', scopes })
226
226
  },
227
227
  {
228
- label: ( localize(8717, "Open Settings")),
228
+ label: ( localize(8752, "Open Settings")),
229
229
  run: () => this.openSettings(operation)
230
230
  }]);
231
231
  }
@@ -264,82 +264,82 @@ let ConfigurationEditing = class ConfigurationEditing {
264
264
  toErrorMessage(error, target, operation) {
265
265
  switch (error) {
266
266
  case ConfigurationEditingErrorCode.ERROR_POLICY_CONFIGURATION: return ( localize(
267
- 8718,
267
+ 8754,
268
268
  "Unable to write {0} because it is configured in system policy.",
269
269
  operation.key
270
270
  ));
271
271
  case ConfigurationEditingErrorCode.ERROR_UNKNOWN_KEY: return ( localize(
272
- 8719,
272
+ 8755,
273
273
  "Unable to write to {0} because {1} is not a registered configuration.",
274
274
  this.stringifyTarget(target),
275
275
  operation.key
276
276
  ));
277
277
  case ConfigurationEditingErrorCode.ERROR_INVALID_WORKSPACE_CONFIGURATION_APPLICATION: return ( localize(
278
- 8720,
278
+ 8756,
279
279
  "Unable to write {0} to Workspace Settings. This setting can be written only into User settings.",
280
280
  operation.key
281
281
  ));
282
282
  case ConfigurationEditingErrorCode.ERROR_INVALID_WORKSPACE_CONFIGURATION_MACHINE: return ( localize(
283
- 8721,
283
+ 8757,
284
284
  "Unable to write {0} to Workspace Settings. This setting can be written only into User settings.",
285
285
  operation.key
286
286
  ));
287
287
  case ConfigurationEditingErrorCode.ERROR_INVALID_FOLDER_CONFIGURATION: return ( localize(
288
- 8722,
288
+ 8758,
289
289
  "Unable to write to Folder Settings because {0} does not support the folder resource scope.",
290
290
  operation.key
291
291
  ));
292
292
  case ConfigurationEditingErrorCode.ERROR_INVALID_USER_TARGET: return ( localize(
293
- 8723,
293
+ 8759,
294
294
  "Unable to write to User Settings because {0} does not support for global scope.",
295
295
  operation.key
296
296
  ));
297
297
  case ConfigurationEditingErrorCode.ERROR_INVALID_WORKSPACE_TARGET: return ( localize(
298
- 8724,
298
+ 8760,
299
299
  "Unable to write to Workspace Settings because {0} does not support for workspace scope in a multi folder workspace.",
300
300
  operation.key
301
301
  ));
302
302
  case ConfigurationEditingErrorCode.ERROR_INVALID_FOLDER_TARGET: return ( localize(
303
- 8725,
303
+ 8761,
304
304
  "Unable to write to Folder Settings because no resource is provided."
305
305
  ));
306
306
  case ConfigurationEditingErrorCode.ERROR_INVALID_RESOURCE_LANGUAGE_CONFIGURATION: return ( localize(
307
- 8726,
307
+ 8762,
308
308
  "Unable to write to Language Settings because {0} is not a resource language setting.",
309
309
  operation.key
310
310
  ));
311
311
  case ConfigurationEditingErrorCode.ERROR_NO_WORKSPACE_OPENED: return ( localize(
312
- 8727,
312
+ 8763,
313
313
  "Unable to write to {0} because no workspace is opened. Please open a workspace first and try again.",
314
314
  this.stringifyTarget(target)
315
315
  ));
316
316
  case ConfigurationEditingErrorCode.ERROR_INVALID_CONFIGURATION: {
317
317
  if (operation.workspaceStandAloneConfigurationKey === TASKS_CONFIGURATION_KEY) {
318
318
  return ( localize(
319
- 8728,
319
+ 8764,
320
320
  "Unable to write into the tasks configuration file. Please open it to correct errors/warnings in it and try again."
321
321
  ));
322
322
  }
323
323
  if (operation.workspaceStandAloneConfigurationKey === LAUNCH_CONFIGURATION_KEY) {
324
324
  return ( localize(
325
- 8729,
325
+ 8765,
326
326
  "Unable to write into the launch configuration file. Please open it to correct errors/warnings in it and try again."
327
327
  ));
328
328
  }
329
329
  switch (target) {
330
330
  case EditableConfigurationTarget.USER_LOCAL:
331
331
  return ( localize(
332
- 8730,
332
+ 8766,
333
333
  "Unable to write into user settings. Please open the user settings to correct errors/warnings in it and try again."
334
334
  ));
335
335
  case EditableConfigurationTarget.USER_REMOTE:
336
336
  return ( localize(
337
- 8731,
337
+ 8767,
338
338
  "Unable to write into remote user settings. Please open the remote user settings to correct errors/warnings in it and try again."
339
339
  ));
340
340
  case EditableConfigurationTarget.WORKSPACE:
341
341
  return ( localize(
342
- 8732,
342
+ 8768,
343
343
  "Unable to write into workspace settings. Please open the workspace settings to correct errors/warnings in the file and try again."
344
344
  ));
345
345
  case EditableConfigurationTarget.WORKSPACE_FOLDER: {
@@ -351,7 +351,7 @@ let ConfigurationEditing = class ConfigurationEditing {
351
351
  }
352
352
  }
353
353
  return ( localize(
354
- 8733,
354
+ 8769,
355
355
  "Unable to write into folder settings. Please open the '{0}' folder settings to correct errors/warnings in it and try again.",
356
356
  workspaceFolderName
357
357
  ));
@@ -363,30 +363,30 @@ let ConfigurationEditing = class ConfigurationEditing {
363
363
  case ConfigurationEditingErrorCode.ERROR_CONFIGURATION_FILE_DIRTY: {
364
364
  if (operation.workspaceStandAloneConfigurationKey === TASKS_CONFIGURATION_KEY) {
365
365
  return ( localize(
366
- 8734,
366
+ 8770,
367
367
  "Unable to write into tasks configuration file because the file has unsaved changes. Please save it first and then try again."
368
368
  ));
369
369
  }
370
370
  if (operation.workspaceStandAloneConfigurationKey === LAUNCH_CONFIGURATION_KEY) {
371
371
  return ( localize(
372
- 8735,
372
+ 8771,
373
373
  "Unable to write into launch configuration file because the file has unsaved changes. Please save it first and then try again."
374
374
  ));
375
375
  }
376
376
  switch (target) {
377
377
  case EditableConfigurationTarget.USER_LOCAL:
378
378
  return ( localize(
379
- 8736,
379
+ 8772,
380
380
  "Unable to write into user settings because the file has unsaved changes. Please save the user settings file first and then try again."
381
381
  ));
382
382
  case EditableConfigurationTarget.USER_REMOTE:
383
383
  return ( localize(
384
- 8737,
384
+ 8773,
385
385
  "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."
386
386
  ));
387
387
  case EditableConfigurationTarget.WORKSPACE:
388
388
  return ( localize(
389
- 8738,
389
+ 8774,
390
390
  "Unable to write into workspace settings because the file has unsaved changes. Please save the workspace settings file first and then try again."
391
391
  ));
392
392
  case EditableConfigurationTarget.WORKSPACE_FOLDER: {
@@ -398,7 +398,7 @@ let ConfigurationEditing = class ConfigurationEditing {
398
398
  }
399
399
  }
400
400
  return ( localize(
401
- 8739,
401
+ 8775,
402
402
  "Unable to write into folder settings because the file has unsaved changes. Please save the '{0}' folder settings file first and then try again.",
403
403
  workspaceFolderName
404
404
  ));
@@ -410,40 +410,40 @@ let ConfigurationEditing = class ConfigurationEditing {
410
410
  case ConfigurationEditingErrorCode.ERROR_CONFIGURATION_FILE_MODIFIED_SINCE:
411
411
  if (operation.workspaceStandAloneConfigurationKey === TASKS_CONFIGURATION_KEY) {
412
412
  return ( localize(
413
- 8740,
413
+ 8776,
414
414
  "Unable to write into tasks configuration file because the content of the file is newer."
415
415
  ));
416
416
  }
417
417
  if (operation.workspaceStandAloneConfigurationKey === LAUNCH_CONFIGURATION_KEY) {
418
418
  return ( localize(
419
- 8741,
419
+ 8777,
420
420
  "Unable to write into launch configuration file because the content of the file is newer."
421
421
  ));
422
422
  }
423
423
  switch (target) {
424
424
  case EditableConfigurationTarget.USER_LOCAL:
425
425
  return ( localize(
426
- 8742,
426
+ 8778,
427
427
  "Unable to write into user settings because the content of the file is newer."
428
428
  ));
429
429
  case EditableConfigurationTarget.USER_REMOTE:
430
430
  return ( localize(
431
- 8743,
431
+ 8779,
432
432
  "Unable to write into remote user settings because the content of the file is newer."
433
433
  ));
434
434
  case EditableConfigurationTarget.WORKSPACE:
435
435
  return ( localize(
436
- 8744,
436
+ 8780,
437
437
  "Unable to write into workspace settings because the content of the file is newer."
438
438
  ));
439
439
  case EditableConfigurationTarget.WORKSPACE_FOLDER:
440
440
  return ( localize(
441
- 8745,
441
+ 8781,
442
442
  "Unable to write into folder settings because the content of the file is newer."
443
443
  ));
444
444
  }
445
445
  case ConfigurationEditingErrorCode.ERROR_INTERNAL: return ( localize(
446
- 8746,
446
+ 8782,
447
447
  "Unable to write to {0} because of an internal error.",
448
448
  this.stringifyTarget(target)
449
449
  ));
@@ -452,13 +452,13 @@ let ConfigurationEditing = class ConfigurationEditing {
452
452
  stringifyTarget(target) {
453
453
  switch (target) {
454
454
  case EditableConfigurationTarget.USER_LOCAL:
455
- return ( localize(8747, "User Settings"));
455
+ return ( localize(8783, "User Settings"));
456
456
  case EditableConfigurationTarget.USER_REMOTE:
457
- return ( localize(8748, "Remote User Settings"));
457
+ return ( localize(8784, "Remote User Settings"));
458
458
  case EditableConfigurationTarget.WORKSPACE:
459
- return ( localize(8749, "Workspace Settings"));
459
+ return ( localize(8785, "Workspace Settings"));
460
460
  case EditableConfigurationTarget.WORKSPACE_FOLDER:
461
- return ( localize(8750, "Folder Settings"));
461
+ return ( localize(8786, "Folder Settings"));
462
462
  default:
463
463
  return '';
464
464
  }
@@ -168,7 +168,7 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
168
168
  result = await this.commandService.executeCommand(commandId, configuration);
169
169
  if (typeof result !== 'string' && !isUndefinedOrNull(result)) {
170
170
  throw ( (new Error(localize(
171
- 8751,
171
+ 8787,
172
172
  "Cannot substitute command variable '{0}' because command did not return a result of type string.",
173
173
  commandId
174
174
  ))));
@@ -220,7 +220,7 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
220
220
  showUserInput(variable, inputInfos) {
221
221
  if (!inputInfos) {
222
222
  return Promise.reject(( (new Error(( localize(
223
- 8752,
223
+ 8788,
224
224
  "Variable '{0}' must be defined in an '{1}' section of the debug or task configuration.",
225
225
  variable,
226
226
  'inputs'
@@ -230,7 +230,7 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
230
230
  if (info) {
231
231
  const missingAttribute = (attrName) => {
232
232
  throw ( (new Error(localize(
233
- 8753,
233
+ 8789,
234
234
  "Input variable '{0}' is of type '{1}' and must include '{2}'.",
235
235
  variable,
236
236
  info.type,
@@ -276,7 +276,7 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
276
276
  value: value
277
277
  };
278
278
  if (value === info.default) {
279
- item.description = ( localize(8754, "(Default)"));
279
+ item.description = ( localize(8790, "(Default)"));
280
280
  picks.unshift(item);
281
281
  }
282
282
  else {
@@ -300,7 +300,7 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
300
300
  return result;
301
301
  }
302
302
  throw ( (new Error(localize(
303
- 8755,
303
+ 8791,
304
304
  "Cannot substitute input variable '{0}' because command '{1}' did not return a result of type string.",
305
305
  variable,
306
306
  info.command
@@ -309,14 +309,14 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
309
309
  }
310
310
  default:
311
311
  throw ( (new Error(localize(
312
- 8756,
312
+ 8792,
313
313
  "Input variable '{0}' can only be of type 'promptString', 'pickString', or 'command'.",
314
314
  variable
315
315
  ))));
316
316
  }
317
317
  }
318
318
  return Promise.reject(( (new Error(( localize(
319
- 8757,
319
+ 8793,
320
320
  "Undefined input variable '{0}' encountered. Remove or define '{0}' to continue.",
321
321
  variable
322
322
  ))))));
@@ -55,8 +55,8 @@ let AbstractWorkspaceEditingService = class AbstractWorkspaceEditingService exte
55
55
  availableFileSystems.unshift(Schemas.vscodeRemote);
56
56
  }
57
57
  let workspacePath = await this.fileDialogService.showSaveDialog({
58
- saveLabel: mnemonicButtonLabel(( localize(3179, "Save"))),
59
- title: ( localize(3180, "Save Workspace")),
58
+ saveLabel: mnemonicButtonLabel(( localize(3657, "Save"))),
59
+ title: ( localize(3658, "Save Workspace")),
60
60
  filters: WORKSPACE_FILTER,
61
61
  defaultUri: joinPath(await this.fileDialogService.defaultWorkspacePath(), this.getNewWorkspaceName()),
62
62
  availableFileSystems
@@ -257,14 +257,14 @@ let AbstractWorkspaceEditingService = class AbstractWorkspaceEditingService exte
257
257
  }
258
258
  onInvalidWorkspaceConfigurationFileError() {
259
259
  const message = ( localize(
260
- 3181,
260
+ 3659,
261
261
  "Unable to write into workspace configuration file. Please open the file to correct errors/warnings in it and try again."
262
262
  ));
263
263
  this.askToOpenWorkspaceConfigurationFile(message);
264
264
  }
265
265
  askToOpenWorkspaceConfigurationFile(message) {
266
266
  this.notificationService.prompt(Severity$1.Error, message, [{
267
- label: ( localize(3182, "Open Workspace Configuration")),
267
+ label: ( localize(3660, "Open Workspace Configuration")),
268
268
  run: () => this.commandService.executeCommand('workbench.action.openWorkspaceConfigFile')
269
269
  }]);
270
270
  }