@codingame/monaco-vscode-configuration-service-override 14.0.5 → 15.0.0

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.
Files changed (19) hide show
  1. package/index.d.ts +1 -1
  2. package/index.js +1 -1
  3. package/package.json +12 -13
  4. package/vscode/src/vs/editor/common/services/textResourceConfigurationService.d.ts +4 -3
  5. package/vscode/src/vs/editor/common/services/textResourceConfigurationService.js +9 -3
  6. package/vscode/src/vs/workbench/api/common/configurationExtensionPoint.js +46 -46
  7. package/vscode/src/vs/workbench/contrib/workspaces/browser/workspaces.contribution.js +9 -9
  8. package/vscode/src/vs/workbench/services/configuration/browser/configuration.d.ts +1 -1
  9. package/vscode/src/vs/workbench/services/configuration/browser/configurationService.d.ts +1 -1
  10. package/vscode/src/vs/workbench/services/configuration/browser/configurationService.js +3 -3
  11. package/vscode/src/vs/workbench/services/configuration/common/configurationEditing.d.ts +1 -1
  12. package/vscode/src/vs/workbench/services/configuration/common/configurationEditing.js +44 -44
  13. package/vscode/src/vs/workbench/services/configuration/common/configurationModels.d.ts +1 -1
  14. package/vscode/src/vs/workbench/services/configurationResolver/browser/baseConfigurationResolverService.js +7 -7
  15. package/vscode/src/vs/workbench/services/textresourceProperties/common/textResourcePropertiesService.d.ts +1 -1
  16. package/vscode/src/vs/workbench/services/workspaces/browser/abstractWorkspaceEditingService.d.ts +1 -1
  17. package/vscode/src/vs/workbench/services/workspaces/browser/abstractWorkspaceEditingService.js +5 -5
  18. package/vscode/src/vs/workbench/services/workspaces/browser/workspacesService.d.ts +2 -2
  19. package/vscode/src/vs/workbench/services/workspaces/browser/workspacesService.js +1 -1
package/index.d.ts CHANGED
@@ -4,7 +4,7 @@ import type { IEditorOverrideServices } from "@codingame/monaco-vscode-api/vscod
4
4
  import { ConfigurationScope, type IConfigurationDefaults, type IConfigurationNode, type IConfigurationRegistry } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry";
5
5
  import type { IFileWriteOptions } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files";
6
6
  import type { IAnyWorkspaceIdentifier, IEmptyWorkspaceIdentifier, ISingleFolderWorkspaceIdentifier, IWorkspaceIdentifier } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace";
7
- import type { IStoredWorkspace, IWorkspaceFolderCreationData } from "@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/workspaces/common/workspaces";
7
+ import type { IStoredWorkspace, IWorkspaceFolderCreationData } from "@codingame/monaco-vscode-7559b0be-bfa5-5fe6-b731-1973fe9fffa1-common/vscode/vs/platform/workspaces/common/workspaces";
8
8
  import type { IColorCustomizations, IThemeScopedColorCustomizations } from "@codingame/monaco-vscode-9d0168a3-519b-57f3-9bcc-89efc41f951a-common/vscode/vs/workbench/services/themes/common/workbenchThemeService";
9
9
  declare const defaultUserConfigurationFile: URI;
10
10
  /**
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 { ITextResourcePropertiesService, ITextResourceConfigurationService } 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.service';
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": "14.0.5",
3
+ "version": "15.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - configuration service-override",
6
6
  "keywords": [],
@@ -15,14 +15,13 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common": "14.0.5",
19
- "@codingame/monaco-vscode-407531d3-fdae-5387-8c41-49ba0e9574b5-common": "14.0.5",
20
- "@codingame/monaco-vscode-422642f2-7e3a-5c1c-9e1e-1d3ef1817346-common": "14.0.5",
21
- "@codingame/monaco-vscode-api": "14.0.5",
22
- "@codingame/monaco-vscode-b1249c5b-1339-5278-b002-746f08105c6d-common": "14.0.5",
23
- "@codingame/monaco-vscode-d987325e-3e05-53aa-b9ff-6f97476f64db-common": "14.0.5",
24
- "@codingame/monaco-vscode-eea37658-2307-56a5-8ed0-b2752c7b7a50-common": "14.0.5",
25
- "@codingame/monaco-vscode-files-service-override": "14.0.5"
18
+ "@codingame/monaco-vscode-422642f2-7e3a-5c1c-9e1e-1d3ef1817346-common": "15.0.0",
19
+ "@codingame/monaco-vscode-7559b0be-bfa5-5fe6-b731-1973fe9fffa1-common": "15.0.0",
20
+ "@codingame/monaco-vscode-a4c2011e-8775-52bd-abf0-4a3c07a9696b-common": "15.0.0",
21
+ "@codingame/monaco-vscode-api": "15.0.0",
22
+ "@codingame/monaco-vscode-b1249c5b-1339-5278-b002-746f08105c6d-common": "15.0.0",
23
+ "@codingame/monaco-vscode-d987325e-3e05-53aa-b9ff-6f97476f64db-common": "15.0.0",
24
+ "@codingame/monaco-vscode-files-service-override": "15.0.0"
26
25
  },
27
26
  "main": "index.js",
28
27
  "module": "index.js",
@@ -32,12 +31,12 @@
32
31
  "default": "./index.js"
33
32
  },
34
33
  "./vscode/*": {
35
- "default": "./vscode/src/*.js",
36
- "types": "./vscode/src/*.d.ts"
34
+ "types": "./vscode/src/*.d.ts",
35
+ "default": "./vscode/src/*.js"
37
36
  },
38
37
  "./*": {
39
- "default": "./*.js",
40
- "types": "./*.d.ts"
38
+ "types": "./*.d.ts",
39
+ "default": "./*.js"
41
40
  }
42
41
  },
43
42
  "typesVersions": {
@@ -2,9 +2,10 @@ import { Event } from "@codingame/monaco-vscode-api/vscode/vs/base/common/event"
2
2
  import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
3
3
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
4
4
  import { IPosition } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/core/position";
5
- import { ILanguageService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language";
6
- import { IModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model";
7
- import { ITextResourceConfigurationService, ITextResourceConfigurationChangeEvent } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration";
5
+ import { ILanguageService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language.service";
6
+ import { IModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service";
7
+ import { ITextResourceConfigurationChangeEvent } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration";
8
+ import { ITextResourceConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration.service";
8
9
  import { ConfigurationTarget, IConfigurationValue } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration";
9
10
  import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
10
11
  export declare class TextResourceConfigurationService extends Disposable implements ITextResourceConfigurationService {
@@ -3,8 +3,8 @@ import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib
3
3
  import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
4
4
  import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
5
5
  import { Position } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/position';
6
- import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language';
7
- import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model';
6
+ import { ILanguageService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/language.service';
7
+ import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service';
8
8
  import { ConfigurationTarget } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration';
9
9
  import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
10
10
 
@@ -88,7 +88,13 @@ let TextResourceConfigurationService = class TextResourceConfigurationService ex
88
88
  affectedKeys: configurationChangeEvent.affectedKeys,
89
89
  affectsConfiguration: (resource, configuration) => {
90
90
  const overrideIdentifier = resource ? this.getLanguage(resource, null) : undefined;
91
- return configurationChangeEvent.affectsConfiguration(configuration, { resource, overrideIdentifier });
91
+ if (configurationChangeEvent.affectsConfiguration(configuration, { resource, overrideIdentifier })) {
92
+ return true;
93
+ }
94
+ if (overrideIdentifier) {
95
+ return ( configurationChangeEvent.affectedKeys.has(`[${overrideIdentifier}]`));
96
+ }
97
+ return false;
92
98
  }
93
99
  };
94
100
  }
@@ -21,29 +21,29 @@ const configurationEntrySchema = {
21
21
  properties: {
22
22
  title: {
23
23
  description: ( localize(
24
- 2428,
24
+ 2436,
25
25
  '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.'
26
26
  )),
27
27
  type: 'string'
28
28
  },
29
29
  order: {
30
30
  description: ( localize(
31
- 2429,
31
+ 2437,
32
32
  'When specified, gives the order of this category of settings relative to other categories.'
33
33
  )),
34
34
  type: 'integer'
35
35
  },
36
36
  properties: {
37
- description: ( localize(2430, 'Description of the configuration properties.')),
37
+ description: ( localize(2438, 'Description of the configuration properties.')),
38
38
  type: 'object',
39
39
  propertyNames: {
40
40
  pattern: '\\S+',
41
- patternErrorMessage: ( localize(2431, 'Property should not be empty.')),
41
+ patternErrorMessage: ( localize(2439, 'Property should not be empty.')),
42
42
  },
43
43
  additionalProperties: {
44
44
  anyOf: [
45
45
  {
46
- title: ( localize(2432, 'Schema of the configuration property.')),
46
+ title: ( localize(2440, 'Schema of the configuration property.')),
47
47
  $ref: 'http://json-schema.org/draft-07/schema#'
48
48
  },
49
49
  {
@@ -54,30 +54,30 @@ const configurationEntrySchema = {
54
54
  enum: ['application', 'machine', 'window', 'resource', 'language-overridable', 'machine-overridable'],
55
55
  default: 'window',
56
56
  enumDescriptions: [
57
- ( localize(2433, "Configuration that can be configured only in the user settings.")),
57
+ ( localize(2441, "Configuration that can be configured only in the user settings.")),
58
58
  ( localize(
59
- 2434,
59
+ 2442,
60
60
  "Configuration that can be configured only in the user settings or only in the remote settings."
61
61
  )),
62
62
  ( localize(
63
- 2435,
63
+ 2443,
64
64
  "Configuration that can be configured in the user, remote or workspace settings."
65
65
  )),
66
66
  ( localize(
67
- 2436,
67
+ 2444,
68
68
  "Configuration that can be configured in the user, remote, workspace or folder settings."
69
69
  )),
70
70
  ( localize(
71
- 2437,
71
+ 2445,
72
72
  "Resource configuration that can be configured in language specific settings."
73
73
  )),
74
74
  ( localize(
75
- 2438,
75
+ 2446,
76
76
  "Machine configuration that can be configured also in workspace or folder settings."
77
77
  ))
78
78
  ],
79
79
  markdownDescription: ( localize(
80
- 2439,
80
+ 2447,
81
81
  "Scope in which the configuration is applicable. Available scopes are `application`, `machine`, `window`, `resource`, and `machine-overridable`."
82
82
  ))
83
83
  },
@@ -86,14 +86,14 @@ const configurationEntrySchema = {
86
86
  items: {
87
87
  type: 'string',
88
88
  },
89
- description: ( localize(2440, 'Descriptions for enum values'))
89
+ description: ( localize(2448, 'Descriptions for enum values'))
90
90
  },
91
91
  markdownEnumDescriptions: {
92
92
  type: 'array',
93
93
  items: {
94
94
  type: 'string',
95
95
  },
96
- description: ( localize(2441, 'Descriptions for enum values in the markdown format.'))
96
+ description: ( localize(2449, 'Descriptions for enum values in the markdown format.'))
97
97
  },
98
98
  enumItemLabels: {
99
99
  type: 'array',
@@ -101,26 +101,26 @@ const configurationEntrySchema = {
101
101
  type: 'string'
102
102
  },
103
103
  markdownDescription: ( localize(
104
- 2442,
104
+ 2450,
105
105
  'Labels for enum values to be displayed in the Settings editor. When specified, the {0} values still show after the labels, but less prominently.',
106
106
  '`enum`'
107
107
  ))
108
108
  },
109
109
  markdownDescription: {
110
110
  type: 'string',
111
- description: ( localize(2443, 'The description in the markdown format.'))
111
+ description: ( localize(2451, 'The description in the markdown format.'))
112
112
  },
113
113
  deprecationMessage: {
114
114
  type: 'string',
115
115
  description: ( localize(
116
- 2444,
116
+ 2452,
117
117
  'If set, the property is marked as deprecated and the given message is shown as an explanation.'
118
118
  ))
119
119
  },
120
120
  markdownDeprecationMessage: {
121
121
  type: 'string',
122
122
  description: ( localize(
123
- 2445,
123
+ 2453,
124
124
  'If set, the property is marked as deprecated and the given message is shown as an explanation in the markdown format.'
125
125
  ))
126
126
  },
@@ -128,26 +128,26 @@ const configurationEntrySchema = {
128
128
  type: 'string',
129
129
  enum: ['singlelineText', 'multilineText'],
130
130
  enumDescriptions: [
131
- ( localize(2446, 'The value will be shown in an inputbox.')),
132
- ( localize(2447, 'The value will be shown in a textarea.'))
131
+ ( localize(2454, 'The value will be shown in an inputbox.')),
132
+ ( localize(2455, 'The value will be shown in a textarea.'))
133
133
  ],
134
134
  default: 'singlelineText',
135
135
  description: ( localize(
136
- 2448,
136
+ 2456,
137
137
  'When specified, controls the presentation format of the string setting.'
138
138
  ))
139
139
  },
140
140
  order: {
141
141
  type: 'integer',
142
142
  description: ( localize(
143
- 2449,
143
+ 2457,
144
144
  '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.'
145
145
  ))
146
146
  },
147
147
  ignoreSync: {
148
148
  type: 'boolean',
149
149
  description: ( localize(
150
- 2450,
150
+ 2458,
151
151
  'When enabled, Settings Sync will not sync the user value of this configuration by default.'
152
152
  ))
153
153
  },
@@ -157,7 +157,7 @@ const configurationEntrySchema = {
157
157
  type: 'string'
158
158
  },
159
159
  markdownDescription: ( localize(
160
- 2451,
160
+ 2459,
161
161
  'A list of categories under which to place the setting. The category can then be searched up in the Settings editor. For example, specifying the `experimental` tag allows one to find the setting by searching `@tag:experimental`.'
162
162
  )),
163
163
  }
@@ -202,7 +202,7 @@ defaultConfigurationExtPoint.setHandler((extensions, { added, removed }) => {
202
202
  const registeredPropertyScheme = registeredProperties[key];
203
203
  if (registeredPropertyScheme?.disallowConfigurationDefault) {
204
204
  extension.collector.warn(( localize(
205
- 2452,
205
+ 2460,
206
206
  "Cannot register configuration defaults for '{0}'. This setting does not allow contributing configuration defaults.",
207
207
  key
208
208
  )));
@@ -212,7 +212,7 @@ defaultConfigurationExtPoint.setHandler((extensions, { added, removed }) => {
212
212
  if (!OVERRIDE_PROPERTY_REGEX.test(key)) {
213
213
  if (registeredPropertyScheme?.scope && !allowedScopes.includes(registeredPropertyScheme.scope)) {
214
214
  extension.collector.warn(( localize(
215
- 2453,
215
+ 2461,
216
216
  "Cannot register configuration defaults for '{0}'. Only defaults for machine-overridable, window, resource and language overridable scoped settings are supported.",
217
217
  key
218
218
  )));
@@ -230,7 +230,7 @@ const configurationExtPoint = ExtensionsRegistry.registerExtensionPoint({
230
230
  extensionPoint: 'configuration',
231
231
  deps: [defaultConfigurationExtPoint],
232
232
  jsonSchema: {
233
- description: ( localize(2454, 'Contributes configuration settings.')),
233
+ description: ( localize(2462, 'Contributes configuration settings.')),
234
234
  oneOf: [
235
235
  configurationEntrySchema,
236
236
  {
@@ -256,7 +256,7 @@ configurationExtPoint.setHandler((extensions, { added, removed }) => {
256
256
  function handleConfiguration(node, extension) {
257
257
  const configuration = deepClone(node);
258
258
  if (configuration.title && (typeof configuration.title !== 'string')) {
259
- extension.collector.error(( localize(2455, "'configuration.title' must be a string")));
259
+ extension.collector.error(( localize(2463, "'configuration.title' must be a string")));
260
260
  }
261
261
  validateProperties(configuration, extension);
262
262
  configuration.id = node.id || extension.description.identifier.value;
@@ -269,7 +269,7 @@ configurationExtPoint.setHandler((extensions, { added, removed }) => {
269
269
  const properties = configuration.properties;
270
270
  if (properties) {
271
271
  if (typeof properties !== 'object') {
272
- extension.collector.error(( localize(2456, "'configuration.properties' must be an object")));
272
+ extension.collector.error(( localize(2464, "'configuration.properties' must be an object")));
273
273
  configuration.properties = {};
274
274
  }
275
275
  for (const key in properties) {
@@ -282,12 +282,12 @@ configurationExtPoint.setHandler((extensions, { added, removed }) => {
282
282
  }
283
283
  if (( seenProperties.has(key))) {
284
284
  delete properties[key];
285
- extension.collector.warn(( localize(2457, "Cannot register '{0}'. This property is already registered.", key)));
285
+ extension.collector.warn(( localize(2465, "Cannot register '{0}'. This property is already registered.", key)));
286
286
  continue;
287
287
  }
288
288
  if (!isObject(propertyConfiguration)) {
289
289
  delete properties[key];
290
- extension.collector.error(( localize(2458, "configuration.properties property '{0}' must be an object", key)));
290
+ extension.collector.error(( localize(2466, "configuration.properties property '{0}' must be an object", key)));
291
291
  continue;
292
292
  }
293
293
  seenProperties.add(key);
@@ -297,7 +297,7 @@ configurationExtPoint.setHandler((extensions, { added, removed }) => {
297
297
  const subNodes = configuration.allOf;
298
298
  if (subNodes) {
299
299
  extension.collector.error(( localize(
300
- 2459,
300
+ 2467,
301
301
  "'configuration.allOf' is deprecated and should no longer be used. Instead, pass multiple configuration sections as an array to the 'configuration' contribution point."
302
302
  )));
303
303
  for (const node of subNodes) {
@@ -340,7 +340,7 @@ jsonRegistry.registerSchema('vscode://schemas/workspaceConfig', {
340
340
  'folders': {
341
341
  minItems: 0,
342
342
  uniqueItems: true,
343
- description: ( localize(2460, "List of folders to be loaded in the workspace.")),
343
+ description: ( localize(2468, "List of folders to be loaded in the workspace.")),
344
344
  items: {
345
345
  type: 'object',
346
346
  defaultSnippets: [{ body: { path: '$1' } }],
@@ -349,13 +349,13 @@ jsonRegistry.registerSchema('vscode://schemas/workspaceConfig', {
349
349
  path: {
350
350
  type: 'string',
351
351
  description: ( localize(
352
- 2461,
352
+ 2469,
353
353
  "A file path. e.g. `/root/folderA` or `./folderA` for a relative path that will be resolved against the location of the workspace file."
354
354
  ))
355
355
  },
356
356
  name: {
357
357
  type: 'string',
358
- description: ( localize(2462, "An optional name for the folder. "))
358
+ description: ( localize(2470, "An optional name for the folder. "))
359
359
  }
360
360
  },
361
361
  required: ['path']
@@ -363,11 +363,11 @@ jsonRegistry.registerSchema('vscode://schemas/workspaceConfig', {
363
363
  properties: {
364
364
  uri: {
365
365
  type: 'string',
366
- description: ( localize(2463, "URI of the folder"))
366
+ description: ( localize(2471, "URI of the folder"))
367
367
  },
368
368
  name: {
369
369
  type: 'string',
370
- description: ( localize(2462, "An optional name for the folder. "))
370
+ description: ( localize(2470, "An optional name for the folder. "))
371
371
  }
372
372
  },
373
373
  required: ['uri']
@@ -377,39 +377,39 @@ jsonRegistry.registerSchema('vscode://schemas/workspaceConfig', {
377
377
  'settings': {
378
378
  type: 'object',
379
379
  default: {},
380
- description: ( localize(2464, "Workspace settings")),
380
+ description: ( localize(2472, "Workspace settings")),
381
381
  $ref: workspaceSettingsSchemaId
382
382
  },
383
383
  'launch': {
384
384
  type: 'object',
385
385
  default: { configurations: [], compounds: [] },
386
- description: ( localize(2465, "Workspace launch configurations")),
386
+ description: ( localize(2473, "Workspace launch configurations")),
387
387
  $ref: launchSchemaId
388
388
  },
389
389
  'tasks': {
390
390
  type: 'object',
391
391
  default: { version: '2.0.0', tasks: [] },
392
- description: ( localize(2466, "Workspace task configurations")),
392
+ description: ( localize(2474, "Workspace task configurations")),
393
393
  $ref: tasksSchemaId
394
394
  },
395
395
  'extensions': {
396
396
  type: 'object',
397
397
  default: {},
398
- description: ( localize(2467, "Workspace extensions")),
398
+ description: ( localize(2475, "Workspace extensions")),
399
399
  $ref: 'vscode://schemas/extensions'
400
400
  },
401
401
  'remoteAuthority': {
402
402
  type: 'string',
403
403
  doNotSuggest: true,
404
- description: ( localize(2468, "The remote server where the workspace is located.")),
404
+ description: ( localize(2476, "The remote server where the workspace is located.")),
405
405
  },
406
406
  'transient': {
407
407
  type: 'boolean',
408
408
  doNotSuggest: true,
409
- description: ( localize(2469, "A transient workspace will disappear when restarting or reloading.")),
409
+ description: ( localize(2477, "A transient workspace will disappear when restarting or reloading.")),
410
410
  }
411
411
  },
412
- errorMessage: ( localize(2470, "Unknown workspace configuration property"))
412
+ errorMessage: ( localize(2478, "Unknown workspace configuration property"))
413
413
  });
414
414
  class SettingsTableRenderer extends Disposable {
415
415
  constructor() {
@@ -425,7 +425,7 @@ class SettingsTableRenderer extends Disposable {
425
425
  : [];
426
426
  const properties = getAllConfigurationProperties(configuration);
427
427
  const contrib = properties ? ( Object.keys(properties)) : [];
428
- const headers = [( localize(2471, "ID")), ( localize(2472, "Description")), ( localize(2473, "Default"))];
428
+ const headers = [( localize(2479, "ID")), ( localize(2480, "Description")), ( localize(2481, "Default"))];
429
429
  const rows = ( contrib.sort((a, b) => a.localeCompare(b))
430
430
  .map(key => {
431
431
  return [
@@ -445,7 +445,7 @@ class SettingsTableRenderer extends Disposable {
445
445
  }
446
446
  ( Registry.as(Extensions$2.ExtensionFeaturesRegistry)).registerExtensionFeature({
447
447
  id: 'configuration',
448
- label: ( localize(2474, "Settings")),
448
+ label: ( localize(2482, "Settings")),
449
449
  access: {
450
450
  canToggle: false
451
451
  },
@@ -15,11 +15,11 @@ import { IHostService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/s
15
15
  import { IQuickInputService } from '@codingame/monaco-vscode-api/vscode/vs/platform/quickinput/common/quickInput.service';
16
16
  import { StorageScope } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage';
17
17
  import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
18
- import { isVirtualWorkspace } from '@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/workspace/common/virtualWorkspace';
18
+ import { isVirtualWorkspace } from '@codingame/monaco-vscode-7559b0be-bfa5-5fe6-b731-1973fe9fffa1-common/vscode/vs/platform/workspace/common/virtualWorkspace';
19
19
  import { registerAction2, Action2, MenuId } from '@codingame/monaco-vscode-api/vscode/vs/platform/actions/common/actions';
20
20
  import { ResourceContextKey, ActiveEditorContext, TemporaryWorkspaceContext } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
21
21
  import { ContextKeyExpr } from '@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey';
22
- import { TEXT_FILE_EDITOR_ID } from '@codingame/monaco-vscode-eea37658-2307-56a5-8ed0-b2752c7b7a50-common/vscode/vs/workbench/contrib/files/common/files';
22
+ import { TEXT_FILE_EDITOR_ID } from '@codingame/monaco-vscode-a4c2011e-8775-52bd-abf0-4a3c07a9696b-common/vscode/vs/workbench/contrib/files/common/files';
23
23
  import Severity from '@codingame/monaco-vscode-api/vscode/vs/base/common/severity';
24
24
 
25
25
  let WorkspacesFinderContribution = class WorkspacesFinderContribution extends Disposable {
@@ -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
- 11331,
54
+ 11439,
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(11332, "Open Workspace")),
59
+ label: ( localize(11440, "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
- 11333,
68
+ 11441,
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(11334, "Select Workspace")),
72
+ label: ( localize(11442, "Select Workspace")),
73
73
  run: () => {
74
- this.quickInputService.pick(( workspaces.map(workspace => ({ label: workspace }))), { placeHolder: ( localize(11335, "Select a workspace to open")) }).then(pick => {
74
+ this.quickInputService.pick(( workspaces.map(workspace => ({ label: workspace }))), { placeHolder: ( localize(11443, "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(11332, "Open Workspace")),
100
+ title: ( localize2(11440, "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(11336, "This workspace is already open.")));
115
+ notificationService.info(( localize(11444, "This workspace is already open.")));
116
116
  return;
117
117
  }
118
118
  }
@@ -4,7 +4,7 @@ import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/l
4
4
  import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
5
5
  import { ConfigurationModel, ConfigurationParseOptions, UserSettings } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationModels";
6
6
  import { IConfigurationCache } from "@codingame/monaco-vscode-b1249c5b-1339-5278-b002-746f08105c6d-common/vscode/vs/workbench/services/configuration/common/configuration";
7
- import { IStoredWorkspaceFolder } from "@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/workspaces/common/workspaces";
7
+ import { IStoredWorkspaceFolder } from "@codingame/monaco-vscode-7559b0be-bfa5-5fe6-b731-1973fe9fffa1-common/vscode/vs/platform/workspaces/common/workspaces";
8
8
  import { WorkbenchState, IWorkspaceFolder, IWorkspaceIdentifier } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace";
9
9
  import { IRemoteAgentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/remote/common/remoteAgentService.service";
10
10
  import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
@@ -7,7 +7,7 @@ import { ConfigurationModel } from "@codingame/monaco-vscode-api/vscode/vs/platf
7
7
  import { IConfigurationChangeEvent, ConfigurationTarget, IConfigurationOverrides, IConfigurationData, IConfigurationValue, IConfigurationUpdateOverrides, IConfigurationUpdateOptions } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration";
8
8
  import { IConfigurationCache, RestrictedSettings } from "@codingame/monaco-vscode-b1249c5b-1339-5278-b002-746f08105c6d-common/vscode/vs/workbench/services/configuration/common/configuration";
9
9
  import { IWorkbenchConfigurationService } from "@codingame/monaco-vscode-422642f2-7e3a-5c1c-9e1e-1d3ef1817346-common/vscode/vs/workbench/services/configuration/common/configuration.service";
10
- import { IWorkspaceFolderCreationData } from "@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/workspaces/common/workspaces";
10
+ import { IWorkspaceFolderCreationData } from "@codingame/monaco-vscode-7559b0be-bfa5-5fe6-b731-1973fe9fffa1-common/vscode/vs/platform/workspaces/common/workspaces";
11
11
  import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
12
12
  import { IRemoteAgentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/remote/common/remoteAgentService.service";
13
13
  import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
@@ -17,7 +17,7 @@ import { Configuration } from '../common/configurationModels.js';
17
17
  import { LOCAL_MACHINE_SCOPES, LOCAL_MACHINE_PROFILE_SCOPES, PROFILE_SCOPES, APPLICATION_SCOPES, APPLY_ALL_PROFILES_SETTING, FOLDER_CONFIG_FOLDER_NAME, defaultSettingsSchemaId, userSettingsSchemaId, profileSettingsSchemaId, machineSettingsSchemaId, workspaceSettingsSchemaId, folderSettingsSchemaId } from '@codingame/monaco-vscode-b1249c5b-1339-5278-b002-746f08105c6d-common/vscode/vs/workbench/services/configuration/common/configuration';
18
18
  import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
19
19
  import { Extensions, keyFromOverrideIdentifiers, ConfigurationScope, allSettings, applicationSettings, windowSettings, resourceSettings, machineSettings, machineOverridableSettings, applicationMachineSettings, OVERRIDE_PROPERTY_PATTERN, resourceLanguageSettingsSchemaId, configurationDefaultsSchemaId } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
20
- import { isStoredWorkspaceFolder, toWorkspaceFolders, getStoredWorkspaceFolder } from '@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/workspaces/common/workspaces';
20
+ import { isStoredWorkspaceFolder, toWorkspaceFolders, getStoredWorkspaceFolder } from '@codingame/monaco-vscode-7559b0be-bfa5-5fe6-b731-1973fe9fffa1-common/vscode/vs/platform/workspaces/common/workspaces';
21
21
  import { EditableConfigurationTarget, ConfigurationEditing } from '../common/configurationEditing.js';
22
22
  import { DefaultConfiguration, UserConfiguration, RemoteUserConfiguration, WorkspaceConfiguration, ApplicationConfiguration, FolderConfiguration } from './configuration.js';
23
23
  import { mark } from '@codingame/monaco-vscode-api/vscode/vs/base/common/performance';
@@ -1094,7 +1094,7 @@ let RegisterConfigurationSchemasContribution = class RegisterConfigurationSchema
1094
1094
  } : workspaceSettingsSchema;
1095
1095
  const configDefaultsSchema = {
1096
1096
  type: 'object',
1097
- description: ( localize(11477, 'Contribute defaults for configurations')),
1097
+ description: ( localize(11586, 'Contribute defaults for configurations')),
1098
1098
  properties: Object.assign({}, this.filterDefaultOverridableProperties(machineOverridableSettings.properties), this.filterDefaultOverridableProperties(windowSettings.properties), this.filterDefaultOverridableProperties(resourceSettings.properties)),
1099
1099
  patternProperties: {
1100
1100
  [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(11478, "Configure settings to be applied for all profiles.")),
1218
+ description: ( localize(11587, "Configure settings to be applied for all profiles.")),
1219
1219
  'default': [],
1220
1220
  'scope': ConfigurationScope.APPLICATION,
1221
1221
  additionalProperties: true,
@@ -4,7 +4,7 @@ import { ITextFileService } from "@codingame/monaco-vscode-api/vscode/vs/workben
4
4
  import { IConfigurationUpdateOptions, IConfigurationUpdateOverrides } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration";
5
5
  import { IWorkbenchConfigurationService } from "@codingame/monaco-vscode-422642f2-7e3a-5c1c-9e1e-1d3ef1817346-common/vscode/vs/workbench/services/configuration/common/configuration.service";
6
6
  import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
7
- import { ITextModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService";
7
+ import { ITextModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService.service";
8
8
  import { IEditorService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service";
9
9
  import { INotificationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification.service";
10
10
  import { IPreferencesService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/preferences/common/preferences.service";
@@ -2,7 +2,7 @@
2
2
  import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
3
  import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
4
4
  import { parse } from '@codingame/monaco-vscode-api/vscode/vs/base/common/json';
5
- import { setProperty } from '@codingame/monaco-vscode-407531d3-fdae-5387-8c41-49ba0e9574b5-common/vscode/vs/base/common/jsonEdit';
5
+ import { setProperty } from '@codingame/monaco-vscode-a4c2011e-8775-52bd-abf0-4a3c07a9696b-common/vscode/vs/base/common/jsonEdit';
6
6
  import { Queue } from '@codingame/monaco-vscode-api/vscode/vs/base/common/async';
7
7
  import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
8
8
  import { WorkbenchState } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace';
@@ -12,7 +12,7 @@ import { TASKS_CONFIGURATION_KEY, LAUNCH_CONFIGURATION_KEY, TASKS_DEFAULT, APPLI
12
12
  import { IWorkbenchConfigurationService } from '@codingame/monaco-vscode-422642f2-7e3a-5c1c-9e1e-1d3ef1817346-common/vscode/vs/workbench/services/configuration/common/configuration.service';
13
13
  import { FileOperationResult } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files';
14
14
  import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
15
- import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService';
15
+ import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService.service';
16
16
  import { Extensions, OVERRIDE_PROPERTY_REGEX, ConfigurationScope, keyFromOverrideIdentifiers } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
17
17
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
18
18
  import '@codingame/monaco-vscode-api/vscode/vs/platform/notification/common/notification';
@@ -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
- 11479,
130
+ 11588,
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(11480, "Open Tasks Configuration"))
191
- : operation.workspaceStandAloneConfigurationKey === LAUNCH_CONFIGURATION_KEY ? ( localize(11481, "Open Launch Configuration"))
190
+ const openStandAloneConfigurationActionLabel = operation.workspaceStandAloneConfigurationKey === TASKS_CONFIGURATION_KEY ? ( localize(11589, "Open Tasks Configuration"))
191
+ : operation.workspaceStandAloneConfigurationKey === LAUNCH_CONFIGURATION_KEY ? ( localize(11590, "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(11482, "Open Settings")),
201
+ label: ( localize(11591, "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(11480, "Open Tasks Configuration"))
208
- : operation.workspaceStandAloneConfigurationKey === LAUNCH_CONFIGURATION_KEY ? ( localize(11481, "Open Launch Configuration"))
207
+ const openStandAloneConfigurationActionLabel = operation.workspaceStandAloneConfigurationKey === TASKS_CONFIGURATION_KEY ? ( localize(11589, "Open Tasks Configuration"))
208
+ : operation.workspaceStandAloneConfigurationKey === LAUNCH_CONFIGURATION_KEY ? ( localize(11590, "Open Launch Configuration"))
209
209
  : null;
210
210
  if (openStandAloneConfigurationActionLabel) {
211
211
  this.notificationService.prompt(Severity.Error, error.message, [{
212
- label: ( localize(11483, "Save and Retry")),
212
+ label: ( localize(11592, "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(11483, "Save and Retry")),
225
+ label: ( localize(11592, "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(11482, "Open Settings")),
229
+ label: ( localize(11591, "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
- 11484,
266
+ 11593,
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
- 11485,
271
+ 11594,
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
- 11486,
277
+ 11595,
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
- 11487,
282
+ 11596,
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
- 11488,
287
+ 11597,
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
- 11489,
292
+ 11598,
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
- 11490,
297
+ 11599,
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
- 11491,
302
+ 11600,
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
- 11492,
306
+ 11601,
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
- 11493,
311
+ 11602,
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
- 11494,
318
+ 11603,
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
- 11495,
324
+ 11604,
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
- 11496,
331
+ 11605,
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
- 11497,
336
+ 11606,
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
- 11498,
341
+ 11607,
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
- 11499,
353
+ 11608,
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
- 11500,
365
+ 11609,
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
- 11501,
371
+ 11610,
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
- 11502,
378
+ 11611,
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
- 11503,
383
+ 11612,
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
- 11504,
388
+ 11613,
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
- 11505,
400
+ 11614,
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
- 11506,
412
+ 11615,
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
- 11507,
418
+ 11616,
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
- 11508,
425
+ 11617,
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
- 11509,
430
+ 11618,
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
- 11510,
435
+ 11619,
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
- 11511,
440
+ 11620,
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
- 11512,
445
+ 11621,
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(11513, "User Settings");
454
+ return localize(11622, "User Settings");
455
455
  case EditableConfigurationTarget.USER_REMOTE:
456
- return localize(11514, "Remote User Settings");
456
+ return localize(11623, "Remote User Settings");
457
457
  case EditableConfigurationTarget.WORKSPACE:
458
- return localize(11515, "Workspace Settings");
458
+ return localize(11624, "Workspace Settings");
459
459
  case EditableConfigurationTarget.WORKSPACE_FOLDER:
460
- return localize(11516, "Folder Settings");
460
+ return localize(11625, "Folder Settings");
461
461
  default:
462
462
  return '';
463
463
  }
@@ -1,6 +1,6 @@
1
1
  import { IConfigurationModel, IConfigurationOverrides, IConfigurationValue, IConfigurationChange } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration";
2
2
  import { Configuration as BaseConfiguration, ConfigurationModelParser, ConfigurationModel, ConfigurationParseOptions } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationModels";
3
- import { IStoredWorkspaceFolder } from "@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/workspaces/common/workspaces";
3
+ import { IStoredWorkspaceFolder } from "@codingame/monaco-vscode-7559b0be-bfa5-5fe6-b731-1973fe9fffa1-common/vscode/vs/platform/workspaces/common/workspaces";
4
4
  import { Workspace } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace";
5
5
  import { ResourceMap } from "@codingame/monaco-vscode-api/vscode/vs/base/common/map";
6
6
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
@@ -185,7 +185,7 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
185
185
  result = await this.commandService.executeCommand(commandId, configuration);
186
186
  if (typeof result !== 'string' && !isUndefinedOrNull(result)) {
187
187
  throw ( new Error(( localize(
188
- 11518,
188
+ 11627,
189
189
  "Cannot substitute command variable '{0}' because command did not return a result of type string.",
190
190
  commandId
191
191
  ))));
@@ -237,7 +237,7 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
237
237
  showUserInput(section, variable, inputInfos) {
238
238
  if (!inputInfos) {
239
239
  return Promise.reject(( new Error(( localize(
240
- 11519,
240
+ 11628,
241
241
  "Variable '{0}' must be defined in an '{1}' section of the debug or task configuration.",
242
242
  variable,
243
243
  'inputs'
@@ -247,7 +247,7 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
247
247
  if (info) {
248
248
  const missingAttribute = (attrName) => {
249
249
  throw ( new Error(( localize(
250
- 11520,
250
+ 11629,
251
251
  "Input variable '{0}' is of type '{1}' and must include '{2}'.",
252
252
  variable,
253
253
  info.type,
@@ -299,7 +299,7 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
299
299
  value: value
300
300
  };
301
301
  if (value === info.default) {
302
- item.description = ( localize(11521, "(Default)"));
302
+ item.description = ( localize(11630, "(Default)"));
303
303
  picks.unshift(item);
304
304
  }
305
305
  else if (!info.default && value === previousPickedValue) {
@@ -328,7 +328,7 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
328
328
  return result;
329
329
  }
330
330
  throw ( new Error(( localize(
331
- 11522,
331
+ 11631,
332
332
  "Cannot substitute input variable '{0}' because command '{1}' did not return a result of type string.",
333
333
  variable,
334
334
  info.command
@@ -337,14 +337,14 @@ class BaseConfigurationResolverService extends AbstractVariableResolverService {
337
337
  }
338
338
  default:
339
339
  throw ( new Error(( localize(
340
- 11523,
340
+ 11632,
341
341
  "Input variable '{0}' can only be of type 'promptString', 'pickString', or 'command'.",
342
342
  variable
343
343
  ))));
344
344
  }
345
345
  }
346
346
  return Promise.reject(( new Error(( localize(
347
- 11524,
347
+ 11633,
348
348
  "Undefined input variable '{0}' encountered. Remove or define '{0}' to continue.",
349
349
  variable
350
350
  )))));
@@ -1,6 +1,6 @@
1
1
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
2
2
  import { IConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service";
3
- import { ITextResourcePropertiesService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration";
3
+ import { ITextResourcePropertiesService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration.service";
4
4
  import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
5
5
  import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service";
6
6
  import { IRemoteAgentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/remote/common/remoteAgentService.service";
@@ -2,7 +2,7 @@ import { IWorkspaceEditingService } from "@codingame/monaco-vscode-api/vscode/vs
2
2
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
3
3
  import { IWorkspaceIdentifier } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace";
4
4
  import { IJSONEditingService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/configuration/common/jsonEditing.service";
5
- import { IWorkspaceFolderCreationData, IEnterWorkspaceResult } from "@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/workspaces/common/workspaces";
5
+ import { IWorkspaceFolderCreationData, IEnterWorkspaceResult } from "@codingame/monaco-vscode-7559b0be-bfa5-5fe6-b731-1973fe9fffa1-common/vscode/vs/platform/workspaces/common/workspaces";
6
6
  import { IWorkspacesService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspaces/common/workspaces.service";
7
7
  import { WorkspaceService } from "../../configuration/browser/configurationService.js";
8
8
  import { ICommandService } from "@codingame/monaco-vscode-api/vscode/vs/platform/commands/common/commands.service";
@@ -5,7 +5,7 @@ import { WORKSPACE_FILTER, hasWorkspaceFileExtension, WORKSPACE_EXTENSION, isSav
5
5
  import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
6
6
  import { JSONEditingErrorCode } from '@codingame/monaco-vscode-d987325e-3e05-53aa-b9ff-6f97476f64db-common/vscode/vs/workbench/services/configuration/common/jsonEditing';
7
7
  import { IJSONEditingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/configuration/common/jsonEditing.service';
8
- import { rewriteWorkspaceFileForNewLocation } from '@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/workspaces/common/workspaces';
8
+ import { rewriteWorkspaceFileForNewLocation } from '@codingame/monaco-vscode-7559b0be-bfa5-5fe6-b731-1973fe9fffa1-common/vscode/vs/platform/workspaces/common/workspaces';
9
9
  import { IWorkspacesService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspaces/common/workspaces.service';
10
10
  import { ConfigurationScope, Extensions } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configurationRegistry';
11
11
  import { Registry } from '@codingame/monaco-vscode-api/vscode/vs/platform/registry/common/platform';
@@ -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: ( localize(12354, "Save")),
59
- title: ( localize(12355, "Save Workspace")),
58
+ saveLabel: ( localize(12466, "Save")),
59
+ title: ( localize(12467, "Save Workspace")),
60
60
  filters: WORKSPACE_FILTER,
61
61
  defaultUri: joinPath(await this.fileDialogService.defaultWorkspacePath(), this.getNewWorkspaceName()),
62
62
  availableFileSystems
@@ -255,14 +255,14 @@ let AbstractWorkspaceEditingService = class AbstractWorkspaceEditingService exte
255
255
  }
256
256
  onInvalidWorkspaceConfigurationFileError() {
257
257
  const message = ( localize(
258
- 12356,
258
+ 12468,
259
259
  "Unable to write into workspace configuration file. Please open the file to correct errors/warnings in it and try again."
260
260
  ));
261
261
  this.askToOpenWorkspaceConfigurationFile(message);
262
262
  }
263
263
  askToOpenWorkspaceConfigurationFile(message) {
264
264
  this.notificationService.prompt(Severity.Error, message, [{
265
- label: ( localize(12357, "Open Workspace Configuration")),
265
+ label: ( localize(12469, "Open Workspace Configuration")),
266
266
  run: () => this.commandService.executeCommand('workbench.action.openWorkspaceConfigFile')
267
267
  }]);
268
268
  }
@@ -1,4 +1,4 @@
1
- import { IWorkspaceFolderCreationData, IEnterWorkspaceResult, IRecentlyOpened, IRecent } from "@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/workspaces/common/workspaces";
1
+ import { IWorkspaceFolderCreationData, IEnterWorkspaceResult, IRecentlyOpened, IRecent } from "@codingame/monaco-vscode-7559b0be-bfa5-5fe6-b731-1973fe9fffa1-common/vscode/vs/platform/workspaces/common/workspaces";
2
2
  import { IWorkspacesService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspaces/common/workspaces.service";
3
3
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
4
4
  import { IStorageService } from "@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service";
@@ -9,7 +9,7 @@ import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/l
9
9
  import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
10
10
  import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service";
11
11
  import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
12
- import { IWorkspaceBackupInfo, IFolderBackupInfo } from "@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/backup/common/backup";
12
+ import { IWorkspaceBackupInfo, IFolderBackupInfo } from "@codingame/monaco-vscode-7559b0be-bfa5-5fe6-b731-1973fe9fffa1-common/vscode/vs/platform/backup/common/backup";
13
13
  export declare class BrowserWorkspacesService extends Disposable implements IWorkspacesService {
14
14
  private readonly storageService;
15
15
  private readonly contextService;
@@ -1,7 +1,7 @@
1
1
 
2
2
  import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
3
  import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
4
- import { restoreRecentlyOpened, isRecentFolder, isRecentWorkspace, isRecentFile, toStoreData, getStoredWorkspaceFolder } from '@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/workspaces/common/workspaces';
4
+ import { restoreRecentlyOpened, isRecentFolder, isRecentWorkspace, isRecentFile, toStoreData, getStoredWorkspaceFolder } from '@codingame/monaco-vscode-7559b0be-bfa5-5fe6-b731-1973fe9fffa1-common/vscode/vs/platform/workspaces/common/workspaces';
5
5
  import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
6
6
  import { Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
7
7
  import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage';