@codingame/monaco-vscode-output-service-override 26.1.1 → 26.1.2

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": "26.1.1",
3
+ "version": "26.1.2",
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": "26.1.1",
19
- "@codingame/monaco-vscode-log-service-override": "26.1.1"
18
+ "@codingame/monaco-vscode-api": "26.1.2",
19
+ "@codingame/monaco-vscode-log-service-override": "26.1.2"
20
20
  },
21
21
  "main": "index.js",
22
22
  "module": "index.js",
@@ -53,10 +53,10 @@ ModesRegistry.registerLanguage({
53
53
  extensions: [],
54
54
  mimetypes: [LOG_MIME]
55
55
  });
56
- const outputViewIcon = registerIcon("output-view-icon", Codicon.output, ( localize(10111, "View icon of the output view.")));
56
+ const outputViewIcon = registerIcon("output-view-icon", Codicon.output, ( localize(10300, "View icon of the output view.")));
57
57
  const VIEW_CONTAINER = ( Registry.as(Extensions.ViewContainersRegistry)).registerViewContainer({
58
58
  id: OUTPUT_VIEW_ID,
59
- title: ( localize2(10112, "Output")),
59
+ title: ( localize2(10301, "Output")),
60
60
  icon: outputViewIcon,
61
61
  order: 1,
62
62
  ctorDescriptor: ( new SyncDescriptor(ViewPaneContainer, [OUTPUT_VIEW_ID, {
@@ -69,14 +69,14 @@ const VIEW_CONTAINER = ( Registry.as(Extensions.ViewContainersRegistry)).registe
69
69
  });
70
70
  ( Registry.as(Extensions.ViewsRegistry)).registerViews([{
71
71
  id: OUTPUT_VIEW_ID,
72
- name: ( localize2(10112, "Output")),
72
+ name: ( localize2(10301, "Output")),
73
73
  containerIcon: outputViewIcon,
74
74
  canMoveView: true,
75
75
  canToggleVisibility: true,
76
76
  ctorDescriptor: ( new SyncDescriptor(OutputViewPane)),
77
77
  openCommandActionDescriptor: {
78
78
  id: "workbench.action.output.toggleOutput",
79
- mnemonicTitle: ( localize(10113, "&&Output")),
79
+ mnemonicTitle: ( localize(10302, "&&Output")),
80
80
  keybindings: {
81
81
  primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyU,
82
82
  linux: {
@@ -116,7 +116,7 @@ let OutputContribution = class OutputContribution extends Disposable {
116
116
  constructor() {
117
117
  super({
118
118
  id: `workbench.output.action.switchBetweenOutputs`,
119
- title: ( localize(10114, "Switch Output"))
119
+ title: ( localize(10303, "Switch Output"))
120
120
  });
121
121
  }
122
122
  async run(accessor, channelId) {
@@ -128,7 +128,7 @@ let OutputContribution = class OutputContribution extends Disposable {
128
128
  const switchOutputMenu = ( new MenuId("workbench.output.menu.switchOutput"));
129
129
  this._register(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
130
130
  submenu: switchOutputMenu,
131
- title: ( localize(10115, "Switch Output")),
131
+ title: ( localize(10304, "Switch Output")),
132
132
  group: "navigation",
133
133
  when: ( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)),
134
134
  order: 1,
@@ -176,8 +176,8 @@ let OutputContribution = class OutputContribution extends Disposable {
176
176
  constructor() {
177
177
  super({
178
178
  id: "workbench.action.output.addCompoundLog",
179
- title: ( localize2(10116, "Add Compound Log...")),
180
- category: ( localize2(10112, "Output")),
179
+ title: ( localize2(10305, "Add Compound Log...")),
180
+ category: ( localize2(10301, "Output")),
181
181
  f1: true,
182
182
  menu: [{
183
183
  id: MenuId.ViewTitle,
@@ -206,14 +206,14 @@ let OutputContribution = class OutputContribution extends Disposable {
206
206
  if (extensionLogs.length && logs.length) {
207
207
  entries.push({
208
208
  type: "separator",
209
- label: ( localize(10117, "Extension Logs"))
209
+ label: ( localize(10306, "Extension Logs"))
210
210
  });
211
211
  }
212
212
  for (const log of extensionLogs.sort((a, b) => a.label.localeCompare(b.label))) {
213
213
  entries.push(log);
214
214
  }
215
215
  const result = await quickInputService.pick(entries, {
216
- placeHolder: ( localize(10118, "Select Log")),
216
+ placeHolder: ( localize(10307, "Select Log")),
217
217
  canPickMany: true
218
218
  });
219
219
  if (result?.length) {
@@ -227,8 +227,8 @@ let OutputContribution = class OutputContribution extends Disposable {
227
227
  constructor() {
228
228
  super({
229
229
  id: "workbench.action.output.remove",
230
- title: ( localize2(10119, "Remove Output...")),
231
- category: ( localize2(10112, "Output")),
230
+ title: ( localize2(10308, "Remove Output...")),
231
+ category: ( localize2(10301, "Output")),
232
232
  f1: true
233
233
  });
234
234
  }
@@ -238,11 +238,11 @@ let OutputContribution = class OutputContribution extends Disposable {
238
238
  const notificationService = accessor.get(INotificationService);
239
239
  const entries = outputService.getChannelDescriptors().filter(channel => channel.user);
240
240
  if (entries.length === 0) {
241
- notificationService.info(( localize(10120, "No custom outputs to remove.")));
241
+ notificationService.info(( localize(10309, "No custom outputs to remove.")));
242
242
  return;
243
243
  }
244
244
  const result = await quickInputService.pick(entries, {
245
- placeHolder: ( localize(10118, "Select Log")),
245
+ placeHolder: ( localize(10307, "Select Log")),
246
246
  canPickMany: true
247
247
  });
248
248
  if (!result?.length) {
@@ -260,8 +260,8 @@ let OutputContribution = class OutputContribution extends Disposable {
260
260
  constructor() {
261
261
  super({
262
262
  id: "workbench.action.showOutputChannels",
263
- title: ( localize2(10121, "Show Output Channels...")),
264
- category: ( localize2(10112, "Output")),
263
+ title: ( localize2(10310, "Show Output Channels...")),
264
+ category: ( localize2(10301, "Output")),
265
265
  f1: true
266
266
  });
267
267
  }
@@ -301,7 +301,7 @@ let OutputContribution = class OutputContribution extends Disposable {
301
301
  });
302
302
  }
303
303
  const entry = await quickInputService.pick(entries, {
304
- placeHolder: ( localize(10122, "Select Output Channel"))
304
+ placeHolder: ( localize(10311, "Select Output Channel"))
305
305
  });
306
306
  if (entry) {
307
307
  return outputService.showChannel(entry.id);
@@ -314,7 +314,7 @@ let OutputContribution = class OutputContribution extends Disposable {
314
314
  constructor() {
315
315
  super({
316
316
  id: `workbench.output.action.clearOutput`,
317
- title: ( localize2(10123, "Clear Output")),
317
+ title: ( localize2(10312, "Clear Output")),
318
318
  category: Categories.View,
319
319
  menu: [{
320
320
  id: MenuId.ViewTitle,
@@ -346,8 +346,8 @@ let OutputContribution = class OutputContribution extends Disposable {
346
346
  constructor() {
347
347
  super({
348
348
  id: `workbench.output.action.toggleAutoScroll`,
349
- title: ( localize2(10124, "Toggle Auto Scrolling")),
350
- tooltip: ( localize(10125, "Turn Auto Scrolling Off")),
349
+ title: ( localize2(10313, "Toggle Auto Scrolling")),
350
+ tooltip: ( localize(10314, "Turn Auto Scrolling Off")),
351
351
  menu: {
352
352
  id: MenuId.ViewTitle,
353
353
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)))),
@@ -358,7 +358,7 @@ let OutputContribution = class OutputContribution extends Disposable {
358
358
  toggled: {
359
359
  condition: CONTEXT_OUTPUT_SCROLL_LOCK,
360
360
  icon: Codicon.unlock,
361
- tooltip: ( localize(10126, "Turn Auto Scrolling On"))
361
+ tooltip: ( localize(10315, "Turn Auto Scrolling On"))
362
362
  }
363
363
  });
364
364
  }
@@ -374,7 +374,7 @@ let OutputContribution = class OutputContribution extends Disposable {
374
374
  constructor() {
375
375
  super({
376
376
  id: `workbench.action.openActiveLogOutputFile`,
377
- title: ( localize2(10127, "Open Output in Editor")),
377
+ title: ( localize2(10316, "Open Output in Editor")),
378
378
  menu: [{
379
379
  id: MenuId.ViewTitle,
380
380
  when: ( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)),
@@ -396,7 +396,7 @@ let OutputContribution = class OutputContribution extends Disposable {
396
396
  constructor() {
397
397
  super({
398
398
  id: `workbench.action.openActiveLogOutputFileInNewWindow`,
399
- title: ( localize2(10128, "Open Output in New Window")),
399
+ title: ( localize2(10317, "Open Output in New Window")),
400
400
  menu: [{
401
401
  id: MenuId.ViewTitle,
402
402
  when: ( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)),
@@ -417,7 +417,7 @@ let OutputContribution = class OutputContribution extends Disposable {
417
417
  constructor() {
418
418
  super({
419
419
  id: `workbench.action.saveActiveLogOutputAs`,
420
- title: ( localize2(10129, "Save Output As...")),
420
+ title: ( localize2(10318, "Save Output As...")),
421
421
  menu: [{
422
422
  id: MenuId.ViewTitle,
423
423
  when: ( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)),
@@ -453,7 +453,7 @@ let OutputContribution = class OutputContribution extends Disposable {
453
453
  const logLevelMenu = ( new MenuId("workbench.output.menu.logLevel"));
454
454
  this._register(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
455
455
  submenu: logLevelMenu,
456
- title: ( localize(10130, "Set Log Level...")),
456
+ title: ( localize(10319, "Set Log Level...")),
457
457
  group: "navigation",
458
458
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)), CONTEXT_ACTIVE_OUTPUT_LEVEL_SETTABLE)),
459
459
  icon: Codicon.gear,
@@ -496,7 +496,7 @@ let OutputContribution = class OutputContribution extends Disposable {
496
496
  constructor() {
497
497
  super({
498
498
  id: `workbench.action.output.activeOutputLogLevelDefault`,
499
- title: ( localize(10131, "Set As Default")),
499
+ title: ( localize(10320, "Set As Default")),
500
500
  menu: {
501
501
  id: logLevelMenu,
502
502
  order,
@@ -525,7 +525,7 @@ let OutputContribution = class OutputContribution extends Disposable {
525
525
  constructor() {
526
526
  super({
527
527
  id: "workbench.action.showLogs",
528
- title: ( localize2(10132, "Show Logs...")),
528
+ title: ( localize2(10321, "Show Logs...")),
529
529
  category: Categories.Developer,
530
530
  menu: {
531
531
  id: MenuId.CommandPalette
@@ -558,7 +558,7 @@ let OutputContribution = class OutputContribution extends Disposable {
558
558
  if (extensionLogs.length && logs.length) {
559
559
  entries.push({
560
560
  type: "separator",
561
- label: ( localize(10117, "Extension Logs"))
561
+ label: ( localize(10306, "Extension Logs"))
562
562
  });
563
563
  }
564
564
  for (const {
@@ -571,7 +571,7 @@ let OutputContribution = class OutputContribution extends Disposable {
571
571
  });
572
572
  }
573
573
  const entry = await quickInputService.pick(entries, {
574
- placeHolder: ( localize(10118, "Select Log"))
574
+ placeHolder: ( localize(10307, "Select Log"))
575
575
  });
576
576
  if (entry) {
577
577
  return outputService.showChannel(entry.id);
@@ -584,7 +584,7 @@ let OutputContribution = class OutputContribution extends Disposable {
584
584
  constructor() {
585
585
  super({
586
586
  id: "workbench.action.openLogFile",
587
- title: ( localize2(10133, "Open Log...")),
587
+ title: ( localize2(10322, "Open Log...")),
588
588
  category: Categories.Developer,
589
589
  menu: {
590
590
  id: MenuId.CommandPalette
@@ -595,7 +595,7 @@ let OutputContribution = class OutputContribution extends Disposable {
595
595
  name: "logFile",
596
596
  schema: {
597
597
  markdownDescription: ( localize(
598
- 10134,
598
+ 10323,
599
599
  "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"
600
600
  )),
601
601
  type: "string"
@@ -637,7 +637,7 @@ let OutputContribution = class OutputContribution extends Disposable {
637
637
  entries.push(...coreChannels.sort((a, b) => a.label.localeCompare(b.label)));
638
638
  }
639
639
  entry = await quickInputService.pick(entries, {
640
- placeHolder: ( localize(10135, "Select Log File"))
640
+ placeHolder: ( localize(10324, "Select Log File"))
641
641
  });
642
642
  }
643
643
  if (entry?.id) {
@@ -664,7 +664,7 @@ let OutputContribution = class OutputContribution extends Disposable {
664
664
  title: LogLevelToLocalizedString(logLevel).value,
665
665
  metadata: {
666
666
  description: ( localize2(
667
- 10136,
667
+ 10325,
668
668
  "Show or hide {0} messages in the output",
669
669
  LogLevelToString(logLevel)
670
670
  ))
@@ -714,7 +714,7 @@ let OutputContribution = class OutputContribution extends Disposable {
714
714
  constructor() {
715
715
  super({
716
716
  id: `workbench.actions.${OUTPUT_VIEW_ID}.clearFilterText`,
717
- title: ( localize(10137, "Clear filters text")),
717
+ title: ( localize(10326, "Clear filters text")),
718
718
  keybinding: {
719
719
  when: OUTPUT_FILTER_FOCUS_CONTEXT,
720
720
  weight: KeybindingWeight.WorkbenchContrib,
@@ -733,7 +733,7 @@ let OutputContribution = class OutputContribution extends Disposable {
733
733
  constructor() {
734
734
  super({
735
735
  id: `workbench.action.exportLogs`,
736
- title: ( localize2(10138, "Export Logs...")),
736
+ title: ( localize2(10327, "Export Logs...")),
737
737
  f1: true,
738
738
  category: Categories.Developer,
739
739
  menu: [{
@@ -766,7 +766,7 @@ let OutputContribution = class OutputContribution extends Disposable {
766
766
  if (extensionLogs.length && logs.length) {
767
767
  entries.push({
768
768
  type: "separator",
769
- label: ( localize(10117, "Extension Logs"))
769
+ label: ( localize(10306, "Extension Logs"))
770
770
  });
771
771
  }
772
772
  for (const log of extensionLogs.sort((a, b) => a.label.localeCompare(b.label))) {
@@ -775,7 +775,7 @@ let OutputContribution = class OutputContribution extends Disposable {
775
775
  if (userLogs.length && (extensionLogs.length || logs.length)) {
776
776
  entries.push({
777
777
  type: "separator",
778
- label: ( localize(10139, "User Logs"))
778
+ label: ( localize(10328, "User Logs"))
779
779
  });
780
780
  }
781
781
  for (const log of userLogs.sort((a, b) => a.label.localeCompare(b.label))) {
@@ -797,7 +797,7 @@ let OutputContribution = class OutputContribution extends Disposable {
797
797
  }
798
798
  } else {
799
799
  selectedOutputChannels = await quickInputService.pick(entries, {
800
- placeHolder: ( localize(10118, "Select Log")),
800
+ placeHolder: ( localize(10307, "Select Log")),
801
801
  canPickMany: true
802
802
  });
803
803
  }
@@ -812,7 +812,7 @@ let OutputContribution = class OutputContribution extends Disposable {
812
812
  constructor() {
813
813
  super({
814
814
  id: `workbench.action.importLog`,
815
- title: ( localize2(10140, "Import Log...")),
815
+ title: ( localize2(10329, "Import Log...")),
816
816
  f1: true,
817
817
  category: Categories.Developer,
818
818
  menu: [{
@@ -827,12 +827,12 @@ let OutputContribution = class OutputContribution extends Disposable {
827
827
  const outputService = accessor.get(IOutputService);
828
828
  const fileDialogService = accessor.get(IFileDialogService);
829
829
  const result = await fileDialogService.showOpenDialog({
830
- title: ( localize(10141, "Import Log File")),
830
+ title: ( localize(10330, "Import Log File")),
831
831
  canSelectFiles: true,
832
832
  canSelectFolders: false,
833
833
  canSelectMany: true,
834
834
  filters: [{
835
- name: ( localize(10142, "Log Files")),
835
+ name: ( localize(10331, "Log Files")),
836
836
  extensions: ["log"]
837
837
  }]
838
838
  });
@@ -862,13 +862,13 @@ OutputContribution = ( __decorate([( __param(0, IOutputService)), ( __param(1, I
862
862
  ( Registry.as(Extensions$3.Configuration)).registerConfiguration({
863
863
  id: "output",
864
864
  order: 30,
865
- title: ( localize(10112, "Output")),
865
+ title: ( localize(10301, "Output")),
866
866
  type: "object",
867
867
  properties: {
868
868
  "output.smartScroll.enabled": {
869
869
  type: "boolean",
870
870
  description: ( localize(
871
- 10143,
871
+ 10332,
872
872
  "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."
873
873
  )),
874
874
  default: true,
@@ -448,7 +448,7 @@ let OutputService = class OutputService extends Disposable {
448
448
  if (!uri) {
449
449
  const name = channels.length > 1 ? "output" : channels[0].label;
450
450
  uri = await this.fileDialogService.showSaveDialog({
451
- title: ( localize(10144, "Save Output As")),
451
+ title: ( localize(10333, "Save Output As")),
452
452
  availableFileSystems: [Schemas.file],
453
453
  defaultUri: joinPath(await this.fileDialogService.defaultFilePath(), `${name}.log`),
454
454
  filters: [{
@@ -69,7 +69,7 @@ let OutputViewPane = class OutputViewPane extends FilterViewPane {
69
69
  super({
70
70
  ...options,
71
71
  filterOptions: {
72
- placeholder: ( localize(10145, "Filter (e.g. text, !excludeText, text1,text2)")),
72
+ placeholder: ( localize(10334, "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(10146, "{0} - Output", channel.label)), ( localize(10147, "Output channel for '{0}'", channel.label)), undefined, undefined);
182
+ return this.instantiationService.createInstance(TextResourceEditorInput, channel.uri, ( localize(10335, "{0} - Output", channel.label)), ( localize(10336, "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(10148, "Output");
229
+ return localize(10337, "Output");
230
230
  }
231
231
  getConfigurationOverrides(configuration) {
232
232
  const options = super.getConfigurationOverrides(configuration);
@@ -265,7 +265,7 @@ let OutputEditor = class OutputEditor extends AbstractTextResourceEditor {
265
265
  return options;
266
266
  }
267
267
  getAriaLabel() {
268
- return this.input ? this.input.getAriaLabel() : ( localize(10149, "Output panel"));
268
+ return this.input ? this.input.getAriaLabel() : ( localize(10338, "Output panel"));
269
269
  }
270
270
  computeAriaLabel() {
271
271
  return this.input ? computeEditorAriaLabel(this.input, undefined, undefined, this.editorGroupService.count) : this.getAriaLabel();