@codingame/monaco-vscode-base-service-override 14.0.6 → 15.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -5,7 +5,7 @@ import { SyncDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/platform/
5
5
  import { IRequestService } from '@codingame/monaco-vscode-api/vscode/vs/platform/request/common/request.service';
6
6
  import { IDecorationsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/decorations/common/decorations.service';
7
7
  import { IJSONEditingService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/configuration/common/jsonEditing.service';
8
- import { ITreeViewsDnDService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/treeViewsDndService';
8
+ import { ITreeViewsDnDService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/treeViewsDndService.service';
9
9
  import { TreeViewsDnDService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/treeViewsDnd';
10
10
  import { IURLService } from '@codingame/monaco-vscode-api/vscode/vs/platform/url/common/url.service';
11
11
  import { JSONEditingService } from './vscode/src/vs/workbench/services/configuration/common/jsonEditingService.js';
@@ -30,7 +30,7 @@ import { ITrustedDomainService } from '@codingame/monaco-vscode-api/vscode/vs/wo
30
30
  import { TrustedDomainService } from '@codingame/monaco-vscode-9a1a5840-af83-5d07-a156-ba32a36c5c4b-common/vscode/vs/workbench/contrib/url/browser/trustedDomainService';
31
31
  import { LabelService } from './vscode/src/vs/workbench/services/label/common/labelService.js';
32
32
  import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service';
33
- import { IEditorWorkerService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/editorWorker';
33
+ import { IEditorWorkerService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/editorWorker.service';
34
34
  import { WorkbenchEditorWorkerService } from './vscode/src/vs/workbench/contrib/codeEditor/browser/workbenchEditorWorkerService.js';
35
35
  import { getEnvironmentOverride } from '@codingame/monaco-vscode-api/workbench';
36
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-base-service-override",
3
- "version": "14.0.6",
3
+ "version": "15.0.1",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - base service-override",
6
6
  "keywords": [],
@@ -15,14 +15,14 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-039b5553-0838-562a-97c2-30d6e54a7b42-common": "14.0.6",
19
- "@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common": "14.0.6",
20
- "@codingame/monaco-vscode-407531d3-fdae-5387-8c41-49ba0e9574b5-common": "14.0.6",
21
- "@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "14.0.6",
22
- "@codingame/monaco-vscode-91789cdf-e3cb-5a04-aaeb-6f7df7d3d231-common": "14.0.6",
23
- "@codingame/monaco-vscode-9a1a5840-af83-5d07-a156-ba32a36c5c4b-common": "14.0.6",
24
- "@codingame/monaco-vscode-api": "14.0.6",
25
- "@codingame/monaco-vscode-d987325e-3e05-53aa-b9ff-6f97476f64db-common": "14.0.6"
18
+ "@codingame/monaco-vscode-039b5553-0838-562a-97c2-30d6e54a7b42-common": "15.0.1",
19
+ "@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common": "15.0.1",
20
+ "@codingame/monaco-vscode-411e0589-fa79-504b-b32c-80a88847b23a-common": "15.0.1",
21
+ "@codingame/monaco-vscode-7559b0be-bfa5-5fe6-b731-1973fe9fffa1-common": "15.0.1",
22
+ "@codingame/monaco-vscode-9a1a5840-af83-5d07-a156-ba32a36c5c4b-common": "15.0.1",
23
+ "@codingame/monaco-vscode-a4c2011e-8775-52bd-abf0-4a3c07a9696b-common": "15.0.1",
24
+ "@codingame/monaco-vscode-api": "15.0.1",
25
+ "@codingame/monaco-vscode-d987325e-3e05-53aa-b9ff-6f97476f64db-common": "15.0.1"
26
26
  },
27
27
  "main": "index.js",
28
28
  "module": "index.js",
@@ -1,8 +1,8 @@
1
1
  import { EditorWorkerService } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/editorWorkerService";
2
- import { ILanguageConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/languageConfigurationRegistry";
3
- import { ILanguageFeaturesService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures";
4
- import { IModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model";
5
- import { ITextResourceConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration";
2
+ import { ILanguageConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/languageConfigurationRegistry.service";
3
+ import { ILanguageFeaturesService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures.service";
4
+ import { IModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service";
5
+ import { ITextResourceConfigurationService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration.service";
6
6
  import { ILogService } from "@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service";
7
7
  export declare class WorkbenchEditorWorkerService extends EditorWorkerService {
8
8
  constructor(modelService: IModelService, configurationService: ITextResourceConfigurationService, logService: ILogService, languageConfigurationService: ILanguageConfigurationService, languageFeaturesService: ILanguageFeaturesService);
@@ -2,10 +2,10 @@
2
2
  import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
3
  import { WorkerDescriptor } from '@codingame/monaco-vscode-api/vscode/vs/base/browser/defaultWorkerFactory';
4
4
  import { EditorWorkerService } from '@codingame/monaco-vscode-api/vscode/vs/editor/browser/services/editorWorkerService';
5
- import { ILanguageConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/languageConfigurationRegistry';
6
- import { ILanguageFeaturesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures';
7
- import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model';
8
- import { ITextResourceConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration';
5
+ import { ILanguageConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/languages/languageConfigurationRegistry.service';
6
+ import { ILanguageFeaturesService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/languageFeatures.service';
7
+ import { IModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/model.service';
8
+ import { ITextResourceConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/textResourceConfiguration.service';
9
9
  import { ILogService } from '@codingame/monaco-vscode-api/vscode/vs/platform/log/common/log.service';
10
10
 
11
11
  let WorkbenchEditorWorkerService = class WorkbenchEditorWorkerService extends EditorWorkerService {
@@ -1,7 +1,7 @@
1
1
  import { URI } from "@codingame/monaco-vscode-api/vscode/vs/base/common/uri";
2
2
  import { ITextFileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles.service";
3
3
  import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
4
- import { ITextModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService";
4
+ import { ITextModelService } from "@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService.service";
5
5
  import { IJSONValue } from "@codingame/monaco-vscode-d987325e-3e05-53aa-b9ff-6f97476f64db-common/vscode/vs/workbench/services/configuration/common/jsonEditing";
6
6
  import { IJSONEditingService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/configuration/common/jsonEditing.service";
7
7
  export declare class JSONEditingService implements IJSONEditingService {
@@ -2,14 +2,14 @@
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 { EditOperation } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/editOperation';
8
8
  import { Range } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/range';
9
9
  import { Selection } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/core/selection';
10
10
  import { ITextFileService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/textfile/common/textfiles.service';
11
11
  import { IFileService } from '@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service';
12
- import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService';
12
+ import { ITextModelService } from '@codingame/monaco-vscode-api/vscode/vs/editor/common/services/resolverService.service';
13
13
  import { JSONEditingErrorCode, JSONEditingError } from '@codingame/monaco-vscode-d987325e-3e05-53aa-b9ff-6f97476f64db-common/vscode/vs/workbench/services/configuration/common/jsonEditing';
14
14
  import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation';
15
15
  import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/extensions';
@@ -108,7 +108,7 @@ let JSONEditingService = class JSONEditingService {
108
108
  switch (error) {
109
109
  case JSONEditingErrorCode.ERROR_INVALID_FILE: {
110
110
  return localize(
111
- 11517,
111
+ 11640,
112
112
  "Unable to write into the file. Please open the file to correct errors/warnings in the file and try again."
113
113
  );
114
114
  }
@@ -124,7 +124,7 @@ class DecorationRule {
124
124
  font-size: 16px;
125
125
  margin-right: 14px;
126
126
  font-weight: normal;
127
- ${modifier === 'spin' ? 'animation: codicon-spin 1.5s steps(30) infinite' : ''};
127
+ ${modifier === 'spin' ? 'animation: codicon-spin 1.5s steps(30) infinite; font-style: normal !important;' : ''};
128
128
  `, element);
129
129
  }
130
130
  removeCSSRules(element) {
@@ -161,7 +161,7 @@ class DecorationStyles {
161
161
  const strikethrough = ( data.some(d => d.strikethrough));
162
162
  if (onlyChildren) {
163
163
  badgeClassName = rule.bubbleBadgeClassName;
164
- tooltip = ( localize(11556, "Contains emphasized items"));
164
+ tooltip = ( localize(11679, "Contains emphasized items"));
165
165
  }
166
166
  return {
167
167
  labelClassName,
@@ -3,7 +3,7 @@ import { IDisposable, Disposable } from "@codingame/monaco-vscode-api/vscode/vs/
3
3
  import { IWorkbenchEnvironmentService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service";
4
4
  import { IWorkspace, ISingleFolderWorkspaceIdentifier, IWorkspaceIdentifier } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace";
5
5
  import { IWorkspaceContextService } from "@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service";
6
- import { ResourceLabelFormatter, ResourceLabelFormatting, IFormatterChangeEvent, Verbosity } from "@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/label/common/label";
6
+ import { ResourceLabelFormatter, ResourceLabelFormatting, IFormatterChangeEvent, Verbosity } from "@codingame/monaco-vscode-7559b0be-bfa5-5fe6-b731-1973fe9fffa1-common/vscode/vs/platform/label/common/label";
7
7
  import { ILabelService } from "@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service";
8
8
  import { ILifecycleService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/lifecycle/common/lifecycle.service";
9
9
  import { IPathService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/path/common/pathService.service";
@@ -12,7 +12,7 @@ import { isWorkspace, toWorkspaceIdentifier, isSingleFolderWorkspaceIdentifier,
12
12
  import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
13
13
  import { basenameOrAuthority, basename, joinPath, dirname } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
14
14
  import { getPathLabel, tildify } from '@codingame/monaco-vscode-api/vscode/vs/base/common/labels';
15
- import { Verbosity } from '@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/label/common/label';
15
+ import { Verbosity } from '@codingame/monaco-vscode-7559b0be-bfa5-5fe6-b731-1973fe9fffa1-common/vscode/vs/platform/label/common/label';
16
16
  import { ILabelService } from '@codingame/monaco-vscode-api/vscode/vs/platform/label/common/label.service';
17
17
  import { ExtensionsRegistry } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/extensions/common/extensionsRegistry';
18
18
  import { match } from '@codingame/monaco-vscode-api/vscode/vs/base/common/glob';
@@ -26,12 +26,12 @@ import { IRemoteAgentService } from '@codingame/monaco-vscode-api/vscode/vs/work
26
26
  import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
27
27
  import { StorageScope, StorageTarget } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage';
28
28
  import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform/storage/common/storage.service';
29
- import { Memento } from '@codingame/monaco-vscode-91789cdf-e3cb-5a04-aaeb-6f7df7d3d231-common/vscode/vs/workbench/common/memento';
29
+ import { Memento } from '@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common/vscode/vs/workbench/common/memento';
30
30
 
31
31
  const resourceLabelFormattersExtPoint = ExtensionsRegistry.registerExtensionPoint({
32
32
  extensionPoint: 'resourceLabelFormatters',
33
33
  jsonSchema: {
34
- description: ( localize(11849, 'Contributes resource label formatting rules.')),
34
+ description: ( localize(11974, 'Contributes resource label formatting rules.')),
35
35
  type: 'array',
36
36
  items: {
37
37
  type: 'object',
@@ -40,52 +40,52 @@ const resourceLabelFormattersExtPoint = ExtensionsRegistry.registerExtensionPoin
40
40
  scheme: {
41
41
  type: 'string',
42
42
  description: ( localize(
43
- 11850,
43
+ 11975,
44
44
  'URI scheme on which to match the formatter on. For example "file". Simple glob patterns are supported.'
45
45
  )),
46
46
  },
47
47
  authority: {
48
48
  type: 'string',
49
49
  description: ( localize(
50
- 11851,
50
+ 11976,
51
51
  'URI authority on which to match the formatter on. Simple glob patterns are supported.'
52
52
  )),
53
53
  },
54
54
  formatting: {
55
- description: ( localize(11852, "Rules for formatting uri resource labels.")),
55
+ description: ( localize(11977, "Rules for formatting uri resource labels.")),
56
56
  type: 'object',
57
57
  properties: {
58
58
  label: {
59
59
  type: 'string',
60
60
  description: ( localize(
61
- 11853,
61
+ 11978,
62
62
  "Label rules to display. For example: myLabel:/${path}. ${path}, ${scheme}, ${authority} and ${authoritySuffix} are supported as variables."
63
63
  ))
64
64
  },
65
65
  separator: {
66
66
  type: 'string',
67
67
  description: ( localize(
68
- 11854,
68
+ 11979,
69
69
  "Separator to be used in the uri label display. '/' or '\' as an example."
70
70
  ))
71
71
  },
72
72
  stripPathStartingSeparator: {
73
73
  type: 'boolean',
74
74
  description: ( localize(
75
- 11855,
75
+ 11980,
76
76
  "Controls whether `${path}` substitutions should have starting separator characters stripped."
77
77
  ))
78
78
  },
79
79
  tildify: {
80
80
  type: 'boolean',
81
81
  description: ( localize(
82
- 11856,
82
+ 11981,
83
83
  "Controls if the start of the uri label should be tildified when possible."
84
84
  ))
85
85
  },
86
86
  workspaceSuffix: {
87
87
  type: 'string',
88
- description: ( localize(11857, "Suffix appended to the workspace label."))
88
+ description: ( localize(11982, "Suffix appended to the workspace label."))
89
89
  }
90
90
  }
91
91
  }
@@ -267,10 +267,10 @@ let LabelService = class LabelService extends Disposable {
267
267
  }
268
268
  doGetWorkspaceLabel(workspaceUri, options) {
269
269
  if (isUntitledWorkspace(workspaceUri, this.environmentService)) {
270
- return localize(11858, "Untitled (Workspace)");
270
+ return localize(11983, "Untitled (Workspace)");
271
271
  }
272
272
  if (isTemporaryWorkspace(workspaceUri)) {
273
- return localize(11859, "Workspace");
273
+ return localize(11984, "Workspace");
274
274
  }
275
275
  let filename = basename(workspaceUri);
276
276
  if (filename.endsWith(WORKSPACE_EXTENSION)) {
@@ -283,14 +283,14 @@ let LabelService = class LabelService extends Disposable {
283
283
  break;
284
284
  case Verbosity.LONG:
285
285
  label = ( localize(
286
- 11860,
286
+ 11985,
287
287
  "{0} (Workspace)",
288
288
  this.getUriLabel(joinPath(dirname(workspaceUri), filename))
289
289
  ));
290
290
  break;
291
291
  case Verbosity.MEDIUM:
292
292
  default:
293
- label = ( localize(11861, "{0} (Workspace)", filename));
293
+ label = ( localize(11986, "{0} (Workspace)", filename));
294
294
  break;
295
295
  }
296
296
  if (options?.verbose === Verbosity.SHORT) {
@@ -6,7 +6,7 @@ import { win32, posix } from '@codingame/monaco-vscode-api/vscode/vs/base/common
6
6
  import { OS, OperatingSystem } from '@codingame/monaco-vscode-api/vscode/vs/base/common/platform';
7
7
  import { basename } from '@codingame/monaco-vscode-api/vscode/vs/base/common/resources';
8
8
  import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
9
- import { getVirtualWorkspaceScheme } from '@codingame/monaco-vscode-2cbab29e-9393-5de6-b701-9a9555360b6b-common/vscode/vs/platform/workspace/common/virtualWorkspace';
9
+ import { getVirtualWorkspaceScheme } from '@codingame/monaco-vscode-7559b0be-bfa5-5fe6-b731-1973fe9fffa1-common/vscode/vs/platform/workspace/common/virtualWorkspace';
10
10
  import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
11
11
  import { IWorkbenchEnvironmentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/environment/common/environmentService.service';
12
12
  import { IRemoteAgentService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/remote/common/remoteAgentService.service';
@@ -13,7 +13,7 @@ import { windowLogGroup } from '@codingame/monaco-vscode-api/vscode/vs/workbench
13
13
 
14
14
  let BrowserRequestService = class BrowserRequestService extends AbstractRequestService {
15
15
  constructor(remoteAgentService, configurationService, loggerService) {
16
- const logger = loggerService.createLogger(`network`, { name: ( localize(11965, "Network")), group: windowLogGroup });
16
+ const logger = loggerService.createLogger(`network`, { name: ( localize(12090, "Network")), group: windowLogGroup });
17
17
  const logService = ( new LogService(logger));
18
18
  super(logService);
19
19
  this.remoteAgentService = remoteAgentService;
@@ -4,7 +4,7 @@ import { IProgress, IProgressStep } from "@codingame/monaco-vscode-api/vscode/vs
4
4
  import { IProgressService } from "@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress.service";
5
5
  import { IDisposable, Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
6
6
  import { IStoredFileWorkingCopySaveParticipant, IStoredFileWorkingCopySaveParticipantContext } from "./workingCopyFileService.js";
7
- import { IStoredFileWorkingCopy, IStoredFileWorkingCopyModel } from "@codingame/monaco-vscode-99f24462-c56d-5407-83fb-2ea9dd33cc8c-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy";
7
+ import { IStoredFileWorkingCopy, IStoredFileWorkingCopyModel } from "@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy";
8
8
  export declare class StoredFileWorkingCopySaveParticipant extends Disposable {
9
9
  private readonly logService;
10
10
  private readonly progressService;
@@ -27,16 +27,21 @@ let StoredFileWorkingCopySaveParticipant = class StoredFileWorkingCopySavePartic
27
27
  const cts = ( new CancellationTokenSource(token));
28
28
  workingCopy.model?.pushStackElement();
29
29
  progress.report({
30
- message: ( localize(12347, "Running Code Actions and Formatters..."))
30
+ message: ( localize(12473, "Running Code Actions and Formatters..."))
31
31
  });
32
32
  let bubbleCancel = false;
33
33
  await this.progressService.withProgress({
34
34
  priority: NotificationPriority.URGENT,
35
35
  location: ProgressLocation.Notification,
36
- cancellable: ( localize(12348, "Skip")),
36
+ cancellable: ( localize(12474, "Skip")),
37
37
  delay: workingCopy.isDirty() ? 5000 : 3000
38
38
  }, async (progress) => {
39
- for (const saveParticipant of this.saveParticipants) {
39
+ const participants = Array.from(this.saveParticipants).sort((a, b) => {
40
+ const aValue = a.ordinal ?? 0;
41
+ const bValue = b.ordinal ?? 0;
42
+ return aValue - bValue;
43
+ });
44
+ for (const saveParticipant of participants) {
40
45
  if (cts.token.isCancellationRequested || workingCopy.isDisposed()) {
41
46
  break;
42
47
  }
@@ -6,12 +6,12 @@ import { FileOperation, IFileStatWithMetadata } from "@codingame/monaco-vscode-a
6
6
  import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
7
7
  import { CancellationToken } from "@codingame/monaco-vscode-api/vscode/vs/base/common/cancellation";
8
8
  import { IWorkingCopyService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyService.service";
9
- import { IWorkingCopy } from "@codingame/monaco-vscode-ce8c4b18-4e75-55dd-9656-517347af9de7-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
9
+ import { IWorkingCopy } from "@codingame/monaco-vscode-86d65fc6-30f9-5dca-9501-e249de688591-common/vscode/vs/workbench/services/workingCopy/common/workingCopy";
10
10
  import { IUriIdentityService } from "@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service";
11
11
  import { VSBuffer, VSBufferReadable, VSBufferReadableStream } from "@codingame/monaco-vscode-api/vscode/vs/base/common/buffer";
12
12
  import { SaveReason } from "@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor";
13
13
  import { IProgress, IProgressStep } from "@codingame/monaco-vscode-api/vscode/vs/platform/progress/common/progress";
14
- import { IStoredFileWorkingCopy, IStoredFileWorkingCopyModel } from "@codingame/monaco-vscode-99f24462-c56d-5407-83fb-2ea9dd33cc8c-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy";
14
+ import { IStoredFileWorkingCopy, IStoredFileWorkingCopyModel } from "@codingame/monaco-vscode-bba55be6-41a2-50cd-a3cc-8bafa35bfa89-common/vscode/vs/workbench/services/workingCopy/common/storedFileWorkingCopy";
15
15
  import { IWorkingCopyFileService } from "@codingame/monaco-vscode-api/vscode/vs/workbench/services/workingCopy/common/workingCopyFileService.service";
16
16
  export interface SourceTargetPair {
17
17
  readonly source?: URI;
@@ -34,6 +34,7 @@ export interface IStoredFileWorkingCopySaveParticipantContext {
34
34
  readonly savedFrom?: URI;
35
35
  }
36
36
  export interface IStoredFileWorkingCopySaveParticipant {
37
+ readonly ordinal?: number;
37
38
  participate(workingCopy: IStoredFileWorkingCopy<IStoredFileWorkingCopyModel>, context: IStoredFileWorkingCopySaveParticipantContext, progress: IProgress<IProgressStep>, token: CancellationToken): Promise<void>;
38
39
  }
39
40
  export interface ICreateOperation {