@codingame/monaco-vscode-view-common-service-override 32.0.0 → 32.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.
Files changed (31) hide show
  1. package/package.json +3 -3
  2. package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +1 -1
  3. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -1
  4. package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +16 -16
  5. package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.js +7 -7
  6. package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +8 -8
  7. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +29 -29
  8. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +14 -14
  9. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +2 -2
  10. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorAccessibilityHelp.js +5 -5
  11. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +13 -13
  12. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +20 -20
  13. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +3 -3
  14. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +10 -10
  15. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +3 -3
  16. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +1 -1
  17. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +1 -1
  18. package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +12 -12
  19. package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +2 -2
  20. package/vscode/src/vs/workbench/contrib/scrollLocking/browser/scrollLocking.js +7 -7
  21. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +10 -10
  22. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +3 -3
  23. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +3 -3
  24. package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +1 -1
  25. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +5 -5
  26. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +1 -1
  27. package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +8 -8
  28. package/vscode/src/vs/workbench/services/history/browser/historyService.js +9 -9
  29. package/vscode/src/vs/workbench/services/progress/browser/progressService.js +7 -7
  30. package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +5 -5
  31. package/vscode/src/vs/workbench/services/views/browser/viewsService.js +9 -9
@@ -18,7 +18,7 @@ class ShowWebViewEditorFindWidgetAction extends Action2 {
18
18
  this.ID = "editor.action.webvieweditor.showFind";
19
19
  }
20
20
  static {
21
- this.LABEL = ( localize(15653, "Show find"));
21
+ this.LABEL = ( localize(15678, "Show find"));
22
22
  }
23
23
  constructor() {
24
24
  super({
@@ -43,7 +43,7 @@ class HideWebViewEditorFindCommand extends Action2 {
43
43
  this.ID = "editor.action.webvieweditor.hideFind";
44
44
  }
45
45
  static {
46
- this.LABEL = ( localize(15654, "Stop find"));
46
+ this.LABEL = ( localize(15679, "Stop find"));
47
47
  }
48
48
  constructor() {
49
49
  super({
@@ -68,7 +68,7 @@ class WebViewEditorFindNextCommand extends Action2 {
68
68
  this.ID = "editor.action.webvieweditor.findNext";
69
69
  }
70
70
  static {
71
- this.LABEL = ( localize(15655, "Find next"));
71
+ this.LABEL = ( localize(15680, "Find next"));
72
72
  }
73
73
  constructor() {
74
74
  super({
@@ -93,7 +93,7 @@ class WebViewEditorFindPreviousCommand extends Action2 {
93
93
  this.ID = "editor.action.webvieweditor.findPrevious";
94
94
  }
95
95
  static {
96
- this.LABEL = ( localize(15656, "Find previous"));
96
+ this.LABEL = ( localize(15681, "Find previous"));
97
97
  }
98
98
  constructor() {
99
99
  super({
@@ -118,7 +118,7 @@ class ReloadWebviewAction extends Action2 {
118
118
  this.ID = "workbench.action.webview.reloadWebviewAction";
119
119
  }
120
120
  static {
121
- this.LABEL = ( localize2(15657, "Reload Webviews"));
121
+ this.LABEL = ( localize2(15682, "Reload Webviews"));
122
122
  }
123
123
  constructor() {
124
124
  super({
@@ -19,7 +19,7 @@ import '@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/ins
19
19
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
20
20
 
21
21
  ( Registry.as(EditorExtensions.EditorPane)).registerEditorPane(
22
- EditorPaneDescriptor.create(WebviewEditor, WebviewEditor.ID, ( localize(15659, "webview editor"))),
22
+ EditorPaneDescriptor.create(WebviewEditor, WebviewEditor.ID, ( localize(15684, "webview editor"))),
23
23
  [( new SyncDescriptor(WebviewInput))]
24
24
  );
25
25
  let WebviewPanelContribution = class WebviewPanelContribution extends Disposable {
@@ -627,8 +627,8 @@ let EditorResolverService = class EditorResolverService extends Disposable {
627
627
  if (storedChoices[globForResource]?.find(editorID => editorID === currentEditor.editorId)) {
628
628
  return;
629
629
  }
630
- const handle = this.notificationService.prompt(Severity.Warning, ( localize(16493, "There are multiple default editors available for the resource.")), [{
631
- label: ( localize(16494, "Configure Default")),
630
+ const handle = this.notificationService.prompt(Severity.Warning, ( localize(16518, "There are multiple default editors available for the resource.")), [{
631
+ label: ( localize(16519, "Configure Default")),
632
632
  run: async () => {
633
633
  const picked = await this.doPickEditor(untypedInput, true);
634
634
  if (!picked) {
@@ -646,7 +646,7 @@ let EditorResolverService = class EditorResolverService extends Disposable {
646
646
  }]);
647
647
  }
648
648
  }, {
649
- label: ( localize(16495, "Keep {0}", editorName)),
649
+ label: ( localize(16520, "Keep {0}", editorName)),
650
650
  run: writeCurrentEditorsToStorage
651
651
  }]);
652
652
  const onCloseListener = handle.onDidClose(() => {
@@ -672,9 +672,9 @@ let EditorResolverService = class EditorResolverService extends Disposable {
672
672
  }
673
673
  });
674
674
  const quickPickEntries = [];
675
- const currentlyActiveLabel = ( localize(16496, "Active"));
676
- const currentDefaultLabel = ( localize(16497, "Default"));
677
- const currentDefaultAndActiveLabel = ( localize(16498, "Active and Default"));
675
+ const currentlyActiveLabel = ( localize(16521, "Active"));
676
+ const currentDefaultLabel = ( localize(16522, "Default"));
677
+ const currentDefaultAndActiveLabel = ( localize(16523, "Active and Default"));
678
678
  let defaultViewType = defaultSetting;
679
679
  if (!defaultViewType && registeredEditors.length > 2 && registeredEditors[1]?.editorInfo.priority !== RegisteredEditorPriority.option) {
680
680
  defaultViewType = registeredEditors[1]?.editorInfo.id;
@@ -701,7 +701,7 @@ let EditorResolverService = class EditorResolverService extends Disposable {
701
701
  quickPickEntries.push(separator);
702
702
  const configureDefaultEntry = {
703
703
  id: EditorResolverService_1.configureDefaultID,
704
- label: ( localize(16499, "Configure default editor for '{0}'...", `*${extname(resource)}`))
704
+ label: ( localize(16524, "Configure default editor for '{0}'...", `*${extname(resource)}`))
705
705
  };
706
706
  quickPickEntries.push(configureDefaultEntry);
707
707
  }
@@ -722,7 +722,7 @@ let EditorResolverService = class EditorResolverService extends Disposable {
722
722
  const editorPicker = disposables.add(this.quickInputService.createQuickPick({
723
723
  useSeparators: true
724
724
  }));
725
- const placeHolderMessage = showDefaultPicker ? ( localize(16500, "Select new default editor for '{0}'", `*${extname(resource)}`)) : ( localize(16501, "Select editor for '{0}'", basename(resource)));
725
+ const placeHolderMessage = showDefaultPicker ? ( localize(16525, "Select new default editor for '{0}'", `*${extname(resource)}`)) : ( localize(16526, "Select editor for '{0}'", basename(resource)));
726
726
  editorPicker.placeholder = placeHolderMessage;
727
727
  editorPicker.canAcceptInBackground = true;
728
728
  editorPicker.items = editorPicks;
@@ -101,33 +101,33 @@ let HistoryService = class HistoryService extends Disposable {
101
101
  return matcher;
102
102
  }));
103
103
  this.editorHelper = this.instantiationService.createInstance(EditorHelper);
104
- this.canNavigateBackContextKey = ( new RawContextKey("canNavigateBack", false, ( localize(16716, "Whether it is possible to navigate back in editor history")))).bindTo(this.contextKeyService);
105
- this.canNavigateForwardContextKey = ( new RawContextKey("canNavigateForward", false, ( localize(16717, "Whether it is possible to navigate forward in editor history")))).bindTo(this.contextKeyService);
104
+ this.canNavigateBackContextKey = ( new RawContextKey("canNavigateBack", false, ( localize(16741, "Whether it is possible to navigate back in editor history")))).bindTo(this.contextKeyService);
105
+ this.canNavigateForwardContextKey = ( new RawContextKey("canNavigateForward", false, ( localize(16742, "Whether it is possible to navigate forward in editor history")))).bindTo(this.contextKeyService);
106
106
  this.canNavigateBackInNavigationsContextKey = ( new RawContextKey("canNavigateBackInNavigationLocations", false, ( localize(
107
- 16718,
107
+ 16743,
108
108
  "Whether it is possible to navigate back in editor navigation locations history"
109
109
  )))).bindTo(this.contextKeyService);
110
110
  this.canNavigateForwardInNavigationsContextKey = ( new RawContextKey("canNavigateForwardInNavigationLocations", false, ( localize(
111
- 16719,
111
+ 16744,
112
112
  "Whether it is possible to navigate forward in editor navigation locations history"
113
113
  )))).bindTo(this.contextKeyService);
114
114
  this.canNavigateToLastNavigationLocationContextKey = ( new RawContextKey("canNavigateToLastNavigationLocation", false, ( localize(
115
- 16720,
115
+ 16745,
116
116
  "Whether it is possible to navigate to the last editor navigation location"
117
117
  )))).bindTo(this.contextKeyService);
118
118
  this.canNavigateBackInEditsContextKey = ( new RawContextKey("canNavigateBackInEditLocations", false, ( localize(
119
- 16721,
119
+ 16746,
120
120
  "Whether it is possible to navigate back in editor edit locations history"
121
121
  )))).bindTo(this.contextKeyService);
122
122
  this.canNavigateForwardInEditsContextKey = ( new RawContextKey("canNavigateForwardInEditLocations", false, ( localize(
123
- 16722,
123
+ 16747,
124
124
  "Whether it is possible to navigate forward in editor edit locations history"
125
125
  )))).bindTo(this.contextKeyService);
126
126
  this.canNavigateToLastEditLocationContextKey = ( new RawContextKey("canNavigateToLastEditLocation", false, ( localize(
127
- 16723,
127
+ 16748,
128
128
  "Whether it is possible to navigate to the last editor edit location"
129
129
  )))).bindTo(this.contextKeyService);
130
- this.canReopenClosedEditorContextKey = ( new RawContextKey("canReopenClosedEditor", false, ( localize(16724, "Whether it is possible to reopen the last closed editor")))).bindTo(this.contextKeyService);
130
+ this.canReopenClosedEditorContextKey = ( new RawContextKey("canReopenClosedEditor", false, ( localize(16749, "Whether it is possible to reopen the last closed editor")))).bindTo(this.contextKeyService);
131
131
  this.registerListeners();
132
132
  if (this.editorService.activeEditorPane) {
133
133
  this.onDidActiveEditorChange();
@@ -173,20 +173,20 @@ let ProgressService = class ProgressService extends Disposable {
173
173
  let title;
174
174
  const source = options.source && typeof options.source !== "string" ? options.source.label : options.source;
175
175
  if (progressTitle && progressMessage) {
176
- text = ( localize(16853, "{0}: {1}", progressTitle, progressMessage));
177
- title = source ? ( localize(16854, "[{0}] {1}: {2}", source, progressTitle, progressMessage)) : text;
176
+ text = ( localize(16878, "{0}: {1}", progressTitle, progressMessage));
177
+ title = source ? ( localize(16879, "[{0}] {1}: {2}", source, progressTitle, progressMessage)) : text;
178
178
  } else if (progressTitle) {
179
179
  text = progressTitle;
180
- title = source ? ( localize(16855, "[{0}]: {1}", source, progressTitle)) : text;
180
+ title = source ? ( localize(16880, "[{0}]: {1}", source, progressTitle)) : text;
181
181
  } else if (progressMessage) {
182
182
  text = progressMessage;
183
- title = source ? ( localize(16855, "[{0}]: {1}", source, progressMessage)) : text;
183
+ title = source ? ( localize(16880, "[{0}]: {1}", source, progressMessage)) : text;
184
184
  } else {
185
185
  this.updateWindowProgress(idx + 1);
186
186
  return;
187
187
  }
188
188
  const statusEntryProperties = {
189
- name: ( localize(16856, "Progress Message")),
189
+ name: ( localize(16881, "Progress Message")),
190
190
  text,
191
191
  showProgress: options.type || true,
192
192
  ariaLabel: text,
@@ -292,7 +292,7 @@ let ProgressService = class ProgressService extends Disposable {
292
292
  constructor() {
293
293
  super(
294
294
  "progress.cancel",
295
- typeof options.cancellable === "string" ? options.cancellable : ( localize(16857, "Cancel")),
295
+ typeof options.cancellable === "string" ? options.cancellable : ( localize(16882, "Cancel")),
296
296
  undefined,
297
297
  true
298
298
  );
@@ -484,7 +484,7 @@ let ProgressService = class ProgressService extends Disposable {
484
484
  const buttons = options.buttons || [];
485
485
  if (!options.sticky) {
486
486
  buttons.push(
487
- options.cancellable ? (typeof options.cancellable === "boolean" ? ( localize(16857, "Cancel")) : options.cancellable) : ( localize(16858, "Dismiss"))
487
+ options.cancellable ? (typeof options.cancellable === "boolean" ? ( localize(16882, "Cancel")) : options.cancellable) : ( localize(16883, "Dismiss"))
488
488
  );
489
489
  }
490
490
  dialog = ( new Dialog(
@@ -507,7 +507,7 @@ let ViewDescriptorService = class ViewDescriptorService extends Disposable {
507
507
  mergeViewWithContainerWhenSingleView: true
508
508
  }])),
509
509
  title: {
510
- value: ( localize(17235, "User View Container")),
510
+ value: ( localize(17260, "User View Container")),
511
511
  original: "User View Container"
512
512
  },
513
513
  icon: location === ViewContainerLocation.Sidebar ? defaultViewIcon : undefined,
@@ -820,7 +820,7 @@ let ViewDescriptorService = class ViewDescriptorService extends Disposable {
820
820
  title: viewDescriptor.name,
821
821
  metadata: {
822
822
  description: ( localize2(
823
- 17236,
823
+ 17261,
824
824
  "Toggles the visibility of the {0} view if the view container it is located in is visible",
825
825
  viewDescriptor.name.value
826
826
  ))
@@ -851,10 +851,10 @@ let ViewDescriptorService = class ViewDescriptorService extends Disposable {
851
851
  super({
852
852
  id: `${viewDescriptor.id}.removeView`,
853
853
  viewPaneContainerId: viewContainerModel.viewContainer.id,
854
- title: ( localize(17237, "Hide '{0}'", viewDescriptor.name.value)),
854
+ title: ( localize(17262, "Hide '{0}'", viewDescriptor.name.value)),
855
855
  metadata: {
856
856
  description: ( localize2(
857
- 17238,
857
+ 17263,
858
858
  "Hides the {0} view if it is visible and the view container it is located in is visible",
859
859
  viewDescriptor.name.value
860
860
  ))
@@ -884,7 +884,7 @@ let ViewDescriptorService = class ViewDescriptorService extends Disposable {
884
884
  constructor() {
885
885
  super({
886
886
  id: `${viewContainer.id}.resetViewContainerLocation`,
887
- title: ( localize2(17239, "Reset Location")),
887
+ title: ( localize2(17264, "Reset Location")),
888
888
  menu: [{
889
889
  id: MenuId.ViewContainerTitleContext,
890
890
  group: "1_viewActions",
@@ -285,7 +285,7 @@ let ViewsService = class ViewsService extends Disposable {
285
285
  return this.viewDescriptorService.getViewDescriptorById(( viewId.toString()));
286
286
  }
287
287
  getFocusedViewName() {
288
- const textEditorFocused = this.editorService.activeTextEditorControl?.hasTextFocus() ? ( localize(17240, "Text Editor")) : undefined;
288
+ const textEditorFocused = this.editorService.activeTextEditorControl?.hasTextFocus() ? ( localize(17265, "Text Editor")) : undefined;
289
289
  return this.getFocusedView()?.name?.value ?? textEditorFocused ?? "";
290
290
  }
291
291
  async openView(id, focus) {
@@ -391,12 +391,12 @@ let ViewsService = class ViewsService extends Disposable {
391
391
  const originalTitle = typeof title === "string" ? title : title.original;
392
392
  if (viewContainerLocation === ViewContainerLocation.Sidebar) {
393
393
  return {
394
- value: ( localize(17241, "Show {0}", localizedTitle)),
394
+ value: ( localize(17266, "Show {0}", localizedTitle)),
395
395
  original: `Show ${originalTitle}`
396
396
  };
397
397
  } else {
398
398
  return {
399
- value: ( localize(17242, "Toggle {0}", localizedTitle)),
399
+ value: ( localize(17267, "Toggle {0}", localizedTitle)),
400
400
  original: `Toggle ${originalTitle}`
401
401
  };
402
402
  }
@@ -468,12 +468,12 @@ let ViewsService = class ViewsService extends Disposable {
468
468
  const originalTitle = typeof title === "string" ? title : title.original;
469
469
  if (viewContainerLocation === ViewContainerLocation.Sidebar) {
470
470
  return {
471
- value: ( localize(17241, "Show {0}", localizedTitle)),
471
+ value: ( localize(17266, "Show {0}", localizedTitle)),
472
472
  original: `Show ${originalTitle}`
473
473
  };
474
474
  } else {
475
475
  return {
476
- value: ( localize(17242, "Toggle {0}", localizedTitle)),
476
+ value: ( localize(17267, "Toggle {0}", localizedTitle)),
477
477
  original: `Toggle ${originalTitle}`
478
478
  };
479
479
  }
@@ -486,7 +486,7 @@ let ViewsService = class ViewsService extends Disposable {
486
486
  } : undefined,
487
487
  f1: viewDescriptor.openCommandActionDescriptor ? true : undefined,
488
488
  metadata: {
489
- description: ( localize(17243, "Opens view {0}", viewDescriptor.name.value)),
489
+ description: ( localize(17268, "Opens view {0}", viewDescriptor.name.value)),
490
490
  args: [{
491
491
  name: "options",
492
492
  schema: {
@@ -495,7 +495,7 @@ let ViewsService = class ViewsService extends Disposable {
495
495
  "preserveFocus": {
496
496
  type: "boolean",
497
497
  default: false,
498
- description: ( localize(17244, "Whether to preserve the existing focus when opening the view."))
498
+ description: ( localize(17269, "Whether to preserve the existing focus when opening the view."))
499
499
  }
500
500
  }
501
501
  }
@@ -542,7 +542,7 @@ let ViewsService = class ViewsService extends Disposable {
542
542
  registerFocusViewAction(viewDescriptor, category) {
543
543
  return registerAction2(class FocusViewAction extends Action2 {
544
544
  constructor() {
545
- const title = ( localize2(17245, "Focus on {0} View", viewDescriptor.name.value));
545
+ const title = ( localize2(17270, "Focus on {0} View", viewDescriptor.name.value));
546
546
  super({
547
547
  id: viewDescriptor.focusCommand ? viewDescriptor.focusCommand.id : `${viewDescriptor.id}.focus`,
548
548
  title,
@@ -588,7 +588,7 @@ let ViewsService = class ViewsService extends Disposable {
588
588
  constructor() {
589
589
  super({
590
590
  id: `${viewDescriptor.id}.resetViewLocation`,
591
- title: ( localize2(17246, "Reset Location")),
591
+ title: ( localize2(17271, "Reset Location")),
592
592
  menu: [{
593
593
  id: MenuId.ViewTitleContext,
594
594
  when: ( ContextKeyExpr.or(( ContextKeyExpr.and(( ContextKeyExpr.equals("view", viewDescriptor.id)), ( ContextKeyExpr.equals(`${viewDescriptor.id}.defaultViewLocation`, false)))))),