@codingame/monaco-vscode-output-service-override 37.6.1 → 38.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": "37.6.1",
3
+ "version": "38.0.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - output service-override",
6
6
  "keywords": [],
@@ -15,8 +15,8 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "37.6.1",
19
- "@codingame/monaco-vscode-log-service-override": "37.6.1"
18
+ "@codingame/monaco-vscode-api": "38.0.0",
19
+ "@codingame/monaco-vscode-log-service-override": "38.0.0"
20
20
  },
21
21
  "main": "index.js",
22
22
  "module": "index.js",
@@ -56,10 +56,10 @@ ModesRegistry.registerLanguage({
56
56
  extensions: [],
57
57
  mimetypes: [LOG_MIME]
58
58
  });
59
- const outputViewIcon = registerIcon("output-view-icon", Codicon.output, ( localize(17184, "View icon of the output view.")));
59
+ const outputViewIcon = registerIcon("output-view-icon", Codicon.output, ( localize(19711, "View icon of the output view.")));
60
60
  const VIEW_CONTAINER = ( Registry.as(Extensions.ViewContainersRegistry)).registerViewContainer({
61
61
  id: OUTPUT_VIEW_ID,
62
- title: ( localize2(17185, "Output")),
62
+ title: ( localize2(19712, "Output")),
63
63
  icon: outputViewIcon,
64
64
  order: 1,
65
65
  ctorDescriptor: ( new SyncDescriptor(ViewPaneContainer, [OUTPUT_VIEW_ID, {
@@ -73,14 +73,14 @@ const VIEW_CONTAINER = ( Registry.as(Extensions.ViewContainersRegistry)).registe
73
73
  });
74
74
  ( Registry.as(Extensions.ViewsRegistry)).registerViews([{
75
75
  id: OUTPUT_VIEW_ID,
76
- name: ( localize2(17185, "Output")),
76
+ name: ( localize2(19712, "Output")),
77
77
  containerIcon: outputViewIcon,
78
78
  canMoveView: true,
79
79
  canToggleVisibility: true,
80
80
  ctorDescriptor: ( new SyncDescriptor(OutputViewPane)),
81
81
  openCommandActionDescriptor: {
82
82
  id: "workbench.action.output.toggleOutput",
83
- mnemonicTitle: ( localize(17186, "&&Output")),
83
+ mnemonicTitle: ( localize(19713, "&&Output")),
84
84
  keybindings: {
85
85
  primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyU,
86
86
  linux: {
@@ -121,7 +121,7 @@ let OutputContribution = class OutputContribution extends Disposable {
121
121
  constructor() {
122
122
  super({
123
123
  id: `workbench.output.action.switchBetweenOutputs`,
124
- title: ( localize(17187, "Switch Output"))
124
+ title: ( localize(19714, "Switch Output"))
125
125
  });
126
126
  }
127
127
  async run(accessor, channelId) {
@@ -133,7 +133,7 @@ let OutputContribution = class OutputContribution extends Disposable {
133
133
  const switchOutputMenu = ( new MenuId("workbench.output.menu.switchOutput"));
134
134
  this._register(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
135
135
  submenu: switchOutputMenu,
136
- title: ( localize(17188, "Switch Output")),
136
+ title: ( localize(19715, "Switch Output")),
137
137
  group: "navigation",
138
138
  when: ( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)),
139
139
  order: 1,
@@ -181,8 +181,8 @@ let OutputContribution = class OutputContribution extends Disposable {
181
181
  constructor() {
182
182
  super({
183
183
  id: "workbench.action.output.addCompoundLog",
184
- title: ( localize2(17189, "Add Compound Log...")),
185
- category: ( localize2(17185, "Output")),
184
+ title: ( localize2(19716, "Add Compound Log...")),
185
+ category: ( localize2(19712, "Output")),
186
186
  f1: true,
187
187
  menu: [{
188
188
  id: MenuId.ViewTitle,
@@ -211,14 +211,14 @@ let OutputContribution = class OutputContribution extends Disposable {
211
211
  if (extensionLogs.length && logs.length) {
212
212
  entries.push({
213
213
  type: "separator",
214
- label: ( localize(17190, "Extension Logs"))
214
+ label: ( localize(19717, "Extension Logs"))
215
215
  });
216
216
  }
217
217
  for (const log of extensionLogs.sort((a, b) => a.label.localeCompare(b.label))) {
218
218
  entries.push(log);
219
219
  }
220
220
  const result = await quickInputService.pick(entries, {
221
- placeHolder: ( localize(17191, "Select Log")),
221
+ placeHolder: ( localize(19718, "Select Log")),
222
222
  canPickMany: true
223
223
  });
224
224
  if (result?.length) {
@@ -232,8 +232,8 @@ let OutputContribution = class OutputContribution extends Disposable {
232
232
  constructor() {
233
233
  super({
234
234
  id: "workbench.action.output.remove",
235
- title: ( localize2(17192, "Remove Output...")),
236
- category: ( localize2(17185, "Output")),
235
+ title: ( localize2(19719, "Remove Output...")),
236
+ category: ( localize2(19712, "Output")),
237
237
  f1: true
238
238
  });
239
239
  }
@@ -243,11 +243,11 @@ let OutputContribution = class OutputContribution extends Disposable {
243
243
  const notificationService = accessor.get(INotificationService);
244
244
  const entries = outputService.getChannelDescriptors().filter(channel => channel.user);
245
245
  if (entries.length === 0) {
246
- notificationService.info(( localize(17193, "No custom outputs to remove.")));
246
+ notificationService.info(( localize(19720, "No custom outputs to remove.")));
247
247
  return;
248
248
  }
249
249
  const result = await quickInputService.pick(entries, {
250
- placeHolder: ( localize(17191, "Select Log")),
250
+ placeHolder: ( localize(19718, "Select Log")),
251
251
  canPickMany: true
252
252
  });
253
253
  if (!result?.length) {
@@ -265,8 +265,8 @@ let OutputContribution = class OutputContribution extends Disposable {
265
265
  constructor() {
266
266
  super({
267
267
  id: "workbench.action.showOutputChannels",
268
- title: ( localize2(17194, "Show Output Channels...")),
269
- category: ( localize2(17185, "Output")),
268
+ title: ( localize2(19721, "Show Output Channels...")),
269
+ category: ( localize2(19712, "Output")),
270
270
  f1: true
271
271
  });
272
272
  }
@@ -306,7 +306,7 @@ let OutputContribution = class OutputContribution extends Disposable {
306
306
  });
307
307
  }
308
308
  const entry = await quickInputService.pick(entries, {
309
- placeHolder: ( localize(17195, "Select Output Channel"))
309
+ placeHolder: ( localize(19722, "Select Output Channel"))
310
310
  });
311
311
  if (entry) {
312
312
  return outputService.showChannel(entry.id);
@@ -319,7 +319,7 @@ let OutputContribution = class OutputContribution extends Disposable {
319
319
  constructor() {
320
320
  super({
321
321
  id: `workbench.output.action.clearOutput`,
322
- title: ( localize2(17196, "Clear Output")),
322
+ title: ( localize2(19723, "Clear Output")),
323
323
  category: Categories.View,
324
324
  menu: [{
325
325
  id: MenuId.ViewTitle,
@@ -351,8 +351,8 @@ let OutputContribution = class OutputContribution extends Disposable {
351
351
  constructor() {
352
352
  super({
353
353
  id: `workbench.output.action.toggleAutoScroll`,
354
- title: ( localize2(17197, "Toggle Auto Scrolling")),
355
- tooltip: ( localize(17198, "Turn Auto Scrolling Off")),
354
+ title: ( localize2(19724, "Toggle Auto Scrolling")),
355
+ tooltip: ( localize(19725, "Turn Auto Scrolling Off")),
356
356
  menu: {
357
357
  id: MenuId.ViewTitle,
358
358
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)))),
@@ -363,7 +363,7 @@ let OutputContribution = class OutputContribution extends Disposable {
363
363
  toggled: {
364
364
  condition: CONTEXT_OUTPUT_SCROLL_LOCK,
365
365
  icon: Codicon.unlock,
366
- tooltip: ( localize(17199, "Turn Auto Scrolling On"))
366
+ tooltip: ( localize(19726, "Turn Auto Scrolling On"))
367
367
  }
368
368
  });
369
369
  }
@@ -379,7 +379,7 @@ let OutputContribution = class OutputContribution extends Disposable {
379
379
  constructor() {
380
380
  super({
381
381
  id: `workbench.action.openActiveLogOutputFile`,
382
- title: ( localize2(17200, "Open Output in Editor")),
382
+ title: ( localize2(19727, "Open Output in Editor")),
383
383
  menu: [{
384
384
  id: MenuId.ViewTitle,
385
385
  when: ( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)),
@@ -401,7 +401,7 @@ let OutputContribution = class OutputContribution extends Disposable {
401
401
  constructor() {
402
402
  super({
403
403
  id: `workbench.action.openActiveLogOutputFileInNewWindow`,
404
- title: ( localize2(17201, "Open Output in New Window")),
404
+ title: ( localize2(19728, "Open Output in New Window")),
405
405
  menu: [{
406
406
  id: MenuId.ViewTitle,
407
407
  when: ( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)),
@@ -422,7 +422,7 @@ let OutputContribution = class OutputContribution extends Disposable {
422
422
  constructor() {
423
423
  super({
424
424
  id: `workbench.action.saveActiveLogOutputAs`,
425
- title: ( localize2(17202, "Save Output As...")),
425
+ title: ( localize2(19729, "Save Output As...")),
426
426
  menu: [{
427
427
  id: MenuId.ViewTitle,
428
428
  when: ( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)),
@@ -458,7 +458,7 @@ let OutputContribution = class OutputContribution extends Disposable {
458
458
  const logLevelMenu = ( new MenuId("workbench.output.menu.logLevel"));
459
459
  this._register(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
460
460
  submenu: logLevelMenu,
461
- title: ( localize(17203, "Set Log Level...")),
461
+ title: ( localize(19730, "Set Log Level...")),
462
462
  group: "navigation",
463
463
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)), CONTEXT_ACTIVE_OUTPUT_LEVEL_SETTABLE)),
464
464
  icon: Codicon.gear,
@@ -501,7 +501,7 @@ let OutputContribution = class OutputContribution extends Disposable {
501
501
  constructor() {
502
502
  super({
503
503
  id: `workbench.action.output.activeOutputLogLevelDefault`,
504
- title: ( localize(17204, "Set As Default")),
504
+ title: ( localize(19731, "Set As Default")),
505
505
  menu: {
506
506
  id: logLevelMenu,
507
507
  order,
@@ -530,7 +530,7 @@ let OutputContribution = class OutputContribution extends Disposable {
530
530
  constructor() {
531
531
  super({
532
532
  id: "workbench.action.showLogs",
533
- title: ( localize2(17205, "Show Logs...")),
533
+ title: ( localize2(19732, "Show Logs...")),
534
534
  category: Categories.Developer,
535
535
  menu: {
536
536
  id: MenuId.CommandPalette
@@ -563,7 +563,7 @@ let OutputContribution = class OutputContribution extends Disposable {
563
563
  if (extensionLogs.length && logs.length) {
564
564
  entries.push({
565
565
  type: "separator",
566
- label: ( localize(17190, "Extension Logs"))
566
+ label: ( localize(19717, "Extension Logs"))
567
567
  });
568
568
  }
569
569
  for (const {
@@ -576,7 +576,7 @@ let OutputContribution = class OutputContribution extends Disposable {
576
576
  });
577
577
  }
578
578
  const entry = await quickInputService.pick(entries, {
579
- placeHolder: ( localize(17191, "Select Log"))
579
+ placeHolder: ( localize(19718, "Select Log"))
580
580
  });
581
581
  if (entry) {
582
582
  return outputService.showChannel(entry.id);
@@ -589,7 +589,7 @@ let OutputContribution = class OutputContribution extends Disposable {
589
589
  constructor() {
590
590
  super({
591
591
  id: "workbench.action.openLogFile",
592
- title: ( localize2(17206, "Open Log...")),
592
+ title: ( localize2(19733, "Open Log...")),
593
593
  category: Categories.Developer,
594
594
  menu: {
595
595
  id: MenuId.CommandPalette
@@ -600,7 +600,7 @@ let OutputContribution = class OutputContribution extends Disposable {
600
600
  name: "logFile",
601
601
  schema: {
602
602
  markdownDescription: ( localize(
603
- 17207,
603
+ 19734,
604
604
  "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"
605
605
  )),
606
606
  type: "string"
@@ -642,7 +642,7 @@ let OutputContribution = class OutputContribution extends Disposable {
642
642
  entries.push(...coreChannels.sort((a, b) => a.label.localeCompare(b.label)));
643
643
  }
644
644
  entry = await quickInputService.pick(entries, {
645
- placeHolder: ( localize(17208, "Select Log File"))
645
+ placeHolder: ( localize(19735, "Select Log File"))
646
646
  });
647
647
  }
648
648
  if (entry?.id) {
@@ -669,7 +669,7 @@ let OutputContribution = class OutputContribution extends Disposable {
669
669
  title: LogLevelToLocalizedString(logLevel).value,
670
670
  metadata: {
671
671
  description: ( localize2(
672
- 17209,
672
+ 19736,
673
673
  "Show or hide {0} messages in the output",
674
674
  LogLevelToString(logLevel)
675
675
  ))
@@ -719,7 +719,7 @@ let OutputContribution = class OutputContribution extends Disposable {
719
719
  constructor() {
720
720
  super({
721
721
  id: `workbench.actions.${OUTPUT_VIEW_ID}.clearFilterText`,
722
- title: ( localize(17210, "Clear filters text")),
722
+ title: ( localize(19737, "Clear filters text")),
723
723
  keybinding: {
724
724
  when: OUTPUT_FILTER_FOCUS_CONTEXT,
725
725
  weight: KeybindingWeight.WorkbenchContrib,
@@ -738,7 +738,7 @@ let OutputContribution = class OutputContribution extends Disposable {
738
738
  constructor() {
739
739
  super({
740
740
  id: `workbench.action.exportLogs`,
741
- title: ( localize2(17211, "Export Logs...")),
741
+ title: ( localize2(19738, "Export Logs...")),
742
742
  f1: true,
743
743
  category: Categories.Developer,
744
744
  menu: [{
@@ -771,7 +771,7 @@ let OutputContribution = class OutputContribution extends Disposable {
771
771
  if (extensionLogs.length && logs.length) {
772
772
  entries.push({
773
773
  type: "separator",
774
- label: ( localize(17190, "Extension Logs"))
774
+ label: ( localize(19717, "Extension Logs"))
775
775
  });
776
776
  }
777
777
  for (const log of extensionLogs.sort((a, b) => a.label.localeCompare(b.label))) {
@@ -780,7 +780,7 @@ let OutputContribution = class OutputContribution extends Disposable {
780
780
  if (userLogs.length && (extensionLogs.length || logs.length)) {
781
781
  entries.push({
782
782
  type: "separator",
783
- label: ( localize(17212, "User Logs"))
783
+ label: ( localize(19739, "User Logs"))
784
784
  });
785
785
  }
786
786
  for (const log of userLogs.sort((a, b) => a.label.localeCompare(b.label))) {
@@ -802,7 +802,7 @@ let OutputContribution = class OutputContribution extends Disposable {
802
802
  }
803
803
  } else {
804
804
  selectedOutputChannels = await quickInputService.pick(entries, {
805
- placeHolder: ( localize(17191, "Select Log")),
805
+ placeHolder: ( localize(19718, "Select Log")),
806
806
  canPickMany: true
807
807
  });
808
808
  }
@@ -817,7 +817,7 @@ let OutputContribution = class OutputContribution extends Disposable {
817
817
  constructor() {
818
818
  super({
819
819
  id: `workbench.action.importLog`,
820
- title: ( localize2(17213, "Import Log...")),
820
+ title: ( localize2(19740, "Import Log...")),
821
821
  f1: true,
822
822
  category: Categories.Developer,
823
823
  menu: [{
@@ -832,12 +832,12 @@ let OutputContribution = class OutputContribution extends Disposable {
832
832
  const outputService = accessor.get(IOutputService);
833
833
  const fileDialogService = accessor.get(IFileDialogService);
834
834
  const result = await fileDialogService.showOpenDialog({
835
- title: ( localize(17214, "Import Log File")),
835
+ title: ( localize(19741, "Import Log File")),
836
836
  canSelectFiles: true,
837
837
  canSelectFolders: false,
838
838
  canSelectMany: true,
839
839
  filters: [{
840
- name: ( localize(17215, "Log Files")),
840
+ name: ( localize(19742, "Log Files")),
841
841
  extensions: ["log"]
842
842
  }]
843
843
  });
@@ -867,13 +867,13 @@ OutputContribution = ( __decorate([( __param(0, IOutputService)), ( __param(1, I
867
867
  ( Registry.as(Extensions$3.Configuration)).registerConfiguration({
868
868
  id: "output",
869
869
  order: 30,
870
- title: ( localize(17185, "Output")),
870
+ title: ( localize(19712, "Output")),
871
871
  type: "object",
872
872
  properties: {
873
873
  "output.smartScroll.enabled": {
874
874
  type: "boolean",
875
875
  description: ( localize(
876
- 17216,
876
+ 19743,
877
877
  "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."
878
878
  )),
879
879
  default: true,
@@ -29,90 +29,90 @@ class OutputAccessibilityHelpProvider extends Disposable {
29
29
  }
30
30
  provideContent() {
31
31
  const lines = [];
32
- lines.push(( localize(17217, "Accessibility Help: Output Panel Filter")));
32
+ lines.push(( localize(19744, "Accessibility Help: Output Panel Filter")));
33
33
  lines.push(( localize(
34
- 17218,
34
+ 19745,
35
35
  "You are in the Output panel filter input. This is NOT a navigating search. Instead, it instantly hides lines that do not match your filter, showing only the lines you want to see."
36
36
  )));
37
37
  lines.push("");
38
- lines.push(( localize(17219, "Current Filter Status:")));
39
- lines.push(( localize(17220, "You are filtering the output.")));
38
+ lines.push(( localize(19746, "Current Filter Status:")));
39
+ lines.push(( localize(19747, "You are filtering the output.")));
40
40
  lines.push("");
41
- lines.push(( localize(17221, "Inside the Filter Input (What It Does):")));
41
+ lines.push(( localize(19748, "Inside the Filter Input (What It Does):")));
42
42
  lines.push(( localize(
43
- 17222,
43
+ 19749,
44
44
  "While you are in the filter input, your focus stays in the field. You can type, edit, or adjust your filter without leaving the input. As you type, the Output panel instantly updates to show only lines matching your filter."
45
45
  )));
46
46
  lines.push("");
47
- lines.push(( localize(17223, "What Happens When You Filter:")));
47
+ lines.push(( localize(19750, "What Happens When You Filter:")));
48
48
  lines.push(( localize(
49
- 17224,
49
+ 19751,
50
50
  "Each time you change the filter text, the panel instantly regenerates to show only matching lines. Your screen reader announces how many lines are now visible. This is live feedback: as you type or delete characters, the displayed lines update immediately."
51
51
  )));
52
52
  lines.push(( localize(
53
- 17225,
53
+ 19752,
54
54
  "New output from your running program is appended to the panel and automatically filtered, so matching new output appears instantly."
55
55
  )));
56
56
  lines.push("");
57
- lines.push(( localize(17226, "Focus Behavior (Important):")));
57
+ lines.push(( localize(19753, "Focus Behavior (Important):")));
58
58
  lines.push(( localize(
59
- 17227,
59
+ 19754,
60
60
  "Your focus stays in the filter input while the panel updates in the background. This is intentional, so you can keep typing without losing your place."
61
61
  )));
62
62
  lines.push(( localize(
63
- 17228,
63
+ 19755,
64
64
  "If you want to review the filtered output, press Down Arrow to move focus from the filter into the output content below."
65
65
  )));
66
66
  lines.push(( localize(
67
- 17229,
67
+ 19756,
68
68
  "If you want to clear the filter and see all output, press Escape or delete all filter text."
69
69
  )));
70
70
  lines.push("");
71
- lines.push(( localize(17230, "Filter Syntax and Patterns:")));
71
+ lines.push(( localize(19757, "Filter Syntax and Patterns:")));
72
72
  lines.push(( localize(
73
- 17231,
73
+ 19758,
74
74
  "- Type text: Shows only lines containing that text (case-insensitive by default)."
75
75
  )));
76
76
  lines.push(( localize(
77
- 17232,
77
+ 19759,
78
78
  "- !text (exclude): Hides lines containing 'text', showing all other lines."
79
79
  )));
80
80
  lines.push(( localize(
81
- 17233,
81
+ 19760,
82
82
  "- \\\\! (escape): Use backslash to search for a literal \"!\" character."
83
83
  )));
84
84
  lines.push(( localize(
85
- 17234,
85
+ 19761,
86
86
  "- text1, text2 (multiple patterns): Separate patterns with commas to show lines matching ANY pattern."
87
87
  )));
88
88
  lines.push(( localize(
89
- 17235,
89
+ 19762,
90
90
  "Example: typing \"error, warning\" shows lines containing either \"error\" or \"warning\"."
91
91
  )));
92
92
  lines.push("");
93
- lines.push(( localize(17236, "Keyboard Navigation Summary:")));
94
- lines.push(( localize(17237, "- Down Arrow: Move focus from filter into the output content.")));
95
- lines.push(( localize(17238, "- Tab: Move to log level filter buttons if available.")));
96
- lines.push(( localize(17239, "- Escape: Clear the filter and return to showing all output.")));
93
+ lines.push(( localize(19763, "Keyboard Navigation Summary:")));
94
+ lines.push(( localize(19764, "- Down Arrow: Move focus from filter into the output content.")));
95
+ lines.push(( localize(19765, "- Tab: Move to log level filter buttons if available.")));
96
+ lines.push(( localize(19766, "- Escape: Clear the filter and return to showing all output.")));
97
97
  lines.push("");
98
98
  lines.push(( localize(
99
- 17240,
99
+ 19767,
100
100
  "Settings You Can Adjust ({0} opens Settings):",
101
101
  this._describeCommand("workbench.action.openSettings") || "Ctrl+,"
102
102
  )));
103
- lines.push(( localize(17241, "These settings affect how the Output panel works.")));
103
+ lines.push(( localize(19768, "These settings affect how the Output panel works.")));
104
104
  lines.push(( localize(
105
- 17242,
105
+ 19769,
106
106
  "- `accessibility.verbosity.find`: Controls whether the filter input announces the Accessibility Help hint."
107
107
  )));
108
108
  lines.push(( localize(
109
- 17243,
109
+ 19770,
110
110
  "- `output.smartScroll.enabled`: Automatically scroll to the latest output when messages arrive."
111
111
  )));
112
112
  lines.push("");
113
- lines.push(( localize(17244, "Closing:")));
113
+ lines.push(( localize(19771, "Closing:")));
114
114
  lines.push(( localize(
115
- 17245,
115
+ 19772,
116
116
  "Press Escape to clear the filter and see all output, or close the Output panel. Your filter text is preserved if you reopen the panel."
117
117
  )));
118
118
  return lines.join("\n");
@@ -31,7 +31,7 @@ declare class OutputChannel extends Disposable implements IOutputChannel {
31
31
  readonly id: string;
32
32
  readonly label: string;
33
33
  readonly uri: URI;
34
- constructor(outputChannelDescriptor: IOutputChannelDescriptor, outputLocation: URI, outputDirPromise: Promise<void>, languageService: ILanguageService, instantiationService: IInstantiationService);
34
+ constructor(outputChannelDescriptor: IOutputChannelDescriptor, outputLocation: URI, outputDirPromise: Promise<void>, onDispose: () => void, languageService: ILanguageService, instantiationService: IInstantiationService);
35
35
  private createOutputChannelModel;
36
36
  getLogEntries(): ReadonlyArray<ILogEntry>;
37
37
  append(output: string): void;
@@ -1,6 +1,6 @@
1
1
 
2
2
  import { __decorate, __param } from '@codingame/monaco-vscode-api/external/tslib/tslib.es6';
3
- import { Emitter, Event } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
3
+ import { Event, Emitter } from '@codingame/monaco-vscode-api/vscode/vs/base/common/event';
4
4
  import { Schemas } from '@codingame/monaco-vscode-api/vscode/vs/base/common/network';
5
5
  import { URI } from '@codingame/monaco-vscode-api/vscode/vs/base/common/uri';
6
6
  import { Disposable, DisposableMap } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
@@ -34,6 +34,7 @@ let OutputChannel = class OutputChannel extends Disposable {
34
34
  outputChannelDescriptor,
35
35
  outputLocation,
36
36
  outputDirPromise,
37
+ onDispose,
37
38
  languageService,
38
39
  instantiationService
39
40
  ) {
@@ -51,6 +52,7 @@ let OutputChannel = class OutputChannel extends Disposable {
51
52
  path: this.id
52
53
  }));
53
54
  this.model = this._register(this.createOutputChannelModel(this.uri, outputChannelDescriptor));
55
+ this._register(Event.once(this.model.onDispose)(onDispose));
54
56
  }
55
57
  createOutputChannelModel(uri, outputChannelDescriptor) {
56
58
  const language = outputChannelDescriptor.languageId ? this.languageService.createById(outputChannelDescriptor.languageId) : this.languageService.createByMimeType(outputChannelDescriptor.log ? LOG_MIME : OUTPUT_MIME);
@@ -90,7 +92,7 @@ let OutputChannel = class OutputChannel extends Disposable {
90
92
  this.model.replace(value);
91
93
  }
92
94
  };
93
- OutputChannel = ( __decorate([( __param(3, ILanguageService)), ( __param(4, IInstantiationService))], OutputChannel));
95
+ OutputChannel = ( __decorate([( __param(4, ILanguageService)), ( __param(5, IInstantiationService))], OutputChannel));
94
96
  class OutputViewFilters extends Disposable {
95
97
  constructor(options, contextKeyService) {
96
98
  super();
@@ -448,7 +450,7 @@ let OutputService = class OutputService extends Disposable {
448
450
  if (!uri) {
449
451
  const name = channels.length > 1 ? "output" : channels[0].label;
450
452
  uri = await this.fileDialogService.showSaveDialog({
451
- title: ( localize(17246, "Save Output As")),
453
+ title: ( localize(19773, "Save Output As")),
452
454
  availableFileSystems: [Schemas.file],
453
455
  defaultUri: joinPath(await this.fileDialogService.defaultFilePath(), `${name}.log`),
454
456
  filters: [{
@@ -499,8 +501,7 @@ let OutputService = class OutputService extends Disposable {
499
501
  this.channels.deleteAndDispose(channel.id);
500
502
  }
501
503
  createChannel(id) {
502
- const channel = this.instantiateChannel(id);
503
- this._register(Event.once(channel.model.onDispose)(() => {
504
+ const channel = this.instantiateChannel(id, () => {
504
505
  if (this.activeChannel === channel) {
505
506
  const channels = this.getChannelDescriptors();
506
507
  const channel = channels.length ? this.getChannel(channels[0].id) : undefined;
@@ -511,10 +512,10 @@ let OutputService = class OutputService extends Disposable {
511
512
  }
512
513
  }
513
514
  ( Registry.as(Extensions.OutputChannels)).removeChannel(id);
514
- }));
515
+ });
515
516
  return channel;
516
517
  }
517
- instantiateChannel(id) {
518
+ instantiateChannel(id, onDispose) {
518
519
  const channelData = ( Registry.as(Extensions.OutputChannels)).getChannel(id);
519
520
  if (!channelData) {
520
521
  this.logService.error(`Channel '${id}' is not registered yet`);
@@ -527,7 +528,8 @@ let OutputService = class OutputService extends Disposable {
527
528
  OutputChannel,
528
529
  channelData,
529
530
  this.outputLocation,
530
- this.outputFolderCreationPromise
531
+ this.outputFolderCreationPromise,
532
+ onDispose
531
533
  );
532
534
  }
533
535
  setLevelContext() {
@@ -69,7 +69,7 @@ let OutputViewPane = class OutputViewPane extends FilterViewPane {
69
69
  super({
70
70
  ...options,
71
71
  filterOptions: {
72
- placeholder: ( localize(17247, "Filter (e.g. text, !excludeText, text1,text2)")),
72
+ placeholder: ( localize(19774, "Filter (e.g. text, !excludeText, text1,text2)")),
73
73
  focusContextKey: OUTPUT_FILTER_FOCUS_CONTEXT.key,
74
74
  text: viewState.filter || "",
75
75
  history: []
@@ -179,7 +179,7 @@ let OutputViewPane = class OutputViewPane extends FilterViewPane {
179
179
  this.editorPromise = null;
180
180
  }
181
181
  createInput(channel) {
182
- return this.instantiationService.createInstance(TextResourceEditorInput, channel.uri, ( localize(17248, "{0} - Output", channel.label)), ( localize(17249, "Output channel for '{0}'", channel.label)), undefined, undefined);
182
+ return this.instantiationService.createInstance(TextResourceEditorInput, channel.uri, ( localize(19775, "{0} - Output", channel.label)), ( localize(19776, "Output channel for '{0}'", channel.label)), undefined, undefined);
183
183
  }
184
184
  saveState() {
185
185
  const filters = this.outputService.filters;
@@ -226,7 +226,7 @@ let OutputEditor = class OutputEditor extends AbstractTextResourceEditor {
226
226
  return OUTPUT_VIEW_ID;
227
227
  }
228
228
  getTitle() {
229
- return localize(17250, "Output");
229
+ return localize(19777, "Output");
230
230
  }
231
231
  getConfigurationOverrides(configuration) {
232
232
  const options = super.getConfigurationOverrides(configuration);
@@ -266,7 +266,7 @@ let OutputEditor = class OutputEditor extends AbstractTextResourceEditor {
266
266
  return options;
267
267
  }
268
268
  getAriaLabel() {
269
- return this.input ? this.input.getAriaLabel() : ( localize(17251, "Output panel"));
269
+ return this.input ? this.input.getAriaLabel() : ( localize(19778, "Output panel"));
270
270
  }
271
271
  computeAriaLabel() {
272
272
  return this.input ? computeEditorAriaLabel(this.input, undefined, undefined, this.editorGroupService.count) : this.getAriaLabel();