@codingame/monaco-vscode-view-common-service-override 11.0.2 → 11.1.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.
@@ -20,12 +20,12 @@ import { registerIcon } from 'vscode/vscode/vs/platform/theme/common/iconRegistr
20
20
  import { isCancellationError } from 'vscode/vscode/vs/base/common/errors';
21
21
 
22
22
  var CallHierarchyController_1;
23
- const _ctxHasCallHierarchyProvider = ( (new RawContextKey('editorHasCallHierarchyProvider', false, ( localize(4226, 'Whether a call hierarchy provider is available')))));
24
- const _ctxCallHierarchyVisible = ( (new RawContextKey('callHierarchyVisible', false, ( localize(4227, 'Whether call hierarchy peek is currently showing')))));
23
+ const _ctxHasCallHierarchyProvider = ( (new RawContextKey('editorHasCallHierarchyProvider', false, ( localize(4239, 'Whether a call hierarchy provider is available')))));
24
+ const _ctxCallHierarchyVisible = ( (new RawContextKey('callHierarchyVisible', false, ( localize(4240, 'Whether call hierarchy peek is currently showing')))));
25
25
  const _ctxCallHierarchyDirection = ( (new RawContextKey(
26
26
  'callHierarchyDirection',
27
27
  undefined,
28
- { type: 'string', description: ( localize(4228, 'Whether call hierarchy shows incoming or outgoing calls')) }
28
+ { type: 'string', description: ( localize(4241, 'Whether call hierarchy shows incoming or outgoing calls')) }
29
29
  )));
30
30
  function sanitizedDirection(candidate) {
31
31
  return candidate === "outgoingCalls" || candidate === "incomingCalls"
@@ -113,14 +113,14 @@ let CallHierarchyController = class CallHierarchyController {
113
113
  this._widget.showModel(model);
114
114
  }
115
115
  else {
116
- this._widget.showMessage(( localize(4229, "No results")));
116
+ this._widget.showMessage(( localize(4242, "No results")));
117
117
  }
118
118
  }).catch(err => {
119
119
  if (isCancellationError(err)) {
120
120
  this.endCallHierarchy();
121
121
  return;
122
122
  }
123
- this._widget.showMessage(( localize(4230, "Failed to show call hierarchy")));
123
+ this._widget.showMessage(( localize(4243, "Failed to show call hierarchy")));
124
124
  });
125
125
  }
126
126
  showOutgoingCalls() {
@@ -148,7 +148,7 @@ registerAction2(class PeekCallHierarchyAction extends EditorAction2 {
148
148
  constructor() {
149
149
  super({
150
150
  id: 'editor.showCallHierarchy',
151
- title: ( localize2(4231, 'Peek Call Hierarchy')),
151
+ title: ( localize2(4244, 'Peek Call Hierarchy')),
152
152
  menu: {
153
153
  id: MenuId.EditorContextPeek,
154
154
  group: 'navigation',
@@ -176,8 +176,8 @@ registerAction2(class extends EditorAction2 {
176
176
  constructor() {
177
177
  super({
178
178
  id: 'editor.showIncomingCalls',
179
- title: ( localize2(4232, 'Show Incoming Calls')),
180
- icon: registerIcon('callhierarchy-incoming', Codicon.callIncoming, ( localize(4233, 'Icon for incoming calls in the call hierarchy view.'))),
179
+ title: ( localize2(4245, 'Show Incoming Calls')),
180
+ icon: registerIcon('callhierarchy-incoming', Codicon.callIncoming, ( localize(4246, 'Icon for incoming calls in the call hierarchy view.'))),
181
181
  precondition: ( (ContextKeyExpr.and(
182
182
  _ctxCallHierarchyVisible,
183
183
  (_ctxCallHierarchyDirection.isEqualTo("outgoingCalls" ))
@@ -201,8 +201,8 @@ registerAction2(class extends EditorAction2 {
201
201
  constructor() {
202
202
  super({
203
203
  id: 'editor.showOutgoingCalls',
204
- title: ( localize2(4234, 'Show Outgoing Calls')),
205
- icon: registerIcon('callhierarchy-outgoing', Codicon.callOutgoing, ( localize(4235, 'Icon for outgoing calls in the call hierarchy view.'))),
204
+ title: ( localize2(4247, 'Show Outgoing Calls')),
205
+ icon: registerIcon('callhierarchy-outgoing', Codicon.callOutgoing, ( localize(4248, 'Icon for outgoing calls in the call hierarchy view.'))),
206
206
  precondition: ( (ContextKeyExpr.and(
207
207
  _ctxCallHierarchyVisible,
208
208
  (_ctxCallHierarchyDirection.isEqualTo("incomingCalls" ))
@@ -226,7 +226,7 @@ registerAction2(class extends EditorAction2 {
226
226
  constructor() {
227
227
  super({
228
228
  id: 'editor.refocusCallHierarchy',
229
- title: ( localize2(4236, 'Refocus Call Hierarchy')),
229
+ title: ( localize2(4249, 'Refocus Call Hierarchy')),
230
230
  precondition: _ctxCallHierarchyVisible,
231
231
  keybinding: {
232
232
  weight: 200 ,
@@ -242,7 +242,7 @@ registerAction2(class extends EditorAction2 {
242
242
  constructor() {
243
243
  super({
244
244
  id: 'editor.closeCallHierarchy',
245
- title: ( localize(4237, 'Close')),
245
+ title: ( localize(4250, 'Close')),
246
246
  icon: Codicon.close,
247
247
  precondition: _ctxCallHierarchyVisible,
248
248
  keybinding: {
@@ -181,8 +181,8 @@ let LanguageStatus = class LanguageStatus {
181
181
  isOneBusy = isOneBusy || (!isPinned && status.busy);
182
182
  }
183
183
  const props = {
184
- name: ( localize(4430, "Editor Language Status")),
185
- ariaLabel: ( localize(4431, "Editor Language Status: {0}", ariaLabels.join(', next: '))),
184
+ name: ( localize(4443, "Editor Language Status")),
185
+ ariaLabel: ( localize(4444, "Editor Language Status: {0}", ariaLabels.join(', next: '))),
186
186
  tooltip: element,
187
187
  command: ShowTooltipCommand,
188
188
  text: computeText(text, isOneBusy),
@@ -279,7 +279,7 @@ let LanguageStatus = class LanguageStatus {
279
279
  }, { hoverDelegate: nativeHoverDelegate }, this._hoverService, this._openerService))));
280
280
  }
281
281
  const actionBar = ( (new ActionBar(right, { hoverDelegate: nativeHoverDelegate })));
282
- const actionLabel = isPinned ? ( localize(4432, "Remove from Status Bar")) : ( localize(4433, "Add to Status Bar"));
282
+ const actionLabel = isPinned ? ( localize(4445, "Remove from Status Bar")) : ( localize(4446, "Add to Status Bar"));
283
283
  actionBar.setAriaLabel(actionLabel);
284
284
  store.add(actionBar);
285
285
  let action;
@@ -334,10 +334,10 @@ let LanguageStatus = class LanguageStatus {
334
334
  }
335
335
  const textValue = typeof status.label === 'string' ? status.label : status.label.value;
336
336
  if (status.detail) {
337
- return { label: ( localize(4434, '{0}, {1}', textValue, status.detail)) };
337
+ return { label: ( localize(4447, '{0}, {1}', textValue, status.detail)) };
338
338
  }
339
339
  else {
340
- return { label: ( localize(4435, '{0}', textValue)) };
340
+ return { label: ( localize(4448, '{0}', textValue)) };
341
341
  }
342
342
  }
343
343
  static _asStatusbarEntry(item) {
@@ -350,7 +350,7 @@ let LanguageStatus = class LanguageStatus {
350
350
  }
351
351
  const textValue = typeof item.label === 'string' ? item.label : item.label.shortValue;
352
352
  return {
353
- name: ( localize(4436, '{0} (Language Status)', item.name)),
353
+ name: ( localize(4449, '{0} (Language Status)', item.name)),
354
354
  text: computeText(textValue, item.busy),
355
355
  ariaLabel: LanguageStatus_1._accessibilityInformation(item).label,
356
356
  role: item.accessibilityInfo?.role,
@@ -373,7 +373,7 @@ registerAction2(class extends Action2 {
373
373
  constructor() {
374
374
  super({
375
375
  id: 'editor.inlayHints.Reset',
376
- title: ( localize2(4437, "Reset Language Status Interaction Counter")),
376
+ title: ( localize2(4450, "Reset Language Status Interaction Counter")),
377
377
  category: Categories.View,
378
378
  f1: true
379
379
  });
@@ -11,7 +11,7 @@ import { FoldingController } from 'vscode/vscode/vs/editor/contrib/folding/brows
11
11
  import { ColorDetector } from 'vscode/vscode/vs/editor/contrib/colorPicker/browser/colorDetector';
12
12
 
13
13
  const openSettingsCommand = 'workbench.action.openSettings';
14
- const configureSettingsLabel = ( localize(4444, "Configure"));
14
+ const configureSettingsLabel = ( localize(4457, "Configure"));
15
15
  let LimitIndicatorContribution = class LimitIndicatorContribution extends Disposable {
16
16
  constructor(editorService, languageStatusService) {
17
17
  super();
@@ -41,9 +41,9 @@ LimitIndicatorContribution = ( (__decorate([
41
41
  class ColorDecorationAccessor {
42
42
  constructor() {
43
43
  this.id = 'decoratorsLimitInfo';
44
- this.name = ( localize(4445, 'Color Decorator Status'));
45
- this.label = ( localize(4446, 'Color Decorators'));
46
- this.source = ( localize(4447, 'Color Decorators'));
44
+ this.name = ( localize(4458, 'Color Decorator Status'));
45
+ this.label = ( localize(4459, 'Color Decorators'));
46
+ this.source = ( localize(4460, 'Color Decorators'));
47
47
  this.settingsId = 'editor.colorDecoratorsLimit';
48
48
  }
49
49
  getLimitReporter(editor) {
@@ -53,9 +53,9 @@ class ColorDecorationAccessor {
53
53
  class FoldingRangeAccessor {
54
54
  constructor() {
55
55
  this.id = 'foldingLimitInfo';
56
- this.name = ( localize(4448, 'Folding Status'));
57
- this.label = ( localize(4449, 'Folding Ranges'));
58
- this.source = ( localize(4450, 'Folding'));
56
+ this.name = ( localize(4461, 'Folding Status'));
57
+ this.label = ( localize(4462, 'Folding Ranges'));
58
+ this.source = ( localize(4463, 'Folding'));
59
59
  this.settingsId = 'editor.foldingMaximumRegions';
60
60
  }
61
61
  getLimitReporter(editor) {
@@ -97,7 +97,7 @@ class LanguageStatusEntry {
97
97
  name: this.accessor.name,
98
98
  severity: Severity$1.Warning,
99
99
  label: this.accessor.label,
100
- detail: ( localize(4451, 'only {0} shown for performance reasons', info.limited)),
100
+ detail: ( localize(4464, 'only {0} shown for performance reasons', info.limited)),
101
101
  command: { id: openSettingsCommand, arguments: [this.accessor.settingsId], title: configureSettingsLabel },
102
102
  accessibilityInfo: undefined,
103
103
  source: this.accessor.source,
@@ -12,7 +12,7 @@ import { MergeEditorInput } from 'vscode/vscode/vs/workbench/contrib/mergeEditor
12
12
  import { MergeEditor, MergeEditorOpenHandlerContribution, MergeEditorResolverContribution } from './view/mergeEditor.js';
13
13
  import { MergeEditorSerializer } from './mergeEditorSerializer.js';
14
14
 
15
- ( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(MergeEditor, MergeEditor.ID, ( localize(4438, "Merge Editor"))), [
15
+ ( (Registry.as(EditorExtensions.EditorPane))).registerEditorPane(EditorPaneDescriptor.create(MergeEditor, MergeEditor.ID, ( localize(4451, "Merge Editor"))), [
16
16
  ( (new SyncDescriptor(MergeEditorInput)))
17
17
  ]);
18
18
  ( (Registry.as(EditorExtensions.EditorFactory))).registerEditorSerializer(MergeEditorInput.ID, MergeEditorSerializer);
@@ -23,8 +23,8 @@ import { MergeEditorSerializer } from './mergeEditorSerializer.js';
23
23
  enum: ['legacy', 'advanced'],
24
24
  default: 'advanced',
25
25
  markdownEnumDescriptions: [
26
- ( localize(4439, "Uses the legacy diffing algorithm.")),
27
- ( localize(4440, "Uses the advanced diffing algorithm.")),
26
+ ( localize(4452, "Uses the legacy diffing algorithm.")),
27
+ ( localize(4453, "Uses the advanced diffing algorithm.")),
28
28
  ]
29
29
  },
30
30
  'mergeEditor.showDeletionMarkers': {
@@ -22,11 +22,11 @@ let KeyboardLayoutPickerContribution = class KeyboardLayoutPickerContribution ex
22
22
  this.keyboardLayoutService = keyboardLayoutService;
23
23
  this.statusbarService = statusbarService;
24
24
  this.pickerElement = this._register(( (new MutableDisposable())));
25
- const name = ( localize(4454, "Keyboard Layout"));
25
+ const name = ( localize(4467, "Keyboard Layout"));
26
26
  const layout = this.keyboardLayoutService.getCurrentKeyboardLayout();
27
27
  if (layout) {
28
28
  const layoutInfo = parseKeyboardLayoutDescription(layout);
29
- const text = ( localize(4455, "Layout: {0}", layoutInfo.label));
29
+ const text = ( localize(4468, "Layout: {0}", layoutInfo.label));
30
30
  this.pickerElement.value = this.statusbarService.addEntry({
31
31
  name,
32
32
  text,
@@ -38,7 +38,7 @@ let KeyboardLayoutPickerContribution = class KeyboardLayoutPickerContribution ex
38
38
  const layout = this.keyboardLayoutService.getCurrentKeyboardLayout();
39
39
  const layoutInfo = parseKeyboardLayoutDescription(layout);
40
40
  if (this.pickerElement.value) {
41
- const text = ( localize(4455, "Layout: {0}", layoutInfo.label));
41
+ const text = ( localize(4468, "Layout: {0}", layoutInfo.label));
42
42
  this.pickerElement.value.update({
43
43
  name,
44
44
  text,
@@ -47,7 +47,7 @@ let KeyboardLayoutPickerContribution = class KeyboardLayoutPickerContribution ex
47
47
  });
48
48
  }
49
49
  else {
50
- const text = ( localize(4455, "Layout: {0}", layoutInfo.label));
50
+ const text = ( localize(4468, "Layout: {0}", layoutInfo.label));
51
51
  this.pickerElement.value = this.statusbarService.addEntry({
52
52
  name,
53
53
  text,
@@ -65,11 +65,11 @@ KeyboardLayoutPickerContribution = ( (__decorate([
65
65
  registerWorkbenchContribution2(KeyboardLayoutPickerContribution.ID, KeyboardLayoutPickerContribution, 1 );
66
66
  const DEFAULT_CONTENT = [
67
67
  `// ${( localize(
68
- 4456,
68
+ 4469,
69
69
  'Defines the keyboard layout used in VS Code in the browser environment.'
70
70
  ))}`,
71
71
  `// ${( localize(
72
- 4457,
72
+ 4470,
73
73
  'Open VS Code and run "Developer: Inspect Key Mappings (JSON)" from Command Palette.'
74
74
  ))}`,
75
75
  ``,
@@ -80,7 +80,7 @@ registerAction2(class extends Action2 {
80
80
  constructor() {
81
81
  super({
82
82
  id: KEYBOARD_LAYOUT_OPEN_PICKER,
83
- title: ( localize2(4458, "Change Keyboard Layout")),
83
+ title: ( localize2(4471, "Change Keyboard Layout")),
84
84
  f1: true
85
85
  });
86
86
  }
@@ -110,17 +110,17 @@ registerAction2(class extends Action2 {
110
110
  });
111
111
  if (picks.length > 0) {
112
112
  const platform = isMacintosh ? 'Mac' : isWindows ? 'Win' : 'Linux';
113
- picks.unshift({ type: 'separator', label: ( localize(4459, "Keyboard Layouts ({0})", platform)) });
113
+ picks.unshift({ type: 'separator', label: ( localize(4472, "Keyboard Layouts ({0})", platform)) });
114
114
  }
115
- const configureKeyboardLayout = { label: ( localize(4460, "Configure Keyboard Layout")) };
115
+ const configureKeyboardLayout = { label: ( localize(4473, "Configure Keyboard Layout")) };
116
116
  picks.unshift(configureKeyboardLayout);
117
117
  const autoDetectMode = {
118
- label: ( localize(4461, "Auto Detect")),
118
+ label: ( localize(4474, "Auto Detect")),
119
119
  description: isAutoDetect ? `Current: ${parseKeyboardLayoutDescription(currentLayout).label}` : undefined,
120
120
  picked: isAutoDetect ? true : undefined
121
121
  };
122
122
  picks.unshift(autoDetectMode);
123
- const pick = await quickInputService.pick(picks, { placeHolder: ( localize(4462, "Select Keyboard Layout")), matchOnDescription: true });
123
+ const pick = await quickInputService.pick(picks, { placeHolder: ( localize(4475, "Select Keyboard Layout")), matchOnDescription: true });
124
124
  if (!pick) {
125
125
  return;
126
126
  }
@@ -143,7 +143,7 @@ registerAction2(class extends Action2 {
143
143
  });
144
144
  }, (error) => {
145
145
  throw ( (new Error(
146
- localize(4463, "Unable to create '{0}' ({1}).", ( (file.toString())), error)
146
+ localize(4476, "Unable to create '{0}' ({1}).", ( (file.toString())), error)
147
147
  )));
148
148
  });
149
149
  return Promise.resolve();
@@ -18,7 +18,7 @@ import { isIOS } from 'vscode/vscode/vs/base/common/platform';
18
18
  minimum: 1,
19
19
  maximum: 20,
20
20
  description: ( localize(
21
- 4452,
21
+ 4465,
22
22
  "Controls the feedback area size in pixels of the dragging area in between views/editors. Set it to a larger value if you feel it's hard to resize views using the mouse."
23
23
  ))
24
24
  },
@@ -28,7 +28,7 @@ import { isIOS } from 'vscode/vscode/vs/base/common/platform';
28
28
  minimum: 0,
29
29
  maximum: 2000,
30
30
  description: ( localize(
31
- 4453,
31
+ 4466,
32
32
  "Controls the hover feedback delay in milliseconds of the dragging area in between views/editors."
33
33
  ))
34
34
  },
@@ -18,12 +18,12 @@ import { TypeHierarchyTreePeekWidget } from './typeHierarchyPeek.js';
18
18
  import { TypeHierarchyProviderRegistry, TypeHierarchyModel } from 'vscode/vscode/vs/workbench/contrib/typeHierarchy/common/typeHierarchy';
19
19
 
20
20
  var TypeHierarchyController_1;
21
- const _ctxHasTypeHierarchyProvider = ( (new RawContextKey('editorHasTypeHierarchyProvider', false, ( localize(4238, 'Whether a type hierarchy provider is available')))));
22
- const _ctxTypeHierarchyVisible = ( (new RawContextKey('typeHierarchyVisible', false, ( localize(4239, 'Whether type hierarchy peek is currently showing')))));
21
+ const _ctxHasTypeHierarchyProvider = ( (new RawContextKey('editorHasTypeHierarchyProvider', false, ( localize(4251, 'Whether a type hierarchy provider is available')))));
22
+ const _ctxTypeHierarchyVisible = ( (new RawContextKey('typeHierarchyVisible', false, ( localize(4252, 'Whether type hierarchy peek is currently showing')))));
23
23
  const _ctxTypeHierarchyDirection = ( (new RawContextKey(
24
24
  'typeHierarchyDirection',
25
25
  undefined,
26
- { type: 'string', description: ( localize(4240, 'whether type hierarchy shows super types or subtypes')) }
26
+ { type: 'string', description: ( localize(4253, 'whether type hierarchy shows super types or subtypes')) }
27
27
  )));
28
28
  function sanitizedDirection(candidate) {
29
29
  return candidate === "subtypes" || candidate === "supertypes"
@@ -92,14 +92,14 @@ let TypeHierarchyController = class TypeHierarchyController {
92
92
  this._widget.showModel(model);
93
93
  }
94
94
  else {
95
- this._widget.showMessage(( localize(4241, "No results")));
95
+ this._widget.showMessage(( localize(4254, "No results")));
96
96
  }
97
97
  }).catch(err => {
98
98
  if (isCancellationError(err)) {
99
99
  this.endTypeHierarchy();
100
100
  return;
101
101
  }
102
- this._widget.showMessage(( localize(4242, "Failed to show type hierarchy")));
102
+ this._widget.showMessage(( localize(4255, "Failed to show type hierarchy")));
103
103
  });
104
104
  }
105
105
  async startTypeHierarchyFromTypeHierarchy() {
@@ -144,7 +144,7 @@ registerAction2(class PeekTypeHierarchyAction extends EditorAction2 {
144
144
  constructor() {
145
145
  super({
146
146
  id: 'editor.showTypeHierarchy',
147
- title: ( localize2(4243, 'Peek Type Hierarchy')),
147
+ title: ( localize2(4256, 'Peek Type Hierarchy')),
148
148
  menu: {
149
149
  id: MenuId.EditorContextPeek,
150
150
  group: 'navigation',
@@ -163,7 +163,7 @@ registerAction2(class extends EditorAction2 {
163
163
  constructor() {
164
164
  super({
165
165
  id: 'editor.showSupertypes',
166
- title: ( localize2(4244, 'Show Supertypes')),
166
+ title: ( localize2(4257, 'Show Supertypes')),
167
167
  icon: Codicon.typeHierarchySuper,
168
168
  precondition: ( (ContextKeyExpr.and(
169
169
  _ctxTypeHierarchyVisible,
@@ -188,7 +188,7 @@ registerAction2(class extends EditorAction2 {
188
188
  constructor() {
189
189
  super({
190
190
  id: 'editor.showSubtypes',
191
- title: ( localize2(4245, 'Show Subtypes')),
191
+ title: ( localize2(4258, 'Show Subtypes')),
192
192
  icon: Codicon.typeHierarchySub,
193
193
  precondition: ( (ContextKeyExpr.and(
194
194
  _ctxTypeHierarchyVisible,
@@ -213,7 +213,7 @@ registerAction2(class extends EditorAction2 {
213
213
  constructor() {
214
214
  super({
215
215
  id: 'editor.refocusTypeHierarchy',
216
- title: ( localize2(4246, 'Refocus Type Hierarchy')),
216
+ title: ( localize2(4259, 'Refocus Type Hierarchy')),
217
217
  precondition: _ctxTypeHierarchyVisible,
218
218
  keybinding: {
219
219
  weight: 200 ,
@@ -229,7 +229,7 @@ registerAction2(class extends EditorAction2 {
229
229
  constructor() {
230
230
  super({
231
231
  id: 'editor.closeTypeHierarchy',
232
- title: ( localize(4247, 'Close')),
232
+ title: ( localize(4260, 'Close')),
233
233
  icon: Codicon.close,
234
234
  precondition: _ctxTypeHierarchyVisible,
235
235
  keybinding: {
@@ -16,7 +16,7 @@ import 'vscode/vscode/vs/workbench/contrib/webviewPanel/browser/webviewWorkbench
16
16
  import 'vscode/vscode/vs/platform/instantiation/common/instantiation';
17
17
  import { IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService.service';
18
18
 
19
- (( (Registry.as(EditorExtensions.EditorPane)))).registerEditorPane(EditorPaneDescriptor.create(WebviewEditor, WebviewEditor.ID, ( localize(4429, "webview editor"))), [( (new SyncDescriptor(WebviewInput)))]);
19
+ (( (Registry.as(EditorExtensions.EditorPane)))).registerEditorPane(EditorPaneDescriptor.create(WebviewEditor, WebviewEditor.ID, ( localize(4442, "webview editor"))), [( (new SyncDescriptor(WebviewInput)))]);
20
20
  let WebviewPanelContribution = class WebviewPanelContribution extends Disposable {
21
21
  static { this.ID = 'workbench.contrib.webviewPanel'; }
22
22
  constructor(editorService, editorGroupService) {
@@ -448,8 +448,8 @@ let EditorResolverService = class EditorResolverService extends Disposable {
448
448
  if (storedChoices[globForResource] && storedChoices[globForResource].find(editorID => editorID === currentEditor.editorId)) {
449
449
  return;
450
450
  }
451
- const handle = this.notificationService.prompt(Severity$1.Warning, ( localize(4151, 'There are multiple default editors available for the resource.')), [{
452
- label: ( localize(4152, 'Configure Default')),
451
+ const handle = this.notificationService.prompt(Severity$1.Warning, ( localize(4164, 'There are multiple default editors available for the resource.')), [{
452
+ label: ( localize(4165, 'Configure Default')),
453
453
  run: async () => {
454
454
  const picked = await this.doPickEditor(untypedInput, true);
455
455
  if (!picked) {
@@ -470,7 +470,7 @@ let EditorResolverService = class EditorResolverService extends Disposable {
470
470
  }
471
471
  },
472
472
  {
473
- label: ( localize(4153, 'Keep {0}', editorName)),
473
+ label: ( localize(4166, 'Keep {0}', editorName)),
474
474
  run: writeCurrentEditorsToStorage
475
475
  }
476
476
  ]);
@@ -496,9 +496,9 @@ let EditorResolverService = class EditorResolverService extends Disposable {
496
496
  }
497
497
  });
498
498
  const quickPickEntries = [];
499
- const currentlyActiveLabel = ( localize(4154, "Active"));
500
- const currentDefaultLabel = ( localize(4155, "Default"));
501
- const currentDefaultAndActiveLabel = ( localize(4156, "Active and Default"));
499
+ const currentlyActiveLabel = ( localize(4167, "Active"));
500
+ const currentDefaultLabel = ( localize(4168, "Default"));
501
+ const currentDefaultAndActiveLabel = ( localize(4169, "Active and Default"));
502
502
  let defaultViewType = defaultSetting;
503
503
  if (!defaultViewType && registeredEditors.length > 2 && registeredEditors[1]?.editorInfo.priority !== RegisteredEditorPriority.option) {
504
504
  defaultViewType = registeredEditors[1]?.editorInfo.id;
@@ -523,7 +523,7 @@ let EditorResolverService = class EditorResolverService extends Disposable {
523
523
  quickPickEntries.push(separator);
524
524
  const configureDefaultEntry = {
525
525
  id: EditorResolverService_1.configureDefaultID,
526
- label: ( localize(4157, "Configure default editor for '{0}'...", `*${extname(resource)}`)),
526
+ label: ( localize(4170, "Configure default editor for '{0}'...", `*${extname(resource)}`)),
527
527
  };
528
528
  quickPickEntries.push(configureDefaultEntry);
529
529
  }
@@ -538,8 +538,8 @@ let EditorResolverService = class EditorResolverService extends Disposable {
538
538
  const disposables = ( (new DisposableStore()));
539
539
  const editorPicker = disposables.add(this.quickInputService.createQuickPick({ useSeparators: true }));
540
540
  const placeHolderMessage = showDefaultPicker ?
541
- ( localize(4158, "Select new default editor for '{0}'", `*${extname(resource)}`)) :
542
- ( localize(4159, "Select editor for '{0}'", basename(resource)));
541
+ ( localize(4171, "Select new default editor for '{0}'", `*${extname(resource)}`)) :
542
+ ( localize(4172, "Select editor for '{0}'", basename(resource)));
543
543
  editorPicker.placeholder = placeHolderMessage;
544
544
  editorPicker.canAcceptInBackground = true;
545
545
  editorPicker.items = editorPicks;
@@ -52,33 +52,33 @@ let HistoryService = class HistoryService extends Disposable {
52
52
  this.activeEditorListeners = this._register(( (new DisposableStore())));
53
53
  this.lastActiveEditor = undefined;
54
54
  this.editorHelper = this.instantiationService.createInstance(EditorHelper);
55
- this.canNavigateBackContextKey = (( (new RawContextKey('canNavigateBack', false, ( localize(4201, "Whether it is possible to navigate back in editor history")))))).bindTo(this.contextKeyService);
56
- this.canNavigateForwardContextKey = (( (new RawContextKey('canNavigateForward', false, ( localize(4202, "Whether it is possible to navigate forward in editor history")))))).bindTo(this.contextKeyService);
55
+ this.canNavigateBackContextKey = (( (new RawContextKey('canNavigateBack', false, ( localize(4214, "Whether it is possible to navigate back in editor history")))))).bindTo(this.contextKeyService);
56
+ this.canNavigateForwardContextKey = (( (new RawContextKey('canNavigateForward', false, ( localize(4215, "Whether it is possible to navigate forward in editor history")))))).bindTo(this.contextKeyService);
57
57
  this.canNavigateBackInNavigationsContextKey = (( (new RawContextKey('canNavigateBackInNavigationLocations', false, ( localize(
58
- 4203,
58
+ 4216,
59
59
  "Whether it is possible to navigate back in editor navigation locations history"
60
60
  )))))).bindTo(this.contextKeyService);
61
61
  this.canNavigateForwardInNavigationsContextKey = (( (new RawContextKey('canNavigateForwardInNavigationLocations', false, ( localize(
62
- 4204,
62
+ 4217,
63
63
  "Whether it is possible to navigate forward in editor navigation locations history"
64
64
  )))))).bindTo(this.contextKeyService);
65
65
  this.canNavigateToLastNavigationLocationContextKey = (( (new RawContextKey('canNavigateToLastNavigationLocation', false, ( localize(
66
- 4205,
66
+ 4218,
67
67
  "Whether it is possible to navigate to the last editor navigation location"
68
68
  )))))).bindTo(this.contextKeyService);
69
69
  this.canNavigateBackInEditsContextKey = (( (new RawContextKey('canNavigateBackInEditLocations', false, ( localize(
70
- 4206,
70
+ 4219,
71
71
  "Whether it is possible to navigate back in editor edit locations history"
72
72
  )))))).bindTo(this.contextKeyService);
73
73
  this.canNavigateForwardInEditsContextKey = (( (new RawContextKey('canNavigateForwardInEditLocations', false, ( localize(
74
- 4207,
74
+ 4220,
75
75
  "Whether it is possible to navigate forward in editor edit locations history"
76
76
  )))))).bindTo(this.contextKeyService);
77
77
  this.canNavigateToLastEditLocationContextKey = (( (new RawContextKey('canNavigateToLastEditLocation', false, ( localize(
78
- 4208,
78
+ 4221,
79
79
  "Whether it is possible to navigate to the last editor edit location"
80
80
  )))))).bindTo(this.contextKeyService);
81
- this.canReopenClosedEditorContextKey = (( (new RawContextKey('canReopenClosedEditor', false, ( localize(4209, "Whether it is possible to reopen the last closed editor")))))).bindTo(this.contextKeyService);
81
+ this.canReopenClosedEditorContextKey = (( (new RawContextKey('canReopenClosedEditor', false, ( localize(4222, "Whether it is possible to reopen the last closed editor")))))).bindTo(this.contextKeyService);
82
82
  this._onDidChangeEditorNavigationStack = this._register(( (new Emitter())));
83
83
  this.onDidChangeEditorNavigationStack = this._onDidChangeEditorNavigationStack.event;
84
84
  this.defaultScopedEditorNavigationStack = undefined;
@@ -127,23 +127,23 @@ let ProgressService = class ProgressService extends Disposable {
127
127
  let title;
128
128
  const source = options.source && typeof options.source !== 'string' ? options.source.label : options.source;
129
129
  if (progressTitle && progressMessage) {
130
- text = ( localize(4210, "{0}: {1}", progressTitle, progressMessage));
131
- title = source ? ( localize(4211, "[{0}] {1}: {2}", source, progressTitle, progressMessage)) : text;
130
+ text = ( localize(4223, "{0}: {1}", progressTitle, progressMessage));
131
+ title = source ? ( localize(4224, "[{0}] {1}: {2}", source, progressTitle, progressMessage)) : text;
132
132
  }
133
133
  else if (progressTitle) {
134
134
  text = progressTitle;
135
- title = source ? ( localize(4212, "[{0}]: {1}", source, progressTitle)) : text;
135
+ title = source ? ( localize(4225, "[{0}]: {1}", source, progressTitle)) : text;
136
136
  }
137
137
  else if (progressMessage) {
138
138
  text = progressMessage;
139
- title = source ? ( localize(4212, "[{0}]: {1}", source, progressMessage)) : text;
139
+ title = source ? ( localize(4225, "[{0}]: {1}", source, progressMessage)) : text;
140
140
  }
141
141
  else {
142
142
  this.updateWindowProgress(idx + 1);
143
143
  return;
144
144
  }
145
145
  const statusEntryProperties = {
146
- name: ( localize(4213, "Progress Message")),
146
+ name: ( localize(4226, "Progress Message")),
147
147
  text,
148
148
  showProgress: options.type || true,
149
149
  ariaLabel: text,
@@ -239,7 +239,7 @@ let ProgressService = class ProgressService extends Disposable {
239
239
  if (options.cancellable) {
240
240
  const cancelAction = new (class extends Action {
241
241
  constructor() {
242
- super('progress.cancel', typeof options.cancellable === 'string' ? options.cancellable : ( localize(4214, "Cancel")), undefined, true);
242
+ super('progress.cancel', typeof options.cancellable === 'string' ? options.cancellable : ( localize(4227, "Cancel")), undefined, true);
243
243
  }
244
244
  async run() {
245
245
  progressStateModel.cancel();
@@ -425,8 +425,8 @@ let ProgressService = class ProgressService extends Disposable {
425
425
  const buttons = options.buttons || [];
426
426
  if (!options.sticky) {
427
427
  buttons.push(options.cancellable
428
- ? (typeof options.cancellable === 'boolean' ? ( localize(4214, "Cancel")) : options.cancellable)
429
- : ( localize(4215, "Dismiss")));
428
+ ? (typeof options.cancellable === 'boolean' ? ( localize(4227, "Cancel")) : options.cancellable)
429
+ : ( localize(4228, "Dismiss")));
430
430
  }
431
431
  dialog = ( (new Dialog(this.layoutService.activeContainer, message, buttons, {
432
432
  type: 'pending',
@@ -555,7 +555,7 @@ let ViewDescriptorService = class ViewDescriptorService extends Disposable {
555
555
  title: viewDescriptor.name,
556
556
  metadata: {
557
557
  description: ( localize2(
558
- 4147,
558
+ 4160,
559
559
  'Toggles the visibility of the {0} view if the view container it is located in is visible',
560
560
  viewDescriptor.name.value
561
561
  ))
@@ -590,10 +590,10 @@ let ViewDescriptorService = class ViewDescriptorService extends Disposable {
590
590
  super({
591
591
  id: `${viewDescriptor.id}.removeView`,
592
592
  viewPaneContainerId: viewContainerModel.viewContainer.id,
593
- title: ( localize(4148, "Hide '{0}'", viewDescriptor.name.value)),
593
+ title: ( localize(4161, "Hide '{0}'", viewDescriptor.name.value)),
594
594
  metadata: {
595
595
  description: ( localize2(
596
- 4149,
596
+ 4162,
597
597
  'Hides the {0} view if it is visible and the view container it is located in is visible',
598
598
  viewDescriptor.name.value
599
599
  ))
@@ -626,7 +626,7 @@ let ViewDescriptorService = class ViewDescriptorService extends Disposable {
626
626
  constructor() {
627
627
  super({
628
628
  id: `${viewContainer.id}.resetViewContainerLocation`,
629
- title: ( localize2(4150, "Reset Location")),
629
+ title: ( localize2(4163, "Reset Location")),
630
630
  menu: [{
631
631
  id: MenuId.ViewContainerTitleContext,
632
632
  when: ( (ContextKeyExpr.or( (ContextKeyExpr.and(