@codingame/monaco-vscode-output-service-override 22.1.5 → 22.1.6

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": "22.1.5",
3
+ "version": "22.1.6",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - output service-override",
6
6
  "keywords": [],
@@ -15,14 +15,14 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common": "22.1.5",
19
- "@codingame/monaco-vscode-523730aa-81e6-55d7-9916-87ad537fe087-common": "22.1.5",
20
- "@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "22.1.5",
21
- "@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "22.1.5",
22
- "@codingame/monaco-vscode-ab07af84-42e8-5a0f-8aef-b83fb90ede21-common": "22.1.5",
23
- "@codingame/monaco-vscode-api": "22.1.5",
24
- "@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common": "22.1.5",
25
- "@codingame/monaco-vscode-log-service-override": "22.1.5"
18
+ "@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common": "22.1.6",
19
+ "@codingame/monaco-vscode-523730aa-81e6-55d7-9916-87ad537fe087-common": "22.1.6",
20
+ "@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "22.1.6",
21
+ "@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "22.1.6",
22
+ "@codingame/monaco-vscode-ab07af84-42e8-5a0f-8aef-b83fb90ede21-common": "22.1.6",
23
+ "@codingame/monaco-vscode-api": "22.1.6",
24
+ "@codingame/monaco-vscode-caeb744c-8e3f-5c11-80fb-0f057d24d544-common": "22.1.6",
25
+ "@codingame/monaco-vscode-log-service-override": "22.1.6"
26
26
  },
27
27
  "main": "index.js",
28
28
  "module": "index.js",
@@ -52,10 +52,10 @@ ModesRegistry.registerLanguage({
52
52
  extensions: [],
53
53
  mimetypes: [LOG_MIME]
54
54
  });
55
- const outputViewIcon = registerIcon('output-view-icon', Codicon.output, ( localize(9363, 'View icon of the output view.')));
55
+ const outputViewIcon = registerIcon('output-view-icon', Codicon.output, ( localize(9364, 'View icon of the output view.')));
56
56
  const VIEW_CONTAINER = ( Registry.as(Extensions.ViewContainersRegistry)).registerViewContainer({
57
57
  id: OUTPUT_VIEW_ID,
58
- title: ( localize2(9364, "Output")),
58
+ title: ( localize2(9365, "Output")),
59
59
  icon: outputViewIcon,
60
60
  order: 1,
61
61
  ctorDescriptor: ( new SyncDescriptor(
@@ -67,14 +67,14 @@ const VIEW_CONTAINER = ( Registry.as(Extensions.ViewContainersRegistry)).registe
67
67
  }, ViewContainerLocation.Panel, { doNotRegisterOpenCommand: true });
68
68
  ( Registry.as(Extensions.ViewsRegistry)).registerViews([{
69
69
  id: OUTPUT_VIEW_ID,
70
- name: ( localize2(9364, "Output")),
70
+ name: ( localize2(9365, "Output")),
71
71
  containerIcon: outputViewIcon,
72
72
  canMoveView: true,
73
73
  canToggleVisibility: true,
74
74
  ctorDescriptor: ( new SyncDescriptor(OutputViewPane)),
75
75
  openCommandActionDescriptor: {
76
76
  id: 'workbench.action.output.toggleOutput',
77
- mnemonicTitle: ( localize(9365, "&&Output")),
77
+ mnemonicTitle: ( localize(9366, "&&Output")),
78
78
  keybindings: {
79
79
  primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyU,
80
80
  linux: {
@@ -114,7 +114,7 @@ let OutputContribution = class OutputContribution extends Disposable {
114
114
  constructor() {
115
115
  super({
116
116
  id: `workbench.output.action.switchBetweenOutputs`,
117
- title: ( localize(9366, "Switch Output")),
117
+ title: ( localize(9367, "Switch Output")),
118
118
  });
119
119
  }
120
120
  async run(accessor, channelId) {
@@ -126,7 +126,7 @@ let OutputContribution = class OutputContribution extends Disposable {
126
126
  const switchOutputMenu = ( new MenuId('workbench.output.menu.switchOutput'));
127
127
  this._register(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
128
128
  submenu: switchOutputMenu,
129
- title: ( localize(9367, "Switch Output")),
129
+ title: ( localize(9368, "Switch Output")),
130
130
  group: 'navigation',
131
131
  when: ( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)),
132
132
  order: 1,
@@ -174,8 +174,8 @@ let OutputContribution = class OutputContribution extends Disposable {
174
174
  constructor() {
175
175
  super({
176
176
  id: 'workbench.action.output.addCompoundLog',
177
- title: ( localize2(9368, "Add Compound Log...")),
178
- category: ( localize2(9364, "Output")),
177
+ title: ( localize2(9369, "Add Compound Log...")),
178
+ category: ( localize2(9365, "Output")),
179
179
  f1: true,
180
180
  menu: [{
181
181
  id: MenuId.ViewTitle,
@@ -203,12 +203,12 @@ let OutputContribution = class OutputContribution extends Disposable {
203
203
  entries.push(log);
204
204
  }
205
205
  if (extensionLogs.length && logs.length) {
206
- entries.push({ type: 'separator', label: ( localize(9369, "Extension Logs")) });
206
+ entries.push({ type: 'separator', label: ( localize(9370, "Extension Logs")) });
207
207
  }
208
208
  for (const log of extensionLogs.sort((a, b) => a.label.localeCompare(b.label))) {
209
209
  entries.push(log);
210
210
  }
211
- const result = await quickInputService.pick(entries, { placeHolder: ( localize(9370, "Select Log")), canPickMany: true });
211
+ const result = await quickInputService.pick(entries, { placeHolder: ( localize(9371, "Select Log")), canPickMany: true });
212
212
  if (result?.length) {
213
213
  outputService.showChannel(outputService.registerCompoundLogChannel(result));
214
214
  }
@@ -220,8 +220,8 @@ let OutputContribution = class OutputContribution extends Disposable {
220
220
  constructor() {
221
221
  super({
222
222
  id: 'workbench.action.output.remove',
223
- title: ( localize2(9371, "Remove Output...")),
224
- category: ( localize2(9364, "Output")),
223
+ title: ( localize2(9372, "Remove Output...")),
224
+ category: ( localize2(9365, "Output")),
225
225
  f1: true
226
226
  });
227
227
  }
@@ -231,10 +231,10 @@ let OutputContribution = class OutputContribution extends Disposable {
231
231
  const notificationService = accessor.get(INotificationService);
232
232
  const entries = outputService.getChannelDescriptors().filter(channel => channel.user);
233
233
  if (entries.length === 0) {
234
- notificationService.info(( localize(9372, "No custom outputs to remove.")));
234
+ notificationService.info(( localize(9373, "No custom outputs to remove.")));
235
235
  return;
236
236
  }
237
- const result = await quickInputService.pick(entries, { placeHolder: ( localize(9370, "Select Log")), canPickMany: true });
237
+ const result = await quickInputService.pick(entries, { placeHolder: ( localize(9371, "Select Log")), canPickMany: true });
238
238
  if (!result?.length) {
239
239
  return;
240
240
  }
@@ -250,8 +250,8 @@ let OutputContribution = class OutputContribution extends Disposable {
250
250
  constructor() {
251
251
  super({
252
252
  id: 'workbench.action.showOutputChannels',
253
- title: ( localize2(9373, "Show Output Channels...")),
254
- category: ( localize2(9364, "Output")),
253
+ title: ( localize2(9374, "Show Output Channels...")),
254
+ category: ( localize2(9365, "Output")),
255
255
  f1: true
256
256
  });
257
257
  }
@@ -277,7 +277,7 @@ let OutputContribution = class OutputContribution extends Disposable {
277
277
  for (const { id, label } of coreChannels) {
278
278
  entries.push({ id, label });
279
279
  }
280
- const entry = await quickInputService.pick(entries, { placeHolder: ( localize(9374, "Select Output Channel")) });
280
+ const entry = await quickInputService.pick(entries, { placeHolder: ( localize(9375, "Select Output Channel")) });
281
281
  if (entry) {
282
282
  return outputService.showChannel(entry.id);
283
283
  }
@@ -289,7 +289,7 @@ let OutputContribution = class OutputContribution extends Disposable {
289
289
  constructor() {
290
290
  super({
291
291
  id: `workbench.output.action.clearOutput`,
292
- title: ( localize2(9375, "Clear Output")),
292
+ title: ( localize2(9376, "Clear Output")),
293
293
  category: Categories.View,
294
294
  menu: [{
295
295
  id: MenuId.ViewTitle,
@@ -321,8 +321,8 @@ let OutputContribution = class OutputContribution extends Disposable {
321
321
  constructor() {
322
322
  super({
323
323
  id: `workbench.output.action.toggleAutoScroll`,
324
- title: ( localize2(9376, "Toggle Auto Scrolling")),
325
- tooltip: ( localize(9377, "Turn Auto Scrolling Off")),
324
+ title: ( localize2(9377, "Toggle Auto Scrolling")),
325
+ tooltip: ( localize(9378, "Turn Auto Scrolling Off")),
326
326
  menu: {
327
327
  id: MenuId.ViewTitle,
328
328
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)))),
@@ -333,7 +333,7 @@ let OutputContribution = class OutputContribution extends Disposable {
333
333
  toggled: {
334
334
  condition: CONTEXT_OUTPUT_SCROLL_LOCK,
335
335
  icon: Codicon.unlock,
336
- tooltip: ( localize(9378, "Turn Auto Scrolling On"))
336
+ tooltip: ( localize(9379, "Turn Auto Scrolling On"))
337
337
  }
338
338
  });
339
339
  }
@@ -349,7 +349,7 @@ let OutputContribution = class OutputContribution extends Disposable {
349
349
  constructor() {
350
350
  super({
351
351
  id: `workbench.action.openActiveLogOutputFile`,
352
- title: ( localize2(9379, "Open Output in Editor")),
352
+ title: ( localize2(9380, "Open Output in Editor")),
353
353
  menu: [{
354
354
  id: MenuId.ViewTitle,
355
355
  when: ( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)),
@@ -371,7 +371,7 @@ let OutputContribution = class OutputContribution extends Disposable {
371
371
  constructor() {
372
372
  super({
373
373
  id: `workbench.action.openActiveLogOutputFileInNewWindow`,
374
- title: ( localize2(9380, "Open Output in New Window")),
374
+ title: ( localize2(9381, "Open Output in New Window")),
375
375
  menu: [{
376
376
  id: MenuId.ViewTitle,
377
377
  when: ( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)),
@@ -392,7 +392,7 @@ let OutputContribution = class OutputContribution extends Disposable {
392
392
  constructor() {
393
393
  super({
394
394
  id: `workbench.action.saveActiveLogOutputAs`,
395
- title: ( localize2(9381, "Save Output As...")),
395
+ title: ( localize2(9382, "Save Output As...")),
396
396
  menu: [{
397
397
  id: MenuId.ViewTitle,
398
398
  when: ( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)),
@@ -428,7 +428,7 @@ let OutputContribution = class OutputContribution extends Disposable {
428
428
  const logLevelMenu = ( new MenuId('workbench.output.menu.logLevel'));
429
429
  this._register(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
430
430
  submenu: logLevelMenu,
431
- title: ( localize(9382, "Set Log Level...")),
431
+ title: ( localize(9383, "Set Log Level...")),
432
432
  group: 'navigation',
433
433
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)), CONTEXT_ACTIVE_OUTPUT_LEVEL_SETTABLE)),
434
434
  icon: Codicon.gear,
@@ -471,7 +471,7 @@ let OutputContribution = class OutputContribution extends Disposable {
471
471
  constructor() {
472
472
  super({
473
473
  id: `workbench.action.output.activeOutputLogLevelDefault`,
474
- title: ( localize(9383, "Set As Default")),
474
+ title: ( localize(9384, "Set As Default")),
475
475
  menu: {
476
476
  id: logLevelMenu,
477
477
  order,
@@ -500,7 +500,7 @@ let OutputContribution = class OutputContribution extends Disposable {
500
500
  constructor() {
501
501
  super({
502
502
  id: 'workbench.action.showLogs',
503
- title: ( localize2(9384, "Show Logs...")),
503
+ title: ( localize2(9385, "Show Logs...")),
504
504
  category: Categories.Developer,
505
505
  menu: {
506
506
  id: MenuId.CommandPalette,
@@ -526,12 +526,12 @@ let OutputContribution = class OutputContribution extends Disposable {
526
526
  entries.push({ id, label });
527
527
  }
528
528
  if (extensionLogs.length && logs.length) {
529
- entries.push({ type: 'separator', label: ( localize(9369, "Extension Logs")) });
529
+ entries.push({ type: 'separator', label: ( localize(9370, "Extension Logs")) });
530
530
  }
531
531
  for (const { id, label } of extensionLogs) {
532
532
  entries.push({ id, label });
533
533
  }
534
- const entry = await quickInputService.pick(entries, { placeHolder: ( localize(9370, "Select Log")) });
534
+ const entry = await quickInputService.pick(entries, { placeHolder: ( localize(9371, "Select Log")) });
535
535
  if (entry) {
536
536
  return outputService.showChannel(entry.id);
537
537
  }
@@ -543,7 +543,7 @@ let OutputContribution = class OutputContribution extends Disposable {
543
543
  constructor() {
544
544
  super({
545
545
  id: 'workbench.action.openLogFile',
546
- title: ( localize2(9385, "Open Log...")),
546
+ title: ( localize2(9386, "Open Log...")),
547
547
  category: Categories.Developer,
548
548
  menu: {
549
549
  id: MenuId.CommandPalette,
@@ -554,7 +554,7 @@ let OutputContribution = class OutputContribution extends Disposable {
554
554
  name: 'logFile',
555
555
  schema: {
556
556
  markdownDescription: ( localize(
557
- 9386,
557
+ 9387,
558
558
  "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"
559
559
  )),
560
560
  type: 'string'
@@ -591,7 +591,7 @@ let OutputContribution = class OutputContribution extends Disposable {
591
591
  entries.push({ type: 'separator' });
592
592
  entries.push(...coreChannels.sort((a, b) => a.label.localeCompare(b.label)));
593
593
  }
594
- entry = await quickInputService.pick(entries, { placeHolder: ( localize(9387, "Select Log File")) });
594
+ entry = await quickInputService.pick(entries, { placeHolder: ( localize(9388, "Select Log File")) });
595
595
  }
596
596
  if (entry?.id) {
597
597
  const channel = outputService.getChannel(entry.id);
@@ -617,7 +617,7 @@ let OutputContribution = class OutputContribution extends Disposable {
617
617
  title: LogLevelToLocalizedString(logLevel).value,
618
618
  metadata: {
619
619
  description: ( localize2(
620
- 9388,
620
+ 9389,
621
621
  "Show or hide {0} messages in the output",
622
622
  LogLevelToString(logLevel)
623
623
  ))
@@ -667,7 +667,7 @@ let OutputContribution = class OutputContribution extends Disposable {
667
667
  constructor() {
668
668
  super({
669
669
  id: `workbench.actions.${OUTPUT_VIEW_ID}.clearFilterText`,
670
- title: ( localize(9389, "Clear filters text")),
670
+ title: ( localize(9390, "Clear filters text")),
671
671
  keybinding: {
672
672
  when: OUTPUT_FILTER_FOCUS_CONTEXT,
673
673
  weight: KeybindingWeight.WorkbenchContrib,
@@ -686,7 +686,7 @@ let OutputContribution = class OutputContribution extends Disposable {
686
686
  constructor() {
687
687
  super({
688
688
  id: `workbench.action.exportLogs`,
689
- title: ( localize2(9390, "Export Logs...")),
689
+ title: ( localize2(9391, "Export Logs...")),
690
690
  f1: true,
691
691
  category: Categories.Developer,
692
692
  menu: [{
@@ -719,18 +719,18 @@ let OutputContribution = class OutputContribution extends Disposable {
719
719
  entries.push(log);
720
720
  }
721
721
  if (extensionLogs.length && logs.length) {
722
- entries.push({ type: 'separator', label: ( localize(9369, "Extension Logs")) });
722
+ entries.push({ type: 'separator', label: ( localize(9370, "Extension Logs")) });
723
723
  }
724
724
  for (const log of extensionLogs.sort((a, b) => a.label.localeCompare(b.label))) {
725
725
  entries.push(log);
726
726
  }
727
727
  if (userLogs.length && (extensionLogs.length || logs.length)) {
728
- entries.push({ type: 'separator', label: ( localize(9391, "User Logs")) });
728
+ entries.push({ type: 'separator', label: ( localize(9392, "User Logs")) });
729
729
  }
730
730
  for (const log of userLogs.sort((a, b) => a.label.localeCompare(b.label))) {
731
731
  entries.push(log);
732
732
  }
733
- const result = await quickInputService.pick(entries, { placeHolder: ( localize(9370, "Select Log")), canPickMany: true });
733
+ const result = await quickInputService.pick(entries, { placeHolder: ( localize(9371, "Select Log")), canPickMany: true });
734
734
  if (result?.length) {
735
735
  await outputService.saveOutputAs(...result);
736
736
  }
@@ -742,7 +742,7 @@ let OutputContribution = class OutputContribution extends Disposable {
742
742
  constructor() {
743
743
  super({
744
744
  id: `workbench.action.importLog`,
745
- title: ( localize2(9392, "Import Log...")),
745
+ title: ( localize2(9393, "Import Log...")),
746
746
  f1: true,
747
747
  category: Categories.Developer,
748
748
  menu: [{
@@ -757,12 +757,12 @@ let OutputContribution = class OutputContribution extends Disposable {
757
757
  const outputService = accessor.get(IOutputService);
758
758
  const fileDialogService = accessor.get(IFileDialogService);
759
759
  const result = await fileDialogService.showOpenDialog({
760
- title: ( localize(9393, "Import Log File")),
760
+ title: ( localize(9394, "Import Log File")),
761
761
  canSelectFiles: true,
762
762
  canSelectFolders: false,
763
763
  canSelectMany: true,
764
764
  filters: [{
765
- name: ( localize(9394, "Log Files")),
765
+ name: ( localize(9395, "Log Files")),
766
766
  extensions: ['log']
767
767
  }]
768
768
  });
@@ -792,13 +792,13 @@ OutputContribution = ( __decorate([
792
792
  ( Registry.as(Extensions$3.Configuration)).registerConfiguration({
793
793
  id: 'output',
794
794
  order: 30,
795
- title: ( localize(9364, "Output")),
795
+ title: ( localize(9365, "Output")),
796
796
  type: 'object',
797
797
  properties: {
798
798
  'output.smartScroll.enabled': {
799
799
  type: 'boolean',
800
800
  description: ( localize(
801
- 9395,
801
+ 9396,
802
802
  "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."
803
803
  )),
804
804
  default: true,
@@ -333,7 +333,7 @@ let OutputService = class OutputService extends Disposable {
333
333
  try {
334
334
  const name = channels.length > 1 ? 'output' : channels[0].label;
335
335
  const uri = await this.fileDialogService.showSaveDialog({
336
- title: ( localize(9396, "Save Output As")),
336
+ title: ( localize(9397, "Save Output As")),
337
337
  availableFileSystems: [Schemas.file],
338
338
  defaultUri: joinPath(await this.fileDialogService.defaultFilePath(), `${name}.log`),
339
339
  filters: [{
@@ -52,7 +52,7 @@ let OutputViewPane = class OutputViewPane extends FilterViewPane {
52
52
  super({
53
53
  ...options,
54
54
  filterOptions: {
55
- placeholder: ( localize(9397, "Filter")),
55
+ placeholder: ( localize(9398, "Filter")),
56
56
  focusContextKey: OUTPUT_FILTER_FOCUS_CONTEXT.key,
57
57
  text: viewState['filter'] || '',
58
58
  history: []
@@ -151,7 +151,7 @@ let OutputViewPane = class OutputViewPane extends FilterViewPane {
151
151
  this.editorPromise = null;
152
152
  }
153
153
  createInput(channel) {
154
- return this.instantiationService.createInstance(TextResourceEditorInput, channel.uri, ( localize(9398, "{0} - Output", channel.label)), ( localize(9399, "Output channel for '{0}'", channel.label)), undefined, undefined);
154
+ return this.instantiationService.createInstance(TextResourceEditorInput, channel.uri, ( localize(9399, "{0} - Output", channel.label)), ( localize(9400, "Output channel for '{0}'", channel.label)), undefined, undefined);
155
155
  }
156
156
  saveState() {
157
157
  const filters = this.outputService.filters;
@@ -189,7 +189,7 @@ let OutputEditor = class OutputEditor extends AbstractTextResourceEditor {
189
189
  return OUTPUT_VIEW_ID;
190
190
  }
191
191
  getTitle() {
192
- return localize(9400, "Output");
192
+ return localize(9401, "Output");
193
193
  }
194
194
  getConfigurationOverrides(configuration) {
195
195
  const options = super.getConfigurationOverrides(configuration);
@@ -223,7 +223,7 @@ let OutputEditor = class OutputEditor extends AbstractTextResourceEditor {
223
223
  return options;
224
224
  }
225
225
  getAriaLabel() {
226
- return this.input ? this.input.getAriaLabel() : ( localize(9401, "Output panel"));
226
+ return this.input ? this.input.getAriaLabel() : ( localize(9402, "Output panel"));
227
227
  }
228
228
  computeAriaLabel() {
229
229
  return this.input ? computeEditorAriaLabel(this.input, undefined, undefined, this.editorGroupService.count) : this.getAriaLabel();