@codingame/monaco-vscode-view-common-service-override 30.0.0 → 31.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 (43) hide show
  1. package/package.json +3 -3
  2. package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +56 -56
  3. package/vscode/src/vs/workbench/browser/actions/helpActions.js +26 -23
  4. package/vscode/src/vs/workbench/browser/actions/listCommands.js +3 -3
  5. package/vscode/src/vs/workbench/browser/actions/navigationActions.js +6 -6
  6. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +171 -169
  7. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +8 -8
  8. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +12 -12
  9. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +3 -3
  10. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +3 -3
  11. package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +1 -1
  12. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +1 -1
  13. package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +10 -10
  14. package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.js +8 -8
  15. package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +8 -8
  16. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +29 -29
  17. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +14 -14
  18. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +2 -2
  19. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditorAccessibilityHelp.js +5 -5
  20. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +13 -13
  21. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +20 -20
  22. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +3 -3
  23. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +10 -10
  24. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +3 -3
  25. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +1 -1
  26. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +1 -1
  27. package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +12 -12
  28. package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +2 -2
  29. package/vscode/src/vs/workbench/contrib/scrollLocking/browser/scrollLocking.js +7 -7
  30. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +10 -10
  31. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +3 -3
  32. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +3 -3
  33. package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.d.ts +9 -7
  34. package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +25 -79
  35. package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +1 -1
  36. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +5 -5
  37. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +1 -1
  38. package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.d.ts +7 -0
  39. package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +18 -9
  40. package/vscode/src/vs/workbench/services/history/browser/historyService.js +9 -9
  41. package/vscode/src/vs/workbench/services/progress/browser/progressService.js +7 -7
  42. package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +5 -5
  43. package/vscode/src/vs/workbench/services/views/browser/viewsService.js +9 -9
@@ -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(16714, "Text Editor")) : undefined;
288
+ const textEditorFocused = this.editorService.activeTextEditorControl?.hasTextFocus() ? ( localize(16931, "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(16715, "Show {0}", localizedTitle)),
394
+ value: ( localize(16932, "Show {0}", localizedTitle)),
395
395
  original: `Show ${originalTitle}`
396
396
  };
397
397
  } else {
398
398
  return {
399
- value: ( localize(16716, "Toggle {0}", localizedTitle)),
399
+ value: ( localize(16933, "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(16715, "Show {0}", localizedTitle)),
471
+ value: ( localize(16932, "Show {0}", localizedTitle)),
472
472
  original: `Show ${originalTitle}`
473
473
  };
474
474
  } else {
475
475
  return {
476
- value: ( localize(16716, "Toggle {0}", localizedTitle)),
476
+ value: ( localize(16933, "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(16717, "Opens view {0}", viewDescriptor.name.value)),
489
+ description: ( localize(16934, "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(16718, "Whether to preserve the existing focus when opening the view."))
498
+ description: ( localize(16935, "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(16719, "Focus on {0} View", viewDescriptor.name.value));
545
+ const title = ( localize2(16936, "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(16720, "Reset Location")),
591
+ title: ( localize2(16937, "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)))))),