@codingame/monaco-vscode-view-common-service-override 29.1.1 → 30.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 (36) hide show
  1. package/package.json +3 -3
  2. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +12 -12
  3. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +3 -3
  4. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +3 -3
  5. package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +1 -1
  6. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -1
  7. package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +10 -10
  8. package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.js +7 -7
  9. package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +8 -8
  10. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +29 -29
  11. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +14 -14
  12. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +2 -2
  13. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorAccessibilityHelp.js +5 -5
  14. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +13 -13
  15. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +20 -20
  16. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +3 -3
  17. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +10 -10
  18. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +3 -3
  19. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +1 -1
  20. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +1 -1
  21. package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +12 -12
  22. package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +2 -2
  23. package/vscode/src/vs/workbench/contrib/scrollLocking/browser/scrollLocking.js +7 -7
  24. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +10 -10
  25. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +3 -3
  26. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +3 -3
  27. package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +1 -1
  28. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +5 -5
  29. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +1 -1
  30. package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +8 -8
  31. package/vscode/src/vs/workbench/services/history/browser/historyService.js +9 -9
  32. package/vscode/src/vs/workbench/services/progress/browser/progressService.js +7 -7
  33. package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +5 -5
  34. package/vscode/src/vs/workbench/services/views/browser/viewsService.js +9 -9
  35. package/vscode/src/vs/workbench/services/views/common/viewContainerModel.d.ts +0 -1
  36. package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +0 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-view-common-service-override",
3
- "version": "29.1.1",
3
+ "version": "30.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - view-common service-override",
6
6
  "keywords": [],
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "29.1.1",
19
- "@codingame/monaco-vscode-bulk-edit-service-override": "29.1.1"
18
+ "@codingame/monaco-vscode-api": "30.0.0",
19
+ "@codingame/monaco-vscode-bulk-edit-service-override": "30.0.0"
20
20
  },
21
21
  "main": "index.js",
22
22
  "module": "index.js",
@@ -24,11 +24,11 @@ import { registerIcon } from '@codingame/monaco-vscode-api/vscode/vs/platform/th
24
24
  import { isCancellationError } from '@codingame/monaco-vscode-api/vscode/vs/base/common/errors';
25
25
 
26
26
  var CallHierarchyController_1;
27
- const _ctxHasCallHierarchyProvider = ( new RawContextKey("editorHasCallHierarchyProvider", false, ( localize(4666, "Whether a call hierarchy provider is available"))));
28
- const _ctxCallHierarchyVisible = ( new RawContextKey("callHierarchyVisible", false, ( localize(4667, "Whether call hierarchy peek is currently showing"))));
27
+ const _ctxHasCallHierarchyProvider = ( new RawContextKey("editorHasCallHierarchyProvider", false, ( localize(4665, "Whether a call hierarchy provider is available"))));
28
+ const _ctxCallHierarchyVisible = ( new RawContextKey("callHierarchyVisible", false, ( localize(4666, "Whether call hierarchy peek is currently showing"))));
29
29
  const _ctxCallHierarchyDirection = ( new RawContextKey("callHierarchyDirection", undefined, {
30
30
  type: "string",
31
- description: ( localize(4668, "Whether call hierarchy shows incoming or outgoing calls"))
31
+ description: ( localize(4667, "Whether call hierarchy shows incoming or outgoing calls"))
32
32
  }));
33
33
  function sanitizedDirection(candidate) {
34
34
  return candidate === CallHierarchyDirection.CallsFrom || candidate === CallHierarchyDirection.CallsTo ? candidate : CallHierarchyDirection.CallsTo;
@@ -149,14 +149,14 @@ let CallHierarchyController = class CallHierarchyController {
149
149
  this._sessionDisposables.add(model);
150
150
  this._widget.showModel(model);
151
151
  } else {
152
- this._widget.showMessage(( localize(4669, "No results")));
152
+ this._widget.showMessage(( localize(4668, "No results")));
153
153
  }
154
154
  }).catch(err => {
155
155
  if (isCancellationError(err)) {
156
156
  this.endCallHierarchy();
157
157
  return;
158
158
  }
159
- this._widget.showMessage(( localize(4670, "Failed to show call hierarchy")));
159
+ this._widget.showMessage(( localize(4669, "Failed to show call hierarchy")));
160
160
  });
161
161
  }
162
162
  showOutgoingCalls() {
@@ -183,7 +183,7 @@ registerAction2(class PeekCallHierarchyAction extends EditorAction2 {
183
183
  constructor() {
184
184
  super({
185
185
  id: "editor.showCallHierarchy",
186
- title: ( localize2(4671, "Peek Call Hierarchy")),
186
+ title: ( localize2(4670, "Peek Call Hierarchy")),
187
187
  menu: {
188
188
  id: MenuId.EditorContextPeek,
189
189
  group: "navigation",
@@ -207,8 +207,8 @@ registerAction2(class extends EditorAction2 {
207
207
  constructor() {
208
208
  super({
209
209
  id: "editor.showIncomingCalls",
210
- title: ( localize2(4672, "Show Incoming Calls")),
211
- icon: registerIcon("callhierarchy-incoming", Codicon.callIncoming, ( localize(4673, "Icon for incoming calls in the call hierarchy view."))),
210
+ title: ( localize2(4671, "Show Incoming Calls")),
211
+ icon: registerIcon("callhierarchy-incoming", Codicon.callIncoming, ( localize(4672, "Icon for incoming calls in the call hierarchy view."))),
212
212
  precondition: ( ContextKeyExpr.and(_ctxCallHierarchyVisible, ( _ctxCallHierarchyDirection.isEqualTo(CallHierarchyDirection.CallsFrom)))),
213
213
  keybinding: {
214
214
  weight: KeybindingWeight.WorkbenchContrib,
@@ -229,8 +229,8 @@ registerAction2(class extends EditorAction2 {
229
229
  constructor() {
230
230
  super({
231
231
  id: "editor.showOutgoingCalls",
232
- title: ( localize2(4674, "Show Outgoing Calls")),
233
- icon: registerIcon("callhierarchy-outgoing", Codicon.callOutgoing, ( localize(4675, "Icon for outgoing calls in the call hierarchy view."))),
232
+ title: ( localize2(4673, "Show Outgoing Calls")),
233
+ icon: registerIcon("callhierarchy-outgoing", Codicon.callOutgoing, ( localize(4674, "Icon for outgoing calls in the call hierarchy view."))),
234
234
  precondition: ( ContextKeyExpr.and(_ctxCallHierarchyVisible, ( _ctxCallHierarchyDirection.isEqualTo(CallHierarchyDirection.CallsTo)))),
235
235
  keybinding: {
236
236
  weight: KeybindingWeight.WorkbenchContrib,
@@ -251,7 +251,7 @@ registerAction2(class extends EditorAction2 {
251
251
  constructor() {
252
252
  super({
253
253
  id: "editor.refocusCallHierarchy",
254
- title: ( localize2(4676, "Refocus Call Hierarchy")),
254
+ title: ( localize2(4675, "Refocus Call Hierarchy")),
255
255
  precondition: _ctxCallHierarchyVisible,
256
256
  keybinding: {
257
257
  weight: KeybindingWeight.WorkbenchContrib,
@@ -267,7 +267,7 @@ registerAction2(class extends EditorAction2 {
267
267
  constructor() {
268
268
  super({
269
269
  id: "editor.closeCallHierarchy",
270
- title: ( localize(4677, "Close")),
270
+ title: ( localize(4676, "Close")),
271
271
  icon: Codicon.close,
272
272
  precondition: _ctxCallHierarchyVisible,
273
273
  keybinding: {
@@ -323,12 +323,12 @@ let CallHierarchyTreePeekWidget = class CallHierarchyTreePeekWidget extends Peek
323
323
  this._previewDisposable.add(toDisposable(() => decorationsCollection.clear()));
324
324
  }
325
325
  this._previewDisposable.add(value);
326
- const title = this._direction === CallHierarchyDirection.CallsFrom ? ( localize(4678, "Calls from '{0}'", element.model.root.name)) : ( localize(4679, "Callers of '{0}'", element.model.root.name));
326
+ const title = this._direction === CallHierarchyDirection.CallsFrom ? ( localize(4677, "Calls from '{0}'", element.model.root.name)) : ( localize(4678, "Callers of '{0}'", element.model.root.name));
327
327
  this.setTitle(title);
328
328
  }
329
329
  showLoading() {
330
330
  this._parent.dataset["state"] = State.Loading;
331
- this.setTitle(( localize(4680, "Loading...")));
331
+ this.setTitle(( localize(4679, "Loading...")));
332
332
  this._show();
333
333
  }
334
334
  showMessage(message) {
@@ -346,7 +346,7 @@ let CallHierarchyTreePeekWidget = class CallHierarchyTreePeekWidget extends Peek
346
346
  const root = this._tree.getNode(model).children[0];
347
347
  await this._tree.expand(root.element);
348
348
  if (root.children.length === 0) {
349
- this.showMessage(this._direction === CallHierarchyDirection.CallsFrom ? ( localize(4681, "No calls from '{0}'", model.root.name)) : ( localize(4682, "No callers of '{0}'", model.root.name)));
349
+ this.showMessage(this._direction === CallHierarchyDirection.CallsFrom ? ( localize(4680, "No calls from '{0}'", model.root.name)) : ( localize(4681, "No callers of '{0}'", model.root.name)));
350
350
  } else {
351
351
  this._parent.dataset["state"] = State.Data;
352
352
  if (!viewState || this._tree.getFocus().length === 0) {
@@ -131,13 +131,13 @@ class AccessibilityProvider {
131
131
  this.getDirection = getDirection;
132
132
  }
133
133
  getWidgetAriaLabel() {
134
- return localize(4683, "Call Hierarchy");
134
+ return localize(4682, "Call Hierarchy");
135
135
  }
136
136
  getAriaLabel(element) {
137
137
  if (this.getDirection() === CallHierarchyDirection.CallsFrom) {
138
- return localize(4684, "calls from {0}", element.item.name);
138
+ return localize(4683, "calls from {0}", element.item.name);
139
139
  } else {
140
- return localize(4685, "callers of {0}", element.item.name);
140
+ return localize(4684, "callers of {0}", element.item.name);
141
141
  }
142
142
  }
143
143
  }
@@ -36,7 +36,7 @@ class ContributedCustomEditors extends Disposable {
36
36
  this.add(( new CustomEditorInfo({
37
37
  id: webviewEditorContribution.viewType,
38
38
  displayName: webviewEditorContribution.displayName,
39
- providerDisplayName: extension.description.isBuiltin ? ( localize(7947, "Built-in")) : extension.description.displayName || extension.description.identifier.value,
39
+ providerDisplayName: extension.description.isBuiltin ? ( localize(8012, "Built-in")) : extension.description.displayName || extension.description.identifier.value,
40
40
  selector: webviewEditorContribution.selector || [],
41
41
  priority: getPriorityFromContribution(webviewEditorContribution, extension.description)
42
42
  })));
@@ -6,7 +6,7 @@ import { globMatchesResource, RegisteredEditorPriority, priorityToRank } from '@
6
6
 
7
7
  const CONTEXT_ACTIVE_CUSTOM_EDITOR_ID = ( new RawContextKey("activeCustomEditorId", "", {
8
8
  type: "string",
9
- description: ( localize(7948, "The viewType of the currently active custom editor."))
9
+ description: ( localize(8013, "The viewType of the currently active custom editor."))
10
10
  }));
11
11
  const CONTEXT_FOCUSED_CUSTOM_EDITOR_IS_EDITABLE = ( new RawContextKey("focusedCustomEditorIsEditable", false));
12
12
  var CustomEditorPriority;
@@ -23,20 +23,20 @@ const customEditorsContributionSchema = {
23
23
  [Fields.viewType]: {
24
24
  type: "string",
25
25
  markdownDescription: ( localize(
26
- 7950,
26
+ 8015,
27
27
  "Identifier for the custom editor. This must be unique across all custom editors, so we recommend including your extension id as part of `viewType`. The `viewType` is used when registering custom editors with `vscode.registerCustomEditorProvider` and in the `onCustomEditor:${id}` [activation event](https://code.visualstudio.com/api/references/activation-events)."
28
28
  ))
29
29
  },
30
30
  [Fields.displayName]: {
31
31
  type: "string",
32
32
  description: ( localize(
33
- 7951,
33
+ 8016,
34
34
  "Human readable name of the custom editor. This is displayed to users when selecting which editor to use."
35
35
  ))
36
36
  },
37
37
  [Fields.selector]: {
38
38
  type: "array",
39
- description: ( localize(7952, "Set of globs that the custom editor is enabled for.")),
39
+ description: ( localize(8017, "Set of globs that the custom editor is enabled for.")),
40
40
  items: {
41
41
  type: "object",
42
42
  defaultSnippets: [{
@@ -48,7 +48,7 @@ const customEditorsContributionSchema = {
48
48
  properties: {
49
49
  filenamePattern: {
50
50
  type: "string",
51
- description: ( localize(7953, "Glob that the custom editor is enabled for."))
51
+ description: ( localize(8018, "Glob that the custom editor is enabled for."))
52
52
  }
53
53
  }
54
54
  }
@@ -56,15 +56,15 @@ const customEditorsContributionSchema = {
56
56
  [Fields.priority]: {
57
57
  type: "string",
58
58
  markdownDeprecationMessage: ( localize(
59
- 7954,
59
+ 8019,
60
60
  "Controls if the custom editor is enabled automatically when the user opens a file. This may be overridden by users using the `workbench.editorAssociations` setting."
61
61
  )),
62
62
  enum: [CustomEditorPriority.default, CustomEditorPriority.option],
63
63
  markdownEnumDescriptions: [( localize(
64
- 7955,
64
+ 8020,
65
65
  "The editor is automatically used when the user opens a resource, provided that no other default custom editors are registered for that resource."
66
66
  )), ( localize(
67
- 7956,
67
+ 8021,
68
68
  "The editor is not automatically used when the user opens a resource, but a user can switch to the editor using the `Reopen With` command."
69
69
  ))],
70
70
  default: CustomEditorPriority.default
@@ -75,7 +75,7 @@ const customEditorsExtensionPoint = ExtensionsRegistry.registerExtensionPoint({
75
75
  extensionPoint: "customEditors",
76
76
  deps: [languagesExtPoint],
77
77
  jsonSchema: {
78
- description: ( localize(7957, "Contributed custom editors.")),
78
+ description: ( localize(8022, "Contributed custom editors.")),
79
79
  type: "array",
80
80
  defaultSnippets: [{
81
81
  body: [{
@@ -116,7 +116,7 @@ class CustomEditorsDataRenderer extends Disposable {
116
116
  dispose: () => {}
117
117
  };
118
118
  }
119
- const headers = [( localize(7958, "View Type")), ( localize(7959, "Priority")), ( localize(7960, "Filename Pattern"))];
119
+ const headers = [( localize(8023, "View Type")), ( localize(8024, "Priority")), ( localize(8025, "Filename Pattern"))];
120
120
  const rows = ( customEditors.map(customEditor => {
121
121
  return [
122
122
  customEditor.viewType,
@@ -135,7 +135,7 @@ class CustomEditorsDataRenderer extends Disposable {
135
135
  }
136
136
  ( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
137
137
  id: "customEditors",
138
- label: ( localize(7961, "Custom Editors")),
138
+ label: ( localize(8026, "Custom Editors")),
139
139
  access: {
140
140
  canToggle: false
141
141
  },
@@ -206,8 +206,8 @@ let LanguageStatus = class LanguageStatus {
206
206
  isOneBusy = isOneBusy || (!isPinned && status.busy);
207
207
  }
208
208
  const props = {
209
- name: ( localize(10079, "Editor Language Status")),
210
- ariaLabel: ( localize(10080, "Editor Language Status: {0}", ariaLabels.join(", next: "))),
209
+ name: ( localize(10144, "Editor Language Status")),
210
+ ariaLabel: ( localize(10145, "Editor Language Status: {0}", ariaLabels.join(", next: "))),
211
211
  tooltip: this._combinedEntryTooltip,
212
212
  command: ShowTooltipCommand,
213
213
  text: isOneBusy ? "$(loading~spin)" : text
@@ -325,7 +325,7 @@ let LanguageStatus = class LanguageStatus {
325
325
  const actionBar = ( new ActionBar(right, {
326
326
  hoverDelegate: nativeHoverDelegate
327
327
  }));
328
- const actionLabel = isPinned ? ( localize(10081, "Remove from Status Bar")) : ( localize(10082, "Add to Status Bar"));
328
+ const actionLabel = isPinned ? ( localize(10146, "Remove from Status Bar")) : ( localize(10147, "Add to Status Bar"));
329
329
  actionBar.setAriaLabel(actionLabel);
330
330
  store.add(actionBar);
331
331
  let action;
@@ -393,11 +393,11 @@ let LanguageStatus = class LanguageStatus {
393
393
  const textValue = typeof status.label === "string" ? status.label : status.label.value;
394
394
  if (status.detail) {
395
395
  return {
396
- label: ( localize(10083, "{0}, {1}", textValue, status.detail))
396
+ label: ( localize(10148, "{0}, {1}", textValue, status.detail))
397
397
  };
398
398
  } else {
399
399
  return {
400
- label: ( localize(10084, "{0}", textValue))
400
+ label: ( localize(10149, "{0}", textValue))
401
401
  };
402
402
  }
403
403
  }
@@ -410,7 +410,7 @@ let LanguageStatus = class LanguageStatus {
410
410
  }
411
411
  const textValue = typeof item.label === "string" ? item.label : item.label.shortValue;
412
412
  return {
413
- name: ( localize(10085, "{0} (Language Status)", item.name)),
413
+ name: ( localize(10150, "{0} (Language Status)", item.name)),
414
414
  text: computeText(textValue, item.busy),
415
415
  ariaLabel: LanguageStatus_1._accessibilityInformation(item).label,
416
416
  role: item.accessibilityInfo?.role,
@@ -428,7 +428,7 @@ class ResetAction extends Action2 {
428
428
  constructor() {
429
429
  super({
430
430
  id: "editor.inlayHints.Reset",
431
- title: ( localize2(10086, "Reset Language Status Interaction Counter")),
431
+ title: ( localize2(10151, "Reset Language Status Interaction Counter")),
432
432
  category: Categories.View,
433
433
  f1: true
434
434
  });
@@ -13,7 +13,7 @@ import { FoldingController } from '@codingame/monaco-vscode-api/vscode/vs/editor
13
13
  import { ColorDetector } from '@codingame/monaco-vscode-api/vscode/vs/editor/contrib/colorPicker/browser/colorDetector';
14
14
 
15
15
  const openSettingsCommand = "workbench.action.openSettings";
16
- const configureSettingsLabel = ( localize(10087, "Configure"));
16
+ const configureSettingsLabel = ( localize(10152, "Configure"));
17
17
  let LimitIndicatorContribution = class LimitIndicatorContribution extends Disposable {
18
18
  constructor(editorService, languageStatusService) {
19
19
  super();
@@ -38,9 +38,9 @@ LimitIndicatorContribution = ( __decorate([( __param(0, IEditorService)), ( __pa
38
38
  class ColorDecorationAccessor {
39
39
  constructor() {
40
40
  this.id = "decoratorsLimitInfo";
41
- this.name = ( localize(10088, "Color Decorator Status"));
42
- this.label = ( localize(10089, "Color decorators"));
43
- this.source = ( localize(10090, "Color Decorators"));
41
+ this.name = ( localize(10153, "Color Decorator Status"));
42
+ this.label = ( localize(10154, "Color decorators"));
43
+ this.source = ( localize(10155, "Color Decorators"));
44
44
  this.settingsId = "editor.colorDecoratorsLimit";
45
45
  }
46
46
  getLimitReporter(editor) {
@@ -50,9 +50,9 @@ class ColorDecorationAccessor {
50
50
  class FoldingRangeAccessor {
51
51
  constructor() {
52
52
  this.id = "foldingLimitInfo";
53
- this.name = ( localize(10091, "Folding Status"));
54
- this.label = ( localize(10092, "Folding ranges"));
55
- this.source = ( localize(10093, "Folding"));
53
+ this.name = ( localize(10156, "Folding Status"));
54
+ this.label = ( localize(10157, "Folding ranges"));
55
+ this.source = ( localize(10158, "Folding"));
56
56
  this.settingsId = "editor.foldingMaximumRegions";
57
57
  }
58
58
  getLimitReporter(editor) {
@@ -94,7 +94,7 @@ class LanguageStatusEntry {
94
94
  name: this.accessor.name,
95
95
  severity: Severity.Warning,
96
96
  label: this.accessor.label,
97
- detail: ( localize(10094, "only {0} shown for performance reasons", info.limited)),
97
+ detail: ( localize(10159, "only {0} shown for performance reasons", info.limited)),
98
98
  command: {
99
99
  id: openSettingsCommand,
100
100
  arguments: [this.accessor.settingsId],
@@ -65,7 +65,7 @@ class OpenMergeEditor extends Action2 {
65
65
  constructor() {
66
66
  super({
67
67
  id: "_open.mergeEditor",
68
- title: ( localize2(10727, "Open Merge Editor"))
68
+ title: ( localize2(10792, "Open Merge Editor"))
69
69
  });
70
70
  }
71
71
  run(accessor, ...args) {
@@ -152,7 +152,7 @@ class SetMixedLayout extends Action2 {
152
152
  constructor() {
153
153
  super({
154
154
  id: "merge.mixedLayout",
155
- title: ( localize2(10728, "Mixed Layout")),
155
+ title: ( localize2(10793, "Mixed Layout")),
156
156
  toggled: ( ctxMergeEditorLayout.isEqualTo("mixed")),
157
157
  menu: [{
158
158
  id: MenuId.EditorTitle,
@@ -176,7 +176,7 @@ class SetColumnLayout extends Action2 {
176
176
  constructor() {
177
177
  super({
178
178
  id: "merge.columnLayout",
179
- title: ( localize2(10729, "Column Layout")),
179
+ title: ( localize2(10794, "Column Layout")),
180
180
  toggled: ( ctxMergeEditorLayout.isEqualTo("columns")),
181
181
  menu: [{
182
182
  id: MenuId.EditorTitle,
@@ -200,7 +200,7 @@ class ShowNonConflictingChanges extends Action2 {
200
200
  constructor() {
201
201
  super({
202
202
  id: "merge.showNonConflictingChanges",
203
- title: ( localize2(10730, "Show Non-Conflicting Changes")),
203
+ title: ( localize2(10795, "Show Non-Conflicting Changes")),
204
204
  toggled: ( ctxMergeEditorShowNonConflictingChanges.isEqualTo(true)),
205
205
  menu: [{
206
206
  id: MenuId.EditorTitle,
@@ -224,7 +224,7 @@ class ShowHideBase extends Action2 {
224
224
  constructor() {
225
225
  super({
226
226
  id: "merge.showBase",
227
- title: ( localize2(10731, "Show Base")),
227
+ title: ( localize2(10796, "Show Base")),
228
228
  toggled: ( ctxMergeEditorShowBase.isEqualTo(true)),
229
229
  menu: [{
230
230
  id: MenuId.EditorTitle,
@@ -247,7 +247,7 @@ class ShowHideTopBase extends Action2 {
247
247
  constructor() {
248
248
  super({
249
249
  id: "merge.showBaseTop",
250
- title: ( localize2(10732, "Show Base Top")),
250
+ title: ( localize2(10797, "Show Base Top")),
251
251
  toggled: ( ContextKeyExpr.and(ctxMergeEditorShowBase, ctxMergeEditorShowBaseAtTop)),
252
252
  menu: [{
253
253
  id: MenuId.EditorTitle,
@@ -270,7 +270,7 @@ class ShowHideCenterBase extends Action2 {
270
270
  constructor() {
271
271
  super({
272
272
  id: "merge.showBaseCenter",
273
- title: ( localize2(10733, "Show Base Center")),
273
+ title: ( localize2(10798, "Show Base Center")),
274
274
  toggled: ( ContextKeyExpr.and(ctxMergeEditorShowBase, ( ctxMergeEditorShowBaseAtTop.negate()))),
275
275
  menu: [{
276
276
  id: MenuId.EditorTitle,
@@ -289,13 +289,13 @@ class ShowHideCenterBase extends Action2 {
289
289
  }
290
290
  }
291
291
  }
292
- const mergeEditorCategory = ( localize2(10734, "Merge Editor"));
292
+ const mergeEditorCategory = ( localize2(10799, "Merge Editor"));
293
293
  class OpenResultResource extends MergeEditorAction {
294
294
  constructor() {
295
295
  super({
296
296
  id: "merge.openResult",
297
297
  icon: Codicon.goToFile,
298
- title: ( localize2(10735, "Open File")),
298
+ title: ( localize2(10800, "Open File")),
299
299
  category: mergeEditorCategory,
300
300
  menu: [{
301
301
  id: MenuId.EditorTitle,
@@ -318,7 +318,7 @@ class GoToNextUnhandledConflict extends MergeEditorAction {
318
318
  super({
319
319
  id: "merge.goToNextUnhandledConflict",
320
320
  category: mergeEditorCategory,
321
- title: ( localize2(10736, "Go to Next Unhandled Conflict")),
321
+ title: ( localize2(10801, "Go to Next Unhandled Conflict")),
322
322
  icon: Codicon.arrowDown,
323
323
  menu: [{
324
324
  id: MenuId.EditorTitle,
@@ -340,7 +340,7 @@ class GoToPreviousUnhandledConflict extends MergeEditorAction {
340
340
  super({
341
341
  id: "merge.goToPreviousUnhandledConflict",
342
342
  category: mergeEditorCategory,
343
- title: ( localize2(10737, "Go to Previous Unhandled Conflict")),
343
+ title: ( localize2(10802, "Go to Previous Unhandled Conflict")),
344
344
  icon: Codicon.arrowUp,
345
345
  menu: [{
346
346
  id: MenuId.EditorTitle,
@@ -362,7 +362,7 @@ class ToggleActiveConflictInput1 extends MergeEditorAction {
362
362
  super({
363
363
  id: "merge.toggleActiveConflictInput1",
364
364
  category: mergeEditorCategory,
365
- title: ( localize2(10738, "Toggle Current Conflict from Left")),
365
+ title: ( localize2(10803, "Toggle Current Conflict from Left")),
366
366
  f1: true,
367
367
  precondition: ctxIsMergeEditor
368
368
  });
@@ -376,7 +376,7 @@ class ToggleActiveConflictInput2 extends MergeEditorAction {
376
376
  super({
377
377
  id: "merge.toggleActiveConflictInput2",
378
378
  category: mergeEditorCategory,
379
- title: ( localize2(10739, "Toggle Current Conflict from Right")),
379
+ title: ( localize2(10804, "Toggle Current Conflict from Right")),
380
380
  f1: true,
381
381
  precondition: ctxIsMergeEditor
382
382
  });
@@ -390,8 +390,8 @@ class CompareInput1WithBaseCommand extends MergeEditorAction {
390
390
  super({
391
391
  id: "mergeEditor.compareInput1WithBase",
392
392
  category: mergeEditorCategory,
393
- title: ( localize2(10740, "Compare Input 1 With Base")),
394
- shortTitle: ( localize(10741, "Compare With Base")),
393
+ title: ( localize2(10805, "Compare Input 1 With Base")),
394
+ shortTitle: ( localize(10806, "Compare With Base")),
395
395
  f1: true,
396
396
  precondition: ctxIsMergeEditor,
397
397
  menu: {
@@ -411,8 +411,8 @@ class CompareInput2WithBaseCommand extends MergeEditorAction {
411
411
  super({
412
412
  id: "mergeEditor.compareInput2WithBase",
413
413
  category: mergeEditorCategory,
414
- title: ( localize2(10742, "Compare Input 2 With Base")),
415
- shortTitle: ( localize(10741, "Compare With Base")),
414
+ title: ( localize2(10807, "Compare Input 2 With Base")),
415
+ shortTitle: ( localize(10806, "Compare With Base")),
416
416
  f1: true,
417
417
  precondition: ctxIsMergeEditor,
418
418
  menu: {
@@ -457,7 +457,7 @@ class OpenBaseFile extends MergeEditorAction {
457
457
  super({
458
458
  id: "merge.openBaseEditor",
459
459
  category: mergeEditorCategory,
460
- title: ( localize2(10743, "Open Base File")),
460
+ title: ( localize2(10808, "Open Base File")),
461
461
  f1: true,
462
462
  precondition: ctxIsMergeEditor
463
463
  });
@@ -472,7 +472,7 @@ class AcceptAllInput1 extends MergeEditorAction {
472
472
  super({
473
473
  id: "merge.acceptAllInput1",
474
474
  category: mergeEditorCategory,
475
- title: ( localize2(10744, "Accept All Incoming Changes from Left")),
475
+ title: ( localize2(10809, "Accept All Incoming Changes from Left")),
476
476
  f1: true,
477
477
  precondition: ctxIsMergeEditor,
478
478
  menu: {
@@ -491,7 +491,7 @@ class AcceptAllInput2 extends MergeEditorAction {
491
491
  super({
492
492
  id: "merge.acceptAllInput2",
493
493
  category: mergeEditorCategory,
494
- title: ( localize2(10745, "Accept All Current Changes from Right")),
494
+ title: ( localize2(10810, "Accept All Current Changes from Right")),
495
495
  f1: true,
496
496
  precondition: ctxIsMergeEditor,
497
497
  menu: {
@@ -510,8 +510,8 @@ class ResetToBaseAndAutoMergeCommand extends MergeEditorAction {
510
510
  super({
511
511
  id: "mergeEditor.resetResultToBaseAndAutoMerge",
512
512
  category: mergeEditorCategory,
513
- title: ( localize2(10746, "Reset Result")),
514
- shortTitle: ( localize(10747, "Reset")),
513
+ title: ( localize2(10811, "Reset Result")),
514
+ shortTitle: ( localize(10812, "Reset")),
515
515
  f1: true,
516
516
  precondition: ctxIsMergeEditor,
517
517
  menu: {
@@ -530,7 +530,7 @@ class ResetCloseWithConflictsChoice extends Action2 {
530
530
  super({
531
531
  id: "mergeEditor.resetCloseWithConflictsChoice",
532
532
  category: mergeEditorCategory,
533
- title: ( localize2(10748, "Reset Choice for 'Close with Conflicts'")),
533
+ title: ( localize2(10813, "Reset Choice for 'Close with Conflicts'")),
534
534
  f1: true
535
535
  });
536
536
  }
@@ -543,7 +543,7 @@ class AcceptAllCombination extends MergeEditorAction2 {
543
543
  super({
544
544
  id: "mergeEditor.acceptAllCombination",
545
545
  category: mergeEditorCategory,
546
- title: ( localize2(10749, "Accept All Combination")),
546
+ title: ( localize2(10814, "Accept All Combination")),
547
547
  f1: true
548
548
  });
549
549
  }
@@ -572,7 +572,7 @@ class AcceptMerge extends MergeEditorAction2 {
572
572
  super({
573
573
  id: "mergeEditor.acceptMerge",
574
574
  category: mergeEditorCategory,
575
- title: ( localize2(10750, "Complete Merge")),
575
+ title: ( localize2(10815, "Complete Merge")),
576
576
  f1: true,
577
577
  precondition: ctxIsMergeEditor,
578
578
  keybinding: [{
@@ -597,12 +597,12 @@ class AcceptMerge extends MergeEditorAction2 {
597
597
  confirmed
598
598
  } = await dialogService.confirm({
599
599
  message: ( localize(
600
- 10751,
600
+ 10816,
601
601
  "Do you want to complete the merge of {0}?",
602
602
  basename(inputModel.resultUri)
603
603
  )),
604
- detail: ( localize(10752, "The file contains unhandled conflicts.")),
605
- primaryButton: ( localize(10753, "&&Complete with Conflicts"))
604
+ detail: ( localize(10817, "The file contains unhandled conflicts.")),
605
+ primaryButton: ( localize(10818, "&&Complete with Conflicts"))
606
606
  });
607
607
  if (!confirmed) {
608
608
  return {
@@ -622,7 +622,7 @@ class ToggleBetweenInputs extends MergeEditorAction2 {
622
622
  super({
623
623
  id: "mergeEditor.toggleBetweenInputs",
624
624
  category: mergeEditorCategory,
625
- title: ( localize2(10754, "Toggle Between Merge Editor Inputs")),
625
+ title: ( localize2(10819, "Toggle Between Merge Editor Inputs")),
626
626
  f1: true,
627
627
  precondition: ctxIsMergeEditor,
628
628
  keybinding: [{
@@ -14,13 +14,13 @@ import { MergeEditor } from '../view/mergeEditor.js';
14
14
  import { ctxIsMergeEditor } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/mergeEditor/common/mergeEditor';
15
15
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
16
16
 
17
- const MERGE_EDITOR_CATEGORY = ( localize2(10755, "Merge Editor (Dev)"));
17
+ const MERGE_EDITOR_CATEGORY = ( localize2(10820, "Merge Editor (Dev)"));
18
18
  class MergeEditorCopyContentsToJSON extends Action2 {
19
19
  constructor() {
20
20
  super({
21
21
  id: "merge.dev.copyContentsJson",
22
22
  category: MERGE_EDITOR_CATEGORY,
23
- title: ( localize2(10756, "Copy Merge Editor State as JSON")),
23
+ title: ( localize2(10821, "Copy Merge Editor State as JSON")),
24
24
  icon: Codicon.layoutCentered,
25
25
  f1: true,
26
26
  precondition: ctxIsMergeEditor
@@ -34,8 +34,8 @@ class MergeEditorCopyContentsToJSON extends Action2 {
34
34
  const notificationService = accessor.get(INotificationService);
35
35
  if (!(activeEditorPane instanceof MergeEditor)) {
36
36
  notificationService.info({
37
- name: ( localize(10757, "Merge Editor")),
38
- message: ( localize(10758, "No active merge editor"))
37
+ name: ( localize(10822, "Merge Editor")),
38
+ message: ( localize(10823, "No active merge editor"))
39
39
  });
40
40
  return;
41
41
  }
@@ -54,8 +54,8 @@ class MergeEditorCopyContentsToJSON extends Action2 {
54
54
  const jsonStr = JSON.stringify(contents, undefined, 4);
55
55
  clipboardService.writeText(jsonStr);
56
56
  notificationService.info({
57
- name: ( localize(10757, "Merge Editor")),
58
- message: ( localize(10759, "Successfully copied merge editor state"))
57
+ name: ( localize(10822, "Merge Editor")),
58
+ message: ( localize(10824, "Successfully copied merge editor state"))
59
59
  });
60
60
  }
61
61
  }
@@ -64,7 +64,7 @@ class MergeEditorSaveContentsToFolder extends Action2 {
64
64
  super({
65
65
  id: "merge.dev.saveContentsToFolder",
66
66
  category: MERGE_EDITOR_CATEGORY,
67
- title: ( localize2(10760, "Save Merge Editor State to Folder")),
67
+ title: ( localize2(10825, "Save Merge Editor State to Folder")),
68
68
  icon: Codicon.layoutCentered,
69
69
  f1: true,
70
70
  precondition: ctxIsMergeEditor
@@ -80,8 +80,8 @@ class MergeEditorSaveContentsToFolder extends Action2 {
80
80
  const languageService = accessor.get(ILanguageService);
81
81
  if (!(activeEditorPane instanceof MergeEditor)) {
82
82
  notificationService.info({
83
- name: ( localize(10757, "Merge Editor")),
84
- message: ( localize(10758, "No active merge editor"))
83
+ name: ( localize(10822, "Merge Editor")),
84
+ message: ( localize(10823, "No active merge editor"))
85
85
  });
86
86
  return;
87
87
  }
@@ -93,7 +93,7 @@ class MergeEditorSaveContentsToFolder extends Action2 {
93
93
  canSelectFiles: false,
94
94
  canSelectFolders: true,
95
95
  canSelectMany: false,
96
- title: ( localize(10761, "Select folder to save to"))
96
+ title: ( localize(10826, "Select folder to save to"))
97
97
  });
98
98
  if (!result) {
99
99
  return;
@@ -115,8 +115,8 @@ class MergeEditorSaveContentsToFolder extends Action2 {
115
115
  write("initialResult", model.getInitialResultValue())
116
116
  ]);
117
117
  notificationService.info({
118
- name: ( localize(10757, "Merge Editor")),
119
- message: ( localize(10762, "Successfully saved merge editor state to folder"))
118
+ name: ( localize(10822, "Merge Editor")),
119
+ message: ( localize(10827, "Successfully saved merge editor state to folder"))
120
120
  });
121
121
  }
122
122
  }
@@ -125,7 +125,7 @@ class MergeEditorLoadContentsFromFolder extends Action2 {
125
125
  super({
126
126
  id: "merge.dev.loadContentsFromFolder",
127
127
  category: MERGE_EDITOR_CATEGORY,
128
- title: ( localize2(10763, "Load Merge Editor State from Folder")),
128
+ title: ( localize2(10828, "Load Merge Editor State from Folder")),
129
129
  icon: Codicon.layoutCentered,
130
130
  f1: true
131
131
  });
@@ -144,7 +144,7 @@ class MergeEditorLoadContentsFromFolder extends Action2 {
144
144
  canSelectFiles: false,
145
145
  canSelectFolders: true,
146
146
  canSelectMany: false,
147
- title: ( localize(10761, "Select folder to save to"))
147
+ title: ( localize(10826, "Select folder to save to"))
148
148
  });
149
149
  if (!result) {
150
150
  return;