@codingame/monaco-vscode-view-common-service-override 4.5.1 → 5.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 (70) hide show
  1. package/package.json +3 -3
  2. package/viewCommon.js +3 -6
  3. package/vscode/src/vs/base/browser/ui/grid/grid.js +12 -12
  4. package/vscode/src/vs/base/browser/ui/grid/gridview.js +26 -26
  5. package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +4 -3
  6. package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +142 -221
  7. package/vscode/src/vs/workbench/browser/actions/listCommands.js +49 -45
  8. package/vscode/src/vs/workbench/browser/actions/navigationActions.js +7 -30
  9. package/vscode/src/vs/workbench/browser/media/style.css.js +1 -1
  10. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +67 -138
  11. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +25 -38
  12. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/media/auxiliaryBarPart.css.js +1 -1
  13. package/vscode/src/vs/workbench/browser/parts/compositeBar.js +26 -27
  14. package/vscode/src/vs/workbench/browser/parts/compositePart.js +20 -34
  15. package/vscode/src/vs/workbench/browser/parts/editor/auxiliaryEditorPart.js +7 -4
  16. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +216 -765
  17. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +27 -42
  18. package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +24 -23
  19. package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +54 -19
  20. package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +122 -72
  21. package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +51 -54
  22. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +44 -44
  23. package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +25 -26
  24. package/vscode/src/vs/workbench/browser/parts/sidebar/media/sidebarpart.css.js +1 -1
  25. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +2 -5
  26. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +22 -22
  27. package/vscode/src/vs/workbench/browser/window.js +41 -92
  28. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +41 -78
  29. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +23 -46
  30. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +36 -27
  31. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.js +1 -1
  32. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditors.js +1 -1
  33. package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +14 -15
  34. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +10 -11
  35. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditorModelManager.js +1 -1
  36. package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +25 -52
  37. package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +59 -88
  38. package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +18 -48
  39. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +61 -150
  40. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +15 -70
  41. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +9 -20
  42. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +14 -65
  43. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +39 -113
  44. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editorGutter.js +1 -0
  45. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +13 -19
  46. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/codeEditorView.js +1 -0
  47. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +35 -75
  48. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +16 -37
  49. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +41 -43
  50. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/scrollSynchronizer.js +6 -5
  51. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +13 -11
  52. package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +24 -61
  53. package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +7 -6
  54. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +37 -70
  55. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +23 -46
  56. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +26 -27
  57. package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +2 -2
  58. package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +50 -52
  59. package/vscode/src/vs/workbench/contrib/webview/browser/webviewFindWidget.js +5 -3
  60. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +18 -34
  61. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +7 -10
  62. package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewPane.js +13 -11
  63. package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.js +2 -2
  64. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +79 -49
  65. package/vscode/src/vs/workbench/services/driver/browser/driver.js +9 -7
  66. package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +45 -68
  67. package/vscode/src/vs/workbench/services/history/browser/historyService.js +95 -98
  68. package/vscode/src/vs/workbench/services/progress/browser/progressService.js +34 -74
  69. package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +69 -67
  70. package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +52 -47
@@ -14,6 +14,7 @@ import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views.
14
14
  import { CompositeDragAndDropObserver, toggleDropEffect } from 'vscode/vscode/vs/workbench/browser/dnd';
15
15
  import { Gesture, EventType as EventType$1 } from 'vscode/vscode/vs/base/browser/touch';
16
16
 
17
+ const _moduleId = "vs/workbench/browser/parts/compositeBar";
17
18
  class CompositeDragAndDrop {
18
19
  constructor(viewDescriptorService, targetContainerLocation, orientation, openComposite, moveComposite, getItems) {
19
20
  this.viewDescriptorService = viewDescriptorService;
@@ -91,11 +92,11 @@ let CompositeBar = class CompositeBar extends Widget {
91
92
  this.instantiationService = instantiationService;
92
93
  this.contextMenuService = contextMenuService;
93
94
  this.viewDescriptorService = viewDescriptorService;
94
- this._onDidChange = this._register(( new Emitter()));
95
+ this._onDidChange = this._register(( (new Emitter())));
95
96
  this.onDidChange = this._onDidChange.event;
96
- this.model = ( new CompositeBarModel(items, options));
97
+ this.model = ( (new CompositeBarModel(items, options)));
97
98
  this.visibleComposites = [];
98
- this.compositeSizeInBar = ( new Map());
99
+ this.compositeSizeInBar = ( (new Map()));
99
100
  this.computeSizes(this.model.visibleItems);
100
101
  }
101
102
  getCompositeBarItems() {
@@ -113,7 +114,7 @@ let CompositeBar = class CompositeBar extends Widget {
113
114
  }
114
115
  create(parent) {
115
116
  const actionBarDiv = parent.appendChild($('.composite-bar'));
116
- this.compositeSwitcherBar = this._register(( new ActionBar(actionBarDiv, {
117
+ this.compositeSwitcherBar = this._register(( (new ActionBar(actionBarDiv, {
117
118
  actionViewItemProvider: (action, options) => {
118
119
  if (action instanceof CompositeOverflowActivityAction) {
119
120
  return this.compositeOverflowActionViewItem;
@@ -122,15 +123,11 @@ let CompositeBar = class CompositeBar extends Widget {
122
123
  return item && this.instantiationService.createInstance(CompositeActionViewItem, { ...options, draggable: true, colors: this.options.colors, icon: this.options.icon, hoverOptions: this.options.activityHoverOptions, compact: this.options.compact }, action, item.pinnedAction, item.toggleBadgeAction, compositeId => this.options.getContextMenuActionsForComposite(compositeId), () => this.getContextMenuActions(), this.options.dndHandler, this);
123
124
  },
124
125
  orientation: this.options.orientation,
125
- ariaLabel: ( localizeWithPath(
126
- 'vs/workbench/browser/parts/compositeBar',
127
- 'activityBarAriaLabel',
128
- "Active View Switcher"
129
- )),
126
+ ariaLabel: ( localizeWithPath(_moduleId, 0, "Active View Switcher")),
130
127
  ariaRole: 'tablist',
131
128
  preventLoopNavigation: this.options.preventLoopNavigation,
132
129
  triggerKeys: { keyDown: true }
133
- })));
130
+ }))));
134
131
  this._register(addDisposableListener(parent, EventType.CONTEXT_MENU, e => this.showContextMenu(getWindow(parent), e)));
135
132
  this._register(Gesture.addTarget(parent));
136
133
  this._register(addDisposableListener(parent, EventType$1.Contextmenu, e => this.showContextMenu(getWindow(parent), e)));
@@ -318,7 +315,7 @@ let CompositeBar = class CompositeBar extends Widget {
318
315
  const compositeSwitcherBar = this.compositeSwitcherBar;
319
316
  if (compositeSwitcherBar && this.dimension && this.dimension.height !== 0 && this.dimension.width !== 0) {
320
317
  const currentItemsLength = compositeSwitcherBar.viewItems.length;
321
- compositeSwitcherBar.push(( items.map(composite => composite.activityAction)));
318
+ compositeSwitcherBar.push(( (items.map(composite => composite.activityAction))));
322
319
  items.forEach((composite, index) => this.compositeSizeInBar.set(composite.id, this.options.orientation === 1
323
320
  ? compositeSwitcherBar.getHeight(currentItemsLength + index)
324
321
  : compositeSwitcherBar.getWidth(currentItemsLength + index)));
@@ -331,8 +328,8 @@ let CompositeBar = class CompositeBar extends Widget {
331
328
  if (!compositeSwitcherBar || !this.dimension) {
332
329
  return;
333
330
  }
334
- let compositesToShow = ( this.model.visibleItems.filter(item => item.pinned
335
- || (this.model.activeItem && this.model.activeItem.id === item.id) ).map(item => item.id));
331
+ let compositesToShow = ( (this.model.visibleItems.filter(item => item.pinned
332
+ || (this.model.activeItem && this.model.activeItem.id === item.id) ).map(item => item.id)));
336
333
  let maxVisible = compositesToShow.length;
337
334
  const totalComposites = compositesToShow.length;
338
335
  let size = 0;
@@ -405,25 +402,27 @@ let CompositeBar = class CompositeBar extends Widget {
405
402
  this._onDidChange.fire();
406
403
  }
407
404
  getOverflowingComposites() {
408
- let overflowingIds = ( this.model.visibleItems.filter(item => item.pinned).map(item => item.id));
405
+ let overflowingIds = ( (this.model.visibleItems.filter(item => item.pinned).map(item => item.id)));
409
406
  if (this.model.activeItem && !this.model.activeItem.pinned) {
410
407
  overflowingIds.push(this.model.activeItem.id);
411
408
  }
412
409
  overflowingIds = overflowingIds.filter(compositeId => !this.visibleComposites.includes(compositeId));
413
- return ( this.model.visibleItems.filter(c => overflowingIds.includes(c.id)).map(
414
- item => { return { id: item.id, name: this.getAction(item.id)?.label || item.name }; }
415
- ));
410
+ return (
411
+ (this.model.visibleItems.filter(c => overflowingIds.includes(c.id)).map(
412
+ item => { return { id: item.id, name: this.getAction(item.id)?.label || item.name }; }
413
+ ))
414
+ );
416
415
  }
417
416
  showContextMenu(targetWindow, e) {
418
417
  EventHelper.stop(e, true);
419
- const event = ( new StandardMouseEvent(targetWindow, e));
418
+ const event = ( (new StandardMouseEvent(targetWindow, e)));
420
419
  this.contextMenuService.showContextMenu({
421
420
  getAnchor: () => event,
422
421
  getActions: () => this.getContextMenuActions(e)
423
422
  });
424
423
  }
425
424
  getContextMenuActions(e) {
426
- const actions = ( this.model.visibleItems
425
+ const actions = ( (this.model.visibleItems
427
426
  .map(({ id, name, activityAction }) => (toAction({
428
427
  id,
429
428
  label: this.getAction(id).label || name || id,
@@ -437,16 +436,16 @@ let CompositeBar = class CompositeBar extends Widget {
437
436
  this.pin(id, true);
438
437
  }
439
438
  }
440
- }))));
439
+ })))));
441
440
  this.options.fillExtraContextMenuActions(actions, e);
442
441
  return actions;
443
442
  }
444
443
  };
445
- CompositeBar = ( __decorate([
446
- ( __param(2, IInstantiationService)),
447
- ( __param(3, IContextMenuService)),
448
- ( __param(4, IViewDescriptorService))
449
- ], CompositeBar));
444
+ CompositeBar = ( (__decorate([
445
+ ( (__param(2, IInstantiationService))),
446
+ ( (__param(3, IContextMenuService))),
447
+ ( (__param(4, IViewDescriptorService)))
448
+ ], CompositeBar)));
450
449
  class CompositeBarModel {
451
450
  get items() { return this._items; }
452
451
  constructor(items, options) {
@@ -456,10 +455,10 @@ class CompositeBarModel {
456
455
  }
457
456
  setItems(items) {
458
457
  this._items = [];
459
- this._items = ( items
458
+ this._items = ( (items
460
459
  .map(
461
460
  i => this.createCompositeBarItem(i.id, i.name, i.order, i.pinned, i.visible)
462
- ));
461
+ )));
463
462
  }
464
463
  get visibleItems() {
465
464
  return this.items.filter(item => item.visible);
@@ -16,15 +16,16 @@ import { ScopedProgressIndicator, AbstractProgressScope } from 'vscode/vscode/vs
16
16
  import { WorkbenchToolBar } from 'vscode/vscode/vs/platform/actions/browser/toolbar';
17
17
  import { defaultProgressBarStyles } from 'vscode/vscode/vs/platform/theme/browser/defaultStyles';
18
18
  import { createInstantHoverDelegate, getDefaultHoverDelegate } from 'vscode/vscode/vs/base/browser/ui/hover/hoverDelegateFactory';
19
- import { setupCustomHover } from 'vscode/vscode/vs/base/browser/ui/hover/updatableHoverWidget';
20
19
 
20
+ const _moduleId = "vs/workbench/browser/parts/compositePart";
21
21
  class CompositePart extends Part {
22
- constructor(notificationService, storageService, contextMenuService, layoutService, keybindingService, instantiationService, themeService, registry, activeCompositeSettingsKey, defaultCompositeId, nameForTelemetry, compositeCSSClass, titleForegroundColor, id, options) {
22
+ constructor(notificationService, storageService, contextMenuService, layoutService, keybindingService, hoverService, instantiationService, themeService, registry, activeCompositeSettingsKey, defaultCompositeId, nameForTelemetry, compositeCSSClass, titleForegroundColor, id, options) {
23
23
  super(id, options, themeService, storageService, layoutService);
24
24
  this.notificationService = notificationService;
25
25
  this.storageService = storageService;
26
26
  this.contextMenuService = contextMenuService;
27
27
  this.keybindingService = keybindingService;
28
+ this.hoverService = hoverService;
28
29
  this.instantiationService = instantiationService;
29
30
  this.registry = registry;
30
31
  this.activeCompositeSettingsKey = activeCompositeSettingsKey;
@@ -32,12 +33,12 @@ class CompositePart extends Part {
32
33
  this.nameForTelemetry = nameForTelemetry;
33
34
  this.compositeCSSClass = compositeCSSClass;
34
35
  this.titleForegroundColor = titleForegroundColor;
35
- this.onDidCompositeOpen = this._register(( new Emitter()));
36
- this.onDidCompositeClose = this._register(( new Emitter()));
37
- this.mapCompositeToCompositeContainer = ( new Map());
38
- this.mapActionsBindingToComposite = ( new Map());
39
- this.instantiatedCompositeItems = ( new Map());
40
- this.actionsListener = this._register(( new MutableDisposable()));
36
+ this.onDidCompositeOpen = this._register(( (new Emitter())));
37
+ this.onDidCompositeClose = this._register(( (new Emitter())));
38
+ this.mapCompositeToCompositeContainer = ( (new Map()));
39
+ this.mapActionsBindingToComposite = ( (new Map()));
40
+ this.instantiatedCompositeItems = ( (new Map()));
41
+ this.actionsListener = this._register(( (new MutableDisposable())));
41
42
  this.lastActiveCompositeId = storageService.get(activeCompositeSettingsKey, 1 , this.defaultCompositeId);
42
43
  this.toolbarHoverDelegate = this._register(createInstantHoverDelegate());
43
44
  }
@@ -88,7 +89,7 @@ class CompositePart extends Part {
88
89
  const compositeDescriptor = this.registry.getComposite(id);
89
90
  if (compositeDescriptor) {
90
91
  const that = this;
91
- const compositeProgressIndicator = ( new ScopedProgressIndicator(
92
+ const compositeProgressIndicator = ( (new ScopedProgressIndicator(
92
93
  assertIsDefined(this.progressBar),
93
94
  new (class extends AbstractProgressScope {
94
95
  constructor() {
@@ -97,17 +98,17 @@ class CompositePart extends Part {
97
98
  this._register(that.onDidCompositeClose.event(e => this.onScopeClosed(e.getId())));
98
99
  }
99
100
  })()
100
- ));
101
- const compositeInstantiationService = this.instantiationService.createChild(( new ServiceCollection(
102
- [IEditorProgressService, compositeProgressIndicator]
103
101
  )));
102
+ const compositeInstantiationService = this.instantiationService.createChild(( (new ServiceCollection(
103
+ [IEditorProgressService, compositeProgressIndicator]
104
+ ))));
104
105
  const composite = compositeDescriptor.instantiate(compositeInstantiationService);
105
- const disposable = ( new DisposableStore());
106
+ const disposable = ( (new DisposableStore()));
106
107
  this.instantiatedCompositeItems.set(id, { composite, disposable, progress: compositeProgressIndicator });
107
108
  disposable.add(composite.onTitleAreaUpdate(() => this.onTitleAreaUpdate(composite.getId()), this));
108
109
  return composite;
109
110
  }
110
- throw new Error(`Unable to find composite with id ${id}`);
111
+ throw ( (new Error(`Unable to find composite with id ${id}`)));
111
112
  }
112
113
  showComposite(composite) {
113
114
  this.activeComposite = composite;
@@ -187,12 +188,7 @@ class CompositePart extends Part {
187
188
  const keybinding = this.keybindingService.lookupKeybinding(compositeId);
188
189
  this.titleLabel.updateTitle(compositeId, compositeTitle, keybinding?.getLabel() ?? undefined);
189
190
  const toolBar = assertIsDefined(this.toolBar);
190
- toolBar.setAriaLabel(( localizeWithPath(
191
- 'vs/workbench/browser/parts/compositePart',
192
- 'ariaCompositeToolbarLabel',
193
- "{0} actions",
194
- compositeTitle
195
- )));
191
+ toolBar.setAriaLabel(( localizeWithPath(_moduleId, 0, "{0} actions", compositeTitle)));
196
192
  }
197
193
  collectCompositeActions(composite) {
198
194
  const menuIds = composite?.getMenuIds();
@@ -237,11 +233,7 @@ class CompositePart extends Part {
237
233
  orientation: 0 ,
238
234
  getKeyBinding: action => this.keybindingService.lookupKeybinding(action.id),
239
235
  anchorAlignmentProvider: () => this.getTitleAreaDropDownAnchorAlignment(),
240
- toggleMenuTitle: ( localizeWithPath(
241
- 'vs/workbench/browser/parts/compositePart',
242
- 'viewsAndMoreActions',
243
- "Views and More Actions..."
244
- )),
236
+ toggleMenuTitle: ( localizeWithPath(_moduleId, 1, "Views and More Actions...")),
245
237
  telemetrySource: this.nameForTelemetry,
246
238
  hoverDelegate: this.toolbarHoverDelegate
247
239
  }));
@@ -252,19 +244,13 @@ class CompositePart extends Part {
252
244
  const titleContainer = append(parent, $('.title-label'));
253
245
  const titleLabel = append(titleContainer, $('h2'));
254
246
  this.titleLabelElement = titleLabel;
255
- const hover = this._register(setupCustomHover(getDefaultHoverDelegate('mouse'), titleLabel, ''));
247
+ const hover = this._register(this.hoverService.setupUpdatableHover(getDefaultHoverDelegate('mouse'), titleLabel, ''));
256
248
  const $this = this;
257
249
  return {
258
250
  updateTitle: (id, title, keybinding) => {
259
251
  if (!this.activeComposite || this.activeComposite.getId() === id) {
260
252
  titleLabel.innerText = title;
261
- hover.update(keybinding ? ( localizeWithPath(
262
- 'vs/workbench/browser/parts/compositePart',
263
- 'titleTooltip',
264
- "{0} ({1})",
265
- title,
266
- keybinding
267
- )) : title);
253
+ hover.update(keybinding ? ( localizeWithPath(_moduleId, 2, "{0} ({1})", title, keybinding)) : title);
268
254
  }
269
255
  },
270
256
  updateStyles: () => {
@@ -297,7 +283,7 @@ class CompositePart extends Part {
297
283
  }
298
284
  createContentArea(parent) {
299
285
  const contentContainer = append(parent, $('.content'));
300
- this.progressBar = this._register(( new ProgressBar(contentContainer, defaultProgressBarStyles)));
286
+ this.progressBar = this._register(( (new ProgressBar(contentContainer, defaultProgressBarStyles))));
301
287
  this.progressBar.hide();
302
288
  return contentContainer;
303
289
  }
@@ -207,17 +207,19 @@ let AuxiliaryEditorPartImpl = class AuxiliaryEditorPartImpl extends EditorPart {
207
207
  return;
208
208
  }
209
209
  close() {
210
- this.doClose(true );
210
+ return this.doClose(true );
211
211
  }
212
212
  doClose(mergeGroupsToMainPart) {
213
+ let result = true;
213
214
  if (mergeGroupsToMainPart) {
214
- this.mergeGroupsToMainPart();
215
+ result = this.mergeGroupsToMainPart();
215
216
  }
216
217
  this._onWillClose.fire();
218
+ return result;
217
219
  }
218
220
  mergeGroupsToMainPart() {
219
221
  if (!( this.groups.some(group => group.count > 0))) {
220
- return;
222
+ return true;
221
223
  }
222
224
  let targetGroup = undefined;
223
225
  for (const group of this.editorPartsView.mainPart.getGroups(1 )) {
@@ -229,8 +231,9 @@ let AuxiliaryEditorPartImpl = class AuxiliaryEditorPartImpl extends EditorPart {
229
231
  if (!targetGroup) {
230
232
  targetGroup = this.editorPartsView.mainPart.addGroup(this.editorPartsView.mainPart.activeGroup, this.partOptions.openSideBySideDirection === 'right' ? 3 : 1 );
231
233
  }
232
- this.mergeAllGroups(targetGroup);
234
+ const result = this.mergeAllGroups(targetGroup);
233
235
  targetGroup.focus();
236
+ return result;
234
237
  }
235
238
  };
236
239
  AuxiliaryEditorPartImpl = AuxiliaryEditorPartImpl_1 = ( __decorate([