@codingame/monaco-vscode-output-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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-output-service-override",
3
- "version": "4.5.1",
3
+ "version": "5.0.0",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -29,7 +29,7 @@
29
29
  }
30
30
  },
31
31
  "dependencies": {
32
- "vscode": "npm:@codingame/monaco-vscode-api@4.5.1",
33
- "@codingame/monaco-vscode-log-service-override": "4.5.1"
32
+ "vscode": "npm:@codingame/monaco-vscode-api@5.0.0",
33
+ "@codingame/monaco-vscode-log-service-override": "5.0.0"
34
34
  }
35
35
  }
@@ -30,6 +30,7 @@ import { LogLevelToLocalizedString, LogLevelToString, LogLevel } from 'vscode/vs
30
30
  import { ILoggerService } from 'vscode/vscode/vs/platform/log/common/log.service';
31
31
  import { IDefaultLogLevelsService } from 'vscode/vscode/vs/workbench/contrib/logs/common/defaultLogLevels.service';
32
32
 
33
+ const _moduleId = "vs/workbench/contrib/output/browser/output.contribution";
33
34
  ModesRegistry.registerLanguage({
34
35
  id: OUTPUT_MODE_ID,
35
36
  extensions: [],
@@ -40,45 +41,29 @@ ModesRegistry.registerLanguage({
40
41
  extensions: [],
41
42
  mimetypes: [LOG_MIME]
42
43
  });
43
- const outputViewIcon = registerIcon('output-view-icon', Codicon.output, ( localizeWithPath(
44
- 'vs/workbench/contrib/output/browser/output.contribution',
45
- 'outputViewIcon',
46
- 'View icon of the output view.'
47
- )));
48
- const VIEW_CONTAINER = ( Registry.as(Extensions.ViewContainersRegistry)).registerViewContainer({
44
+ const outputViewIcon = registerIcon('output-view-icon', Codicon.output, ( localizeWithPath(_moduleId, 0, 'View icon of the output view.')));
45
+ const VIEW_CONTAINER = ( (Registry.as(Extensions.ViewContainersRegistry))).registerViewContainer({
49
46
  id: OUTPUT_VIEW_ID,
50
- title: ( localize2WithPath(
51
- 'vs/workbench/contrib/output/browser/output.contribution',
52
- 'output',
53
- "Output"
54
- )),
47
+ title: ( localize2WithPath(_moduleId, 1, "Output")),
55
48
  icon: outputViewIcon,
56
49
  order: 1,
57
- ctorDescriptor: ( new SyncDescriptor(
50
+ ctorDescriptor: ( (new SyncDescriptor(
58
51
  ViewPaneContainer,
59
52
  [OUTPUT_VIEW_ID, { mergeViewWithContainerWhenSingleView: true }]
60
- )),
53
+ ))),
61
54
  storageId: OUTPUT_VIEW_ID,
62
55
  hideIfEmpty: true,
63
56
  }, 1 , { doNotRegisterOpenCommand: true });
64
- ( Registry.as(Extensions.ViewsRegistry)).registerViews([{
57
+ ( (Registry.as(Extensions.ViewsRegistry))).registerViews([{
65
58
  id: OUTPUT_VIEW_ID,
66
- name: ( localize2WithPath(
67
- 'vs/workbench/contrib/output/browser/output.contribution',
68
- 'output',
69
- "Output"
70
- )),
59
+ name: ( localize2WithPath(_moduleId, 1, "Output")),
71
60
  containerIcon: outputViewIcon,
72
61
  canMoveView: true,
73
62
  canToggleVisibility: false,
74
- ctorDescriptor: ( new SyncDescriptor(OutputViewPane)),
63
+ ctorDescriptor: ( (new SyncDescriptor(OutputViewPane))),
75
64
  openCommandActionDescriptor: {
76
65
  id: 'workbench.action.output.toggleOutput',
77
- mnemonicTitle: ( localizeWithPath(
78
- 'vs/workbench/contrib/output/browser/output.contribution',
79
- { key: 'miToggleOutput', comment: ['&& denotes a mnemonic'] },
80
- "&&Output"
81
- )),
66
+ mnemonicTitle: ( localizeWithPath(_moduleId, 2, "&&Output")),
82
67
  keybindings: {
83
68
  primary: 2048 | 1024 | 51 ,
84
69
  linux: {
@@ -112,11 +97,7 @@ let OutputContribution = class OutputContribution extends Disposable {
112
97
  constructor() {
113
98
  super({
114
99
  id: `workbench.output.action.switchBetweenOutputs`,
115
- title: ( localizeWithPath(
116
- 'vs/workbench/contrib/output/browser/output.contribution',
117
- 'switchBetweenOutputs.label',
118
- "Switch Output"
119
- )),
100
+ title: ( localizeWithPath(_moduleId, 3, "Switch Output")),
120
101
  });
121
102
  }
122
103
  async run(accessor, channelId) {
@@ -125,21 +106,17 @@ let OutputContribution = class OutputContribution extends Disposable {
125
106
  }
126
107
  }
127
108
  }));
128
- const switchOutputMenu = ( new MenuId('workbench.output.menu.switchOutput'));
109
+ const switchOutputMenu = ( (new MenuId('workbench.output.menu.switchOutput')));
129
110
  this._register(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
130
111
  submenu: switchOutputMenu,
131
- title: ( localizeWithPath(
132
- 'vs/workbench/contrib/output/browser/output.contribution',
133
- 'switchToOutput.label',
134
- "Switch Output"
135
- )),
112
+ title: ( localizeWithPath(_moduleId, 4, "Switch Output")),
136
113
  group: 'navigation',
137
- when: ( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)),
114
+ when: ( (ContextKeyExpr.equals('view', OUTPUT_VIEW_ID))),
138
115
  order: 1,
139
116
  isSelection: true
140
117
  }));
141
- const registeredChannels = ( new Map());
142
- this._register(toDisposable(() => dispose(( registeredChannels.values()))));
118
+ const registeredChannels = ( (new Map()));
119
+ this._register(toDisposable(() => dispose(( (registeredChannels.values())))));
143
120
  const registerOutputChannels = (channels) => {
144
121
  for (const channel of channels) {
145
122
  const title = channel.label;
@@ -149,7 +126,7 @@ let OutputContribution = class OutputContribution extends Disposable {
149
126
  super({
150
127
  id: `workbench.action.output.show.${channel.id}`,
151
128
  title,
152
- toggled: ( ACTIVE_OUTPUT_CHANNEL_CONTEXT.isEqualTo(channel.id)),
129
+ toggled: ( (ACTIVE_OUTPUT_CHANNEL_CONTEXT.isEqualTo(channel.id))),
153
130
  menu: {
154
131
  id: switchOutputMenu,
155
132
  group,
@@ -163,7 +140,7 @@ let OutputContribution = class OutputContribution extends Disposable {
163
140
  }
164
141
  };
165
142
  registerOutputChannels(this.outputService.getChannelDescriptors());
166
- const outputChannelRegistry = ( Registry.as(Extensions$1.OutputChannels));
143
+ const outputChannelRegistry = ( (Registry.as(Extensions$1.OutputChannels)));
167
144
  this._register(outputChannelRegistry.onDidRegisterChannel(e => {
168
145
  const channel = this.outputService.getChannelDescriptor(e);
169
146
  if (channel) {
@@ -180,16 +157,8 @@ let OutputContribution = class OutputContribution extends Disposable {
180
157
  constructor() {
181
158
  super({
182
159
  id: 'workbench.action.showOutputChannels',
183
- title: ( localize2WithPath(
184
- 'vs/workbench/contrib/output/browser/output.contribution',
185
- 'showOutputChannels',
186
- "Show Output Channels..."
187
- )),
188
- category: ( localize2WithPath(
189
- 'vs/workbench/contrib/output/browser/output.contribution',
190
- 'output',
191
- "Output"
192
- )),
160
+ title: ( localize2WithPath(_moduleId, 5, "Show Output Channels...")),
161
+ category: ( localize2WithPath(_moduleId, 1, "Output")),
193
162
  f1: true
194
163
  });
195
164
  }
@@ -215,11 +184,7 @@ let OutputContribution = class OutputContribution extends Disposable {
215
184
  for (const { id, label } of coreChannels) {
216
185
  entries.push({ id, label });
217
186
  }
218
- const entry = await quickInputService.pick(entries, { placeHolder: ( localizeWithPath(
219
- 'vs/workbench/contrib/output/browser/output.contribution',
220
- 'selectOutput',
221
- "Select Output Channel"
222
- )) });
187
+ const entry = await quickInputService.pick(entries, { placeHolder: ( localizeWithPath(_moduleId, 6, "Select Output Channel")) });
223
188
  if (entry) {
224
189
  return outputService.showChannel(entry.id);
225
190
  }
@@ -231,15 +196,11 @@ let OutputContribution = class OutputContribution extends Disposable {
231
196
  constructor() {
232
197
  super({
233
198
  id: `workbench.output.action.clearOutput`,
234
- title: ( localize2WithPath(
235
- 'vs/workbench/contrib/output/browser/output.contribution',
236
- 'clearOutput.label',
237
- "Clear Output"
238
- )),
199
+ title: ( localize2WithPath(_moduleId, 7, "Clear Output")),
239
200
  category: Categories.View,
240
201
  menu: [{
241
202
  id: MenuId.ViewTitle,
242
- when: ( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)),
203
+ when: ( (ContextKeyExpr.equals('view', OUTPUT_VIEW_ID))),
243
204
  group: 'navigation',
244
205
  order: 2
245
206
  }, {
@@ -267,19 +228,11 @@ let OutputContribution = class OutputContribution extends Disposable {
267
228
  constructor() {
268
229
  super({
269
230
  id: `workbench.output.action.toggleAutoScroll`,
270
- title: ( localize2WithPath(
271
- 'vs/workbench/contrib/output/browser/output.contribution',
272
- 'toggleAutoScroll',
273
- "Toggle Auto Scrolling"
274
- )),
275
- tooltip: ( localizeWithPath(
276
- 'vs/workbench/contrib/output/browser/output.contribution',
277
- 'outputScrollOff',
278
- "Turn Auto Scrolling Off"
279
- )),
231
+ title: ( localize2WithPath(_moduleId, 8, "Toggle Auto Scrolling")),
232
+ tooltip: ( localizeWithPath(_moduleId, 9, "Turn Auto Scrolling Off")),
280
233
  menu: {
281
234
  id: MenuId.ViewTitle,
282
- when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)))),
235
+ when: ( (ContextKeyExpr.and( (ContextKeyExpr.equals('view', OUTPUT_VIEW_ID))))),
283
236
  group: 'navigation',
284
237
  order: 3,
285
238
  },
@@ -287,11 +240,7 @@ let OutputContribution = class OutputContribution extends Disposable {
287
240
  toggled: {
288
241
  condition: CONTEXT_OUTPUT_SCROLL_LOCK,
289
242
  icon: Codicon.unlock,
290
- tooltip: ( localizeWithPath(
291
- 'vs/workbench/contrib/output/browser/output.contribution',
292
- 'outputScrollOn',
293
- "Turn Auto Scrolling On"
294
- ))
243
+ tooltip: ( localizeWithPath(_moduleId, 10, "Turn Auto Scrolling On"))
295
244
  }
296
245
  });
297
246
  }
@@ -307,14 +256,10 @@ let OutputContribution = class OutputContribution extends Disposable {
307
256
  constructor() {
308
257
  super({
309
258
  id: `workbench.action.openActiveLogOutputFile`,
310
- title: ( localize2WithPath(
311
- 'vs/workbench/contrib/output/browser/output.contribution',
312
- 'openActiveOutputFile',
313
- "Open Output in Editor"
314
- )),
259
+ title: ( localize2WithPath(_moduleId, 11, "Open Output in Editor")),
315
260
  menu: [{
316
261
  id: MenuId.ViewTitle,
317
- when: ( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)),
262
+ when: ( (ContextKeyExpr.equals('view', OUTPUT_VIEW_ID))),
318
263
  group: 'navigation',
319
264
  order: 4,
320
265
  isHiddenByDefault: true
@@ -334,14 +279,10 @@ let OutputContribution = class OutputContribution extends Disposable {
334
279
  constructor() {
335
280
  super({
336
281
  id: `workbench.action.openActiveLogOutputFileInNewWindow`,
337
- title: ( localize2WithPath(
338
- 'vs/workbench/contrib/output/browser/output.contribution',
339
- 'openActiveOutputFileInNewWindow',
340
- "Open Output in New Window"
341
- )),
282
+ title: ( localize2WithPath(_moduleId, 12, "Open Output in New Window")),
342
283
  menu: [{
343
284
  id: MenuId.ViewTitle,
344
- when: ( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)),
285
+ when: ( (ContextKeyExpr.equals('view', OUTPUT_VIEW_ID))),
345
286
  group: 'navigation',
346
287
  order: 5,
347
288
  isHiddenByDefault: true
@@ -379,16 +320,15 @@ let OutputContribution = class OutputContribution extends Disposable {
379
320
  }
380
321
  registerConfigureActiveOutputLogLevelAction() {
381
322
  const that = this;
382
- const logLevelMenu = ( new MenuId('workbench.output.menu.logLevel'));
323
+ const logLevelMenu = ( (new MenuId('workbench.output.menu.logLevel')));
383
324
  this._register(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
384
325
  submenu: logLevelMenu,
385
- title: ( localizeWithPath(
386
- 'vs/workbench/contrib/output/browser/output.contribution',
387
- 'logLevel.label',
388
- "Set Log Level..."
389
- )),
326
+ title: ( localizeWithPath(_moduleId, 13, "Set Log Level...")),
390
327
  group: 'navigation',
391
- when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)), CONTEXT_ACTIVE_OUTPUT_LEVEL_SETTABLE)),
328
+ when: ( (ContextKeyExpr.and(
329
+ (ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)),
330
+ CONTEXT_ACTIVE_OUTPUT_LEVEL_SETTABLE
331
+ ))),
392
332
  icon: Codicon.gear,
393
333
  order: 6
394
334
  }));
@@ -399,7 +339,7 @@ let OutputContribution = class OutputContribution extends Disposable {
399
339
  super({
400
340
  id: `workbench.action.output.activeOutputLogLevel.${logLevel}`,
401
341
  title: LogLevelToLocalizedString(logLevel).value,
402
- toggled: ( CONTEXT_ACTIVE_OUTPUT_LEVEL.isEqualTo(LogLevelToString(logLevel))),
342
+ toggled: ( (CONTEXT_ACTIVE_OUTPUT_LEVEL.isEqualTo(LogLevelToString(logLevel)))),
403
343
  menu: {
404
344
  id: logLevelMenu,
405
345
  order: order++,
@@ -428,17 +368,13 @@ let OutputContribution = class OutputContribution extends Disposable {
428
368
  constructor() {
429
369
  super({
430
370
  id: `workbench.action.output.activeOutputLogLevelDefault`,
431
- title: ( localizeWithPath(
432
- 'vs/workbench/contrib/output/browser/output.contribution',
433
- 'logLevelDefault.label',
434
- "Set As Default"
435
- )),
371
+ title: ( localizeWithPath(_moduleId, 14, "Set As Default")),
436
372
  menu: {
437
373
  id: logLevelMenu,
438
374
  order,
439
375
  group: '1_default'
440
376
  },
441
- precondition: ( CONTEXT_ACTIVE_OUTPUT_LEVEL_IS_DEFAULT.negate())
377
+ precondition: ( (CONTEXT_ACTIVE_OUTPUT_LEVEL_IS_DEFAULT.negate()))
442
378
  });
443
379
  }
444
380
  async run(accessor) {
@@ -458,11 +394,7 @@ let OutputContribution = class OutputContribution extends Disposable {
458
394
  constructor() {
459
395
  super({
460
396
  id: 'workbench.action.showLogs',
461
- title: ( localize2WithPath(
462
- 'vs/workbench/contrib/output/browser/output.contribution',
463
- 'showLogs',
464
- "Show Logs..."
465
- )),
397
+ title: ( localize2WithPath(_moduleId, 15, "Show Logs...")),
466
398
  category: Categories.Developer,
467
399
  menu: {
468
400
  id: MenuId.CommandPalette,
@@ -488,20 +420,12 @@ let OutputContribution = class OutputContribution extends Disposable {
488
420
  entries.push({ id, label });
489
421
  }
490
422
  if (extensionLogs.length && logs.length) {
491
- entries.push({ type: 'separator', label: ( localizeWithPath(
492
- 'vs/workbench/contrib/output/browser/output.contribution',
493
- 'extensionLogs',
494
- "Extension Logs"
495
- )) });
423
+ entries.push({ type: 'separator', label: ( localizeWithPath(_moduleId, 16, "Extension Logs")) });
496
424
  }
497
425
  for (const { id, label } of extensionLogs) {
498
426
  entries.push({ id, label });
499
427
  }
500
- const entry = await quickInputService.pick(entries, { placeHolder: ( localizeWithPath(
501
- 'vs/workbench/contrib/output/browser/output.contribution',
502
- 'selectlog',
503
- "Select Log"
504
- )) });
428
+ const entry = await quickInputService.pick(entries, { placeHolder: ( localizeWithPath(_moduleId, 17, "Select Log")) });
505
429
  if (entry) {
506
430
  return outputService.showChannel(entry.id);
507
431
  }
@@ -513,11 +437,7 @@ let OutputContribution = class OutputContribution extends Disposable {
513
437
  constructor() {
514
438
  super({
515
439
  id: 'workbench.action.openLogFile',
516
- title: ( localize2WithPath(
517
- 'vs/workbench/contrib/output/browser/output.contribution',
518
- 'openLogFile',
519
- "Open Log File..."
520
- )),
440
+ title: ( localize2WithPath(_moduleId, 18, "Open Log File...")),
521
441
  category: Categories.Developer,
522
442
  menu: {
523
443
  id: MenuId.CommandPalette,
@@ -528,8 +448,8 @@ let OutputContribution = class OutputContribution extends Disposable {
528
448
  name: 'logFile',
529
449
  schema: {
530
450
  markdownDescription: ( localizeWithPath(
531
- 'vs/workbench/contrib/output/browser/output.contribution',
532
- 'logFile',
451
+ _moduleId,
452
+ 19,
533
453
  "The id of the log file to open, for example `\"window\"`. Currently the best way to get this is to get the ID by checking the `workbench.action.output.show.<id>` commands"
534
454
  )),
535
455
  type: 'string'
@@ -567,11 +487,7 @@ let OutputContribution = class OutputContribution extends Disposable {
567
487
  entries.push({ type: 'separator' });
568
488
  entries.push(...coreChannels.sort((a, b) => a.label.localeCompare(b.label)));
569
489
  }
570
- entry = await quickInputService.pick(entries, { placeHolder: ( localizeWithPath(
571
- 'vs/workbench/contrib/output/browser/output.contribution',
572
- 'selectlogFile',
573
- "Select Log File"
574
- )) });
490
+ entry = await quickInputService.pick(entries, { placeHolder: ( localizeWithPath(_moduleId, 20, "Select Log File")) });
575
491
  }
576
492
  if (entry) {
577
493
  const resource = assertIsDefined(entry.channel.file);
@@ -587,27 +503,23 @@ let OutputContribution = class OutputContribution extends Disposable {
587
503
  }));
588
504
  }
589
505
  };
590
- OutputContribution = ( __decorate([
591
- ( __param(0, IOutputService)),
592
- ( __param(1, IEditorService)),
593
- ( __param(2, IFilesConfigurationService))
594
- ], OutputContribution));
595
- ( Registry.as(Extensions$2.Workbench)).registerWorkbenchContribution(OutputContribution, 3 );
596
- ( Registry.as(Extensions$3.Configuration)).registerConfiguration({
506
+ OutputContribution = ( (__decorate([
507
+ ( (__param(0, IOutputService))),
508
+ ( (__param(1, IEditorService))),
509
+ ( (__param(2, IFilesConfigurationService)))
510
+ ], OutputContribution)));
511
+ ( (Registry.as(Extensions$2.Workbench))).registerWorkbenchContribution(OutputContribution, 3 );
512
+ ( (Registry.as(Extensions$3.Configuration))).registerConfiguration({
597
513
  id: 'output',
598
514
  order: 30,
599
- title: ( localizeWithPath(
600
- 'vs/workbench/contrib/output/browser/output.contribution',
601
- 'output',
602
- "Output"
603
- )),
515
+ title: ( localizeWithPath(_moduleId, 1, "Output")),
604
516
  type: 'object',
605
517
  properties: {
606
518
  'output.smartScroll.enabled': {
607
519
  type: 'boolean',
608
520
  description: ( localizeWithPath(
609
- 'vs/workbench/contrib/output/browser/output.contribution',
610
- 'output.smartScroll.enabled',
521
+ _moduleId,
522
+ 21,
611
523
  "Enable/disable the ability of smart scrolling in the output view. Smart scrolling allows you to lock scrolling automatically when you click in the output view and unlocks when you click in the last line."
612
524
  )),
613
525
  default: true,
@@ -153,7 +153,7 @@ let OutputService = class OutputService extends Disposable {
153
153
  const channelData = ( Registry.as(Extensions.OutputChannels)).getChannel(id);
154
154
  if (!channelData) {
155
155
  this.logService.error(`Channel '${id}' is not registered yet`);
156
- throw new Error(`Channel '${id}' is not registered yet`);
156
+ throw ( new Error(`Channel '${id}' is not registered yet`));
157
157
  }
158
158
  return this.instantiationService.createInstance(OutputChannel, channelData);
159
159
  }
@@ -24,15 +24,17 @@ import { IFileService } from 'vscode/vscode/vs/platform/files/common/files.servi
24
24
  import { ResourceContextKey } from 'vscode/vscode/vs/workbench/common/contextkeys';
25
25
  import { ServiceCollection } from 'vscode/vscode/vs/platform/instantiation/common/serviceCollection';
26
26
  import { computeEditorAriaLabel } from 'vscode/vscode/vs/workbench/browser/editor';
27
+ import { IHoverService } from 'vscode/vscode/vs/platform/hover/browser/hover.service';
27
28
 
29
+ const _moduleId = "vs/workbench/contrib/output/browser/outputView";
28
30
  let OutputViewPane = class OutputViewPane extends ViewPane {
29
31
  get scrollLock() { return !!this.scrollLockContextKey.get(); }
30
32
  set scrollLock(scrollLock) { this.scrollLockContextKey.set(scrollLock); }
31
- constructor(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService) {
32
- super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService);
33
+ constructor(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService) {
34
+ super(options, keybindingService, contextMenuService, configurationService, contextKeyService, viewDescriptorService, instantiationService, openerService, themeService, telemetryService, hoverService);
33
35
  this.editorPromise = null;
34
36
  this.scrollLockContextKey = CONTEXT_OUTPUT_SCROLL_LOCK.bindTo(this.contextKeyService);
35
- const editorInstantiationService = instantiationService.createChild(( new ServiceCollection([IContextKeyService, this.scopedContextKeyService])));
37
+ const editorInstantiationService = instantiationService.createChild(( (new ServiceCollection([IContextKeyService, this.scopedContextKeyService]))));
36
38
  this.editor = editorInstantiationService.createInstance(OutputEditor);
37
39
  this._register(this.editor.onTitleAreaUpdate(() => {
38
40
  this.updateTitle(this.editor.getTitle());
@@ -80,7 +82,7 @@ let OutputViewPane = class OutputViewPane extends ViewPane {
80
82
  }
81
83
  layoutBody(height, width) {
82
84
  super.layoutBody(height, width);
83
- this.editor.layout(( new Dimension(width, height)));
85
+ this.editor.layout(( (new Dimension(width, height))));
84
86
  }
85
87
  onDidChangeVisibility(visible) {
86
88
  this.editor.setVisible(visible);
@@ -103,30 +105,21 @@ let OutputViewPane = class OutputViewPane extends ViewPane {
103
105
  this.editorPromise = null;
104
106
  }
105
107
  createInput(channel) {
106
- return this.instantiationService.createInstance(TextResourceEditorInput, channel.uri, ( localizeWithPath(
107
- 'vs/workbench/contrib/output/browser/outputView',
108
- 'output model title',
109
- "{0} - Output",
110
- channel.label
111
- )), ( localizeWithPath(
112
- 'vs/workbench/contrib/output/browser/outputView',
113
- 'channel',
114
- "Output channel for '{0}'",
115
- channel.label
116
- )), undefined, undefined);
108
+ return this.instantiationService.createInstance(TextResourceEditorInput, channel.uri, ( localizeWithPath(_moduleId, 0, "{0} - Output", channel.label)), ( localizeWithPath(_moduleId, 1, "Output channel for '{0}'", channel.label)), undefined, undefined);
117
109
  }
118
110
  };
119
- OutputViewPane = ( __decorate([
120
- ( __param(1, IKeybindingService)),
121
- ( __param(2, IContextMenuService)),
122
- ( __param(3, IConfigurationService)),
123
- ( __param(4, IContextKeyService)),
124
- ( __param(5, IViewDescriptorService)),
125
- ( __param(6, IInstantiationService)),
126
- ( __param(7, IOpenerService)),
127
- ( __param(8, IThemeService)),
128
- ( __param(9, ITelemetryService))
129
- ], OutputViewPane));
111
+ OutputViewPane = ( (__decorate([
112
+ ( (__param(1, IKeybindingService))),
113
+ ( (__param(2, IContextMenuService))),
114
+ ( (__param(3, IConfigurationService))),
115
+ ( (__param(4, IContextKeyService))),
116
+ ( (__param(5, IViewDescriptorService))),
117
+ ( (__param(6, IInstantiationService))),
118
+ ( (__param(7, IOpenerService))),
119
+ ( (__param(8, IThemeService))),
120
+ ( (__param(9, ITelemetryService))),
121
+ ( (__param(10, IHoverService)))
122
+ ], OutputViewPane)));
130
123
  let OutputEditor = class OutputEditor extends AbstractTextResourceEditor {
131
124
  constructor(telemetryService, instantiationService, storageService, configurationService, textResourceConfigurationService, themeService, editorGroupService, editorService, fileService) {
132
125
  super(OUTPUT_VIEW_ID, editorGroupService.activeGroup , telemetryService, instantiationService, storageService, textResourceConfigurationService, themeService, editorGroupService, editorService, fileService);
@@ -137,7 +130,7 @@ let OutputEditor = class OutputEditor extends AbstractTextResourceEditor {
137
130
  return OUTPUT_VIEW_ID;
138
131
  }
139
132
  getTitle() {
140
- return ( localizeWithPath('vs/workbench/contrib/output/browser/outputView', 'output', "Output"));
133
+ return ( localizeWithPath(_moduleId, 2, "Output"));
141
134
  }
142
135
  getConfigurationOverrides(configuration) {
143
136
  const options = super.getConfigurationOverrides(configuration);
@@ -171,11 +164,7 @@ let OutputEditor = class OutputEditor extends AbstractTextResourceEditor {
171
164
  return options;
172
165
  }
173
166
  getAriaLabel() {
174
- return this.input ? this.input.getAriaLabel() : ( localizeWithPath(
175
- 'vs/workbench/contrib/output/browser/outputView',
176
- 'outputViewAriaLabel',
177
- "Output panel"
178
- ));
167
+ return this.input ? this.input.getAriaLabel() : ( localizeWithPath(_moduleId, 3, "Output panel"));
179
168
  }
180
169
  computeAriaLabel() {
181
170
  return this.input ? computeEditorAriaLabel(this.input, undefined, undefined, this.editorGroupService.count) : this.getAriaLabel();
@@ -211,16 +200,16 @@ let OutputEditor = class OutputEditor extends AbstractTextResourceEditor {
211
200
  }
212
201
  }
213
202
  };
214
- OutputEditor = ( __decorate([
215
- ( __param(0, ITelemetryService)),
216
- ( __param(1, IInstantiationService)),
217
- ( __param(2, IStorageService)),
218
- ( __param(3, IConfigurationService)),
219
- ( __param(4, ITextResourceConfigurationService)),
220
- ( __param(5, IThemeService)),
221
- ( __param(6, IEditorGroupsService)),
222
- ( __param(7, IEditorService)),
223
- ( __param(8, IFileService))
224
- ], OutputEditor));
203
+ OutputEditor = ( (__decorate([
204
+ ( (__param(0, ITelemetryService))),
205
+ ( (__param(1, IInstantiationService))),
206
+ ( (__param(2, IStorageService))),
207
+ ( (__param(3, IConfigurationService))),
208
+ ( (__param(4, ITextResourceConfigurationService))),
209
+ ( (__param(5, IThemeService))),
210
+ ( (__param(6, IEditorGroupsService))),
211
+ ( (__param(7, IEditorService))),
212
+ ( (__param(8, IFileService)))
213
+ ], OutputEditor)));
225
214
 
226
215
  export { OutputViewPane };
@@ -87,10 +87,10 @@ let FileOutputChannelModel = class FileOutputChannelModel extends Disposable {
87
87
  this._register(toDisposable(() => this.fileHandler.unwatch()));
88
88
  }
89
89
  append(message) {
90
- throw new Error('Not supported');
90
+ throw ( new Error('Not supported'));
91
91
  }
92
92
  replace(message) {
93
- throw new Error('Not supported');
93
+ throw ( new Error('Not supported'));
94
94
  }
95
95
  clear() {
96
96
  this.update(OutputChannelUpdateMode.Clear, this.endOffset, true);