@codingame/monaco-vscode-output-service-override 10.1.3 → 11.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": "10.1.3",
3
+ "version": "11.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@10.1.3",
33
- "@codingame/monaco-vscode-log-service-override": "10.1.3"
32
+ "vscode": "npm:@codingame/monaco-vscode-api@11.0.0",
33
+ "@codingame/monaco-vscode-log-service-override": "11.0.0"
34
34
  }
35
35
  }
@@ -45,10 +45,10 @@ ModesRegistry.registerLanguage({
45
45
  extensions: [],
46
46
  mimetypes: [LOG_MIME]
47
47
  });
48
- const outputViewIcon = registerIcon('output-view-icon', Codicon.output, ( localize(2755, 'View icon of the output view.')));
48
+ const outputViewIcon = registerIcon('output-view-icon', Codicon.output, ( localize(2275, 'View icon of the output view.')));
49
49
  const VIEW_CONTAINER = ( (Registry.as(Extensions.ViewContainersRegistry))).registerViewContainer({
50
50
  id: OUTPUT_VIEW_ID,
51
- title: ( localize2(2756, "Output")),
51
+ title: ( localize2(2276, "Output")),
52
52
  icon: outputViewIcon,
53
53
  order: 1,
54
54
  ctorDescriptor: ( (new SyncDescriptor(
@@ -60,14 +60,14 @@ const VIEW_CONTAINER = ( (Registry.as(Extensions.ViewContainersRegistry))).regis
60
60
  }, 1 , { doNotRegisterOpenCommand: true });
61
61
  ( (Registry.as(Extensions.ViewsRegistry))).registerViews([{
62
62
  id: OUTPUT_VIEW_ID,
63
- name: ( localize2(2756, "Output")),
63
+ name: ( localize2(2276, "Output")),
64
64
  containerIcon: outputViewIcon,
65
65
  canMoveView: true,
66
66
  canToggleVisibility: false,
67
67
  ctorDescriptor: ( (new SyncDescriptor(OutputViewPane))),
68
68
  openCommandActionDescriptor: {
69
69
  id: 'workbench.action.output.toggleOutput',
70
- mnemonicTitle: ( localize(2757, "&&Output")),
70
+ mnemonicTitle: ( localize(2277, "&&Output")),
71
71
  keybindings: {
72
72
  primary: 2048 | 1024 | 51 ,
73
73
  linux: {
@@ -101,7 +101,7 @@ let OutputContribution = class OutputContribution extends Disposable {
101
101
  constructor() {
102
102
  super({
103
103
  id: `workbench.output.action.switchBetweenOutputs`,
104
- title: ( localize(2758, "Switch Output")),
104
+ title: ( localize(2278, "Switch Output")),
105
105
  });
106
106
  }
107
107
  async run(accessor, channelId) {
@@ -113,7 +113,7 @@ let OutputContribution = class OutputContribution extends Disposable {
113
113
  const switchOutputMenu = ( (new MenuId('workbench.output.menu.switchOutput')));
114
114
  this._register(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
115
115
  submenu: switchOutputMenu,
116
- title: ( localize(2759, "Switch Output")),
116
+ title: ( localize(2279, "Switch Output")),
117
117
  group: 'navigation',
118
118
  when: ( (ContextKeyExpr.equals('view', OUTPUT_VIEW_ID))),
119
119
  order: 1,
@@ -161,8 +161,8 @@ let OutputContribution = class OutputContribution extends Disposable {
161
161
  constructor() {
162
162
  super({
163
163
  id: 'workbench.action.showOutputChannels',
164
- title: ( localize2(2760, "Show Output Channels...")),
165
- category: ( localize2(2756, "Output")),
164
+ title: ( localize2(2280, "Show Output Channels...")),
165
+ category: ( localize2(2276, "Output")),
166
166
  f1: true
167
167
  });
168
168
  }
@@ -188,7 +188,7 @@ let OutputContribution = class OutputContribution extends Disposable {
188
188
  for (const { id, label } of coreChannels) {
189
189
  entries.push({ id, label });
190
190
  }
191
- const entry = await quickInputService.pick(entries, { placeHolder: ( localize(2761, "Select Output Channel")) });
191
+ const entry = await quickInputService.pick(entries, { placeHolder: ( localize(2281, "Select Output Channel")) });
192
192
  if (entry) {
193
193
  return outputService.showChannel(entry.id);
194
194
  }
@@ -200,7 +200,7 @@ let OutputContribution = class OutputContribution extends Disposable {
200
200
  constructor() {
201
201
  super({
202
202
  id: `workbench.output.action.clearOutput`,
203
- title: ( localize2(2762, "Clear Output")),
203
+ title: ( localize2(2282, "Clear Output")),
204
204
  category: Categories.View,
205
205
  menu: [{
206
206
  id: MenuId.ViewTitle,
@@ -232,8 +232,8 @@ let OutputContribution = class OutputContribution extends Disposable {
232
232
  constructor() {
233
233
  super({
234
234
  id: `workbench.output.action.toggleAutoScroll`,
235
- title: ( localize2(2763, "Toggle Auto Scrolling")),
236
- tooltip: ( localize(2764, "Turn Auto Scrolling Off")),
235
+ title: ( localize2(2283, "Toggle Auto Scrolling")),
236
+ tooltip: ( localize(2284, "Turn Auto Scrolling Off")),
237
237
  menu: {
238
238
  id: MenuId.ViewTitle,
239
239
  when: ( (ContextKeyExpr.and( (ContextKeyExpr.equals('view', OUTPUT_VIEW_ID))))),
@@ -244,7 +244,7 @@ let OutputContribution = class OutputContribution extends Disposable {
244
244
  toggled: {
245
245
  condition: CONTEXT_OUTPUT_SCROLL_LOCK,
246
246
  icon: Codicon.unlock,
247
- tooltip: ( localize(2765, "Turn Auto Scrolling On"))
247
+ tooltip: ( localize(2285, "Turn Auto Scrolling On"))
248
248
  }
249
249
  });
250
250
  }
@@ -260,7 +260,7 @@ let OutputContribution = class OutputContribution extends Disposable {
260
260
  constructor() {
261
261
  super({
262
262
  id: `workbench.action.openActiveLogOutputFile`,
263
- title: ( localize2(2766, "Open Output in Editor")),
263
+ title: ( localize2(2286, "Open Output in Editor")),
264
264
  menu: [{
265
265
  id: MenuId.ViewTitle,
266
266
  when: ( (ContextKeyExpr.equals('view', OUTPUT_VIEW_ID))),
@@ -283,7 +283,7 @@ let OutputContribution = class OutputContribution extends Disposable {
283
283
  constructor() {
284
284
  super({
285
285
  id: `workbench.action.openActiveLogOutputFileInNewWindow`,
286
- title: ( localize2(2767, "Open Output in New Window")),
286
+ title: ( localize2(2287, "Open Output in New Window")),
287
287
  menu: [{
288
288
  id: MenuId.ViewTitle,
289
289
  when: ( (ContextKeyExpr.equals('view', OUTPUT_VIEW_ID))),
@@ -327,7 +327,7 @@ let OutputContribution = class OutputContribution extends Disposable {
327
327
  const logLevelMenu = ( (new MenuId('workbench.output.menu.logLevel')));
328
328
  this._register(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
329
329
  submenu: logLevelMenu,
330
- title: ( localize(2768, "Set Log Level...")),
330
+ title: ( localize(2288, "Set Log Level...")),
331
331
  group: 'navigation',
332
332
  when: ( (ContextKeyExpr.and(
333
333
  (ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)),
@@ -372,7 +372,7 @@ let OutputContribution = class OutputContribution extends Disposable {
372
372
  constructor() {
373
373
  super({
374
374
  id: `workbench.action.output.activeOutputLogLevelDefault`,
375
- title: ( localize(2769, "Set As Default")),
375
+ title: ( localize(2289, "Set As Default")),
376
376
  menu: {
377
377
  id: logLevelMenu,
378
378
  order,
@@ -398,7 +398,7 @@ let OutputContribution = class OutputContribution extends Disposable {
398
398
  constructor() {
399
399
  super({
400
400
  id: 'workbench.action.showLogs',
401
- title: ( localize2(2770, "Show Logs...")),
401
+ title: ( localize2(2290, "Show Logs...")),
402
402
  category: Categories.Developer,
403
403
  menu: {
404
404
  id: MenuId.CommandPalette,
@@ -424,12 +424,12 @@ let OutputContribution = class OutputContribution extends Disposable {
424
424
  entries.push({ id, label });
425
425
  }
426
426
  if (extensionLogs.length && logs.length) {
427
- entries.push({ type: 'separator', label: ( localize(2771, "Extension Logs")) });
427
+ entries.push({ type: 'separator', label: ( localize(2291, "Extension Logs")) });
428
428
  }
429
429
  for (const { id, label } of extensionLogs) {
430
430
  entries.push({ id, label });
431
431
  }
432
- const entry = await quickInputService.pick(entries, { placeHolder: ( localize(2772, "Select Log")) });
432
+ const entry = await quickInputService.pick(entries, { placeHolder: ( localize(2292, "Select Log")) });
433
433
  if (entry) {
434
434
  return outputService.showChannel(entry.id);
435
435
  }
@@ -441,7 +441,7 @@ let OutputContribution = class OutputContribution extends Disposable {
441
441
  constructor() {
442
442
  super({
443
443
  id: 'workbench.action.openLogFile',
444
- title: ( localize2(2773, "Open Log File...")),
444
+ title: ( localize2(2293, "Open Log File...")),
445
445
  category: Categories.Developer,
446
446
  menu: {
447
447
  id: MenuId.CommandPalette,
@@ -452,7 +452,7 @@ let OutputContribution = class OutputContribution extends Disposable {
452
452
  name: 'logFile',
453
453
  schema: {
454
454
  markdownDescription: ( localize(
455
- 2774,
455
+ 2294,
456
456
  "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"
457
457
  )),
458
458
  type: 'string'
@@ -490,7 +490,7 @@ let OutputContribution = class OutputContribution extends Disposable {
490
490
  entries.push({ type: 'separator' });
491
491
  entries.push(...coreChannels.sort((a, b) => a.label.localeCompare(b.label)));
492
492
  }
493
- entry = await quickInputService.pick(entries, { placeHolder: ( localize(2775, "Select Log File")) });
493
+ entry = await quickInputService.pick(entries, { placeHolder: ( localize(2295, "Select Log File")) });
494
494
  }
495
495
  if (entry) {
496
496
  const resource = assertIsDefined(entry.channel.file);
@@ -515,13 +515,13 @@ OutputContribution = ( (__decorate([
515
515
  ( (Registry.as(Extensions$3.Configuration))).registerConfiguration({
516
516
  id: 'output',
517
517
  order: 30,
518
- title: ( localize(2756, "Output")),
518
+ title: ( localize(2276, "Output")),
519
519
  type: 'object',
520
520
  properties: {
521
521
  'output.smartScroll.enabled': {
522
522
  type: 'boolean',
523
523
  description: ( localize(
524
- 2776,
524
+ 2296,
525
525
  "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."
526
526
  )),
527
527
  default: true,
@@ -16,7 +16,7 @@ import { IViewsService } from 'vscode/vscode/vs/workbench/services/views/common/
16
16
  import { IOutputChannelModelService } from 'vscode/vscode/vs/workbench/contrib/output/common/outputChannelModelService.service';
17
17
  import { ILanguageService } from 'vscode/vscode/vs/editor/common/languages/language';
18
18
  import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
19
- import { SetLogLevelAction } from '@codingame/monaco-vscode-log-service-override/vscode/vs/workbench/contrib/logs/common/logsActions';
19
+ import { SetLogLevelAction } from 'vscode/vscode/vs/workbench/contrib/logs/common/logsActions';
20
20
  import { IDefaultLogLevelsService } from 'vscode/vscode/vs/workbench/contrib/logs/common/defaultLogLevels.service';
21
21
 
22
22
  const OUTPUT_ACTIVE_CHANNEL_KEY = 'output.activechannel';
@@ -104,7 +104,7 @@ let OutputViewPane = class OutputViewPane extends ViewPane {
104
104
  this.editorPromise = null;
105
105
  }
106
106
  createInput(channel) {
107
- return this.instantiationService.createInstance(TextResourceEditorInput, channel.uri, ( localize(6181, "{0} - Output", channel.label)), ( localize(6182, "Output channel for '{0}'", channel.label)), undefined, undefined);
107
+ return this.instantiationService.createInstance(TextResourceEditorInput, channel.uri, ( localize(6179, "{0} - Output", channel.label)), ( localize(6180, "Output channel for '{0}'", channel.label)), undefined, undefined);
108
108
  }
109
109
  };
110
110
  OutputViewPane = ( (__decorate([
@@ -129,7 +129,7 @@ let OutputEditor = class OutputEditor extends AbstractTextResourceEditor {
129
129
  return OUTPUT_VIEW_ID;
130
130
  }
131
131
  getTitle() {
132
- return ( localize(6183, "Output"));
132
+ return ( localize(6181, "Output"));
133
133
  }
134
134
  getConfigurationOverrides(configuration) {
135
135
  const options = super.getConfigurationOverrides(configuration);
@@ -163,7 +163,7 @@ let OutputEditor = class OutputEditor extends AbstractTextResourceEditor {
163
163
  return options;
164
164
  }
165
165
  getAriaLabel() {
166
- return this.input ? this.input.getAriaLabel() : ( localize(6184, "Output panel"));
166
+ return this.input ? this.input.getAriaLabel() : ( localize(6182, "Output panel"));
167
167
  }
168
168
  computeAriaLabel() {
169
169
  return this.input ? computeEditorAriaLabel(this.input, undefined, undefined, this.editorGroupService.count) : this.getAriaLabel();
@@ -1 +1 @@
1
- import '../vscode/src/vs/workbench/contrib/output/common/outputLinkComputer.esm.js';
1
+ import '../vscode/src/vs/workbench/contrib/output/common/outputLinkComputerMain.js';