@codingame/monaco-vscode-output-service-override 13.0.0 → 13.1.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": "13.
|
|
3
|
+
"version": "13.1.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - output service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,18 +15,15 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-0139c6af-2375-559c-af57-b738f2fd6d8e-common": "13.
|
|
19
|
-
"@codingame/monaco-vscode-523730aa-81e6-55d7-9916-87ad537fe087-common": "13.
|
|
20
|
-
"@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "13.
|
|
21
|
-
"@codingame/monaco-vscode-695440c8-a687-5594-b476-bbc7b36bafe9-common": "13.
|
|
22
|
-
"@codingame/monaco-vscode-7b77bc98-d4d5-5442-b972-c926eb6db528-common": "13.
|
|
23
|
-
"@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "13.
|
|
24
|
-
"@codingame/monaco-vscode-
|
|
18
|
+
"@codingame/monaco-vscode-0139c6af-2375-559c-af57-b738f2fd6d8e-common": "13.1.0",
|
|
19
|
+
"@codingame/monaco-vscode-523730aa-81e6-55d7-9916-87ad537fe087-common": "13.1.0",
|
|
20
|
+
"@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "13.1.0",
|
|
21
|
+
"@codingame/monaco-vscode-695440c8-a687-5594-b476-bbc7b36bafe9-common": "13.1.0",
|
|
22
|
+
"@codingame/monaco-vscode-7b77bc98-d4d5-5442-b972-c926eb6db528-common": "13.1.0",
|
|
23
|
+
"@codingame/monaco-vscode-9e888134-1a6f-58d9-b0e6-0fc047448366-common": "13.1.0",
|
|
24
|
+
"@codingame/monaco-vscode-api": "13.1.0",
|
|
25
|
+
"@codingame/monaco-vscode-log-service-override": "13.1.0"
|
|
25
26
|
},
|
|
26
|
-
"peerDependencies": {
|
|
27
|
-
"@codingame/monaco-vscode-api": "13.0.0"
|
|
28
|
-
},
|
|
29
|
-
"peerDependenciesMeta": {},
|
|
30
27
|
"main": "index.js",
|
|
31
28
|
"module": "index.js",
|
|
32
29
|
"types": "index.d.ts",
|
|
@@ -48,10 +48,10 @@ ModesRegistry.registerLanguage({
|
|
|
48
48
|
extensions: [],
|
|
49
49
|
mimetypes: [LOG_MIME]
|
|
50
50
|
});
|
|
51
|
-
const outputViewIcon = registerIcon('output-view-icon', Codicon.output, ( localize(
|
|
51
|
+
const outputViewIcon = registerIcon('output-view-icon', Codicon.output, ( localize(7862, 'View icon of the output view.')));
|
|
52
52
|
const VIEW_CONTAINER = ( Registry.as(Extensions.ViewContainersRegistry)).registerViewContainer({
|
|
53
53
|
id: OUTPUT_VIEW_ID,
|
|
54
|
-
title: ( localize2(
|
|
54
|
+
title: ( localize2(7863, "Output")),
|
|
55
55
|
icon: outputViewIcon,
|
|
56
56
|
order: 1,
|
|
57
57
|
ctorDescriptor: ( new SyncDescriptor(
|
|
@@ -63,14 +63,14 @@ const VIEW_CONTAINER = ( Registry.as(Extensions.ViewContainersRegistry)).registe
|
|
|
63
63
|
}, ViewContainerLocation.Panel, { doNotRegisterOpenCommand: true });
|
|
64
64
|
( Registry.as(Extensions.ViewsRegistry)).registerViews([{
|
|
65
65
|
id: OUTPUT_VIEW_ID,
|
|
66
|
-
name: ( localize2(
|
|
66
|
+
name: ( localize2(7863, "Output")),
|
|
67
67
|
containerIcon: outputViewIcon,
|
|
68
68
|
canMoveView: true,
|
|
69
69
|
canToggleVisibility: false,
|
|
70
70
|
ctorDescriptor: ( new SyncDescriptor(OutputViewPane)),
|
|
71
71
|
openCommandActionDescriptor: {
|
|
72
72
|
id: 'workbench.action.output.toggleOutput',
|
|
73
|
-
mnemonicTitle: ( localize(
|
|
73
|
+
mnemonicTitle: ( localize(7864, "&&Output")),
|
|
74
74
|
keybindings: {
|
|
75
75
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyU,
|
|
76
76
|
linux: {
|
|
@@ -104,7 +104,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
104
104
|
constructor() {
|
|
105
105
|
super({
|
|
106
106
|
id: `workbench.output.action.switchBetweenOutputs`,
|
|
107
|
-
title: ( localize(
|
|
107
|
+
title: ( localize(7865, "Switch Output")),
|
|
108
108
|
});
|
|
109
109
|
}
|
|
110
110
|
async run(accessor, channelId) {
|
|
@@ -116,7 +116,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
116
116
|
const switchOutputMenu = ( new MenuId('workbench.output.menu.switchOutput'));
|
|
117
117
|
this._register(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
|
|
118
118
|
submenu: switchOutputMenu,
|
|
119
|
-
title: ( localize(
|
|
119
|
+
title: ( localize(7866, "Switch Output")),
|
|
120
120
|
group: 'navigation',
|
|
121
121
|
when: ( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)),
|
|
122
122
|
order: 1,
|
|
@@ -164,8 +164,8 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
164
164
|
constructor() {
|
|
165
165
|
super({
|
|
166
166
|
id: 'workbench.action.showOutputChannels',
|
|
167
|
-
title: ( localize2(
|
|
168
|
-
category: ( localize2(
|
|
167
|
+
title: ( localize2(7867, "Show Output Channels...")),
|
|
168
|
+
category: ( localize2(7863, "Output")),
|
|
169
169
|
f1: true
|
|
170
170
|
});
|
|
171
171
|
}
|
|
@@ -191,7 +191,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
191
191
|
for (const { id, label } of coreChannels) {
|
|
192
192
|
entries.push({ id, label });
|
|
193
193
|
}
|
|
194
|
-
const entry = await quickInputService.pick(entries, { placeHolder: ( localize(
|
|
194
|
+
const entry = await quickInputService.pick(entries, { placeHolder: ( localize(7868, "Select Output Channel")) });
|
|
195
195
|
if (entry) {
|
|
196
196
|
return outputService.showChannel(entry.id);
|
|
197
197
|
}
|
|
@@ -203,7 +203,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
203
203
|
constructor() {
|
|
204
204
|
super({
|
|
205
205
|
id: `workbench.output.action.clearOutput`,
|
|
206
|
-
title: ( localize2(
|
|
206
|
+
title: ( localize2(7869, "Clear Output")),
|
|
207
207
|
category: Categories.View,
|
|
208
208
|
menu: [{
|
|
209
209
|
id: MenuId.ViewTitle,
|
|
@@ -235,8 +235,8 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
235
235
|
constructor() {
|
|
236
236
|
super({
|
|
237
237
|
id: `workbench.output.action.toggleAutoScroll`,
|
|
238
|
-
title: ( localize2(
|
|
239
|
-
tooltip: ( localize(
|
|
238
|
+
title: ( localize2(7870, "Toggle Auto Scrolling")),
|
|
239
|
+
tooltip: ( localize(7871, "Turn Auto Scrolling Off")),
|
|
240
240
|
menu: {
|
|
241
241
|
id: MenuId.ViewTitle,
|
|
242
242
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)))),
|
|
@@ -247,7 +247,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
247
247
|
toggled: {
|
|
248
248
|
condition: CONTEXT_OUTPUT_SCROLL_LOCK,
|
|
249
249
|
icon: Codicon.unlock,
|
|
250
|
-
tooltip: ( localize(
|
|
250
|
+
tooltip: ( localize(7872, "Turn Auto Scrolling On"))
|
|
251
251
|
}
|
|
252
252
|
});
|
|
253
253
|
}
|
|
@@ -263,7 +263,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
263
263
|
constructor() {
|
|
264
264
|
super({
|
|
265
265
|
id: `workbench.action.openActiveLogOutputFile`,
|
|
266
|
-
title: ( localize2(
|
|
266
|
+
title: ( localize2(7873, "Open Output in Editor")),
|
|
267
267
|
menu: [{
|
|
268
268
|
id: MenuId.ViewTitle,
|
|
269
269
|
when: ( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)),
|
|
@@ -286,7 +286,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
286
286
|
constructor() {
|
|
287
287
|
super({
|
|
288
288
|
id: `workbench.action.openActiveLogOutputFileInNewWindow`,
|
|
289
|
-
title: ( localize2(
|
|
289
|
+
title: ( localize2(7874, "Open Output in New Window")),
|
|
290
290
|
menu: [{
|
|
291
291
|
id: MenuId.ViewTitle,
|
|
292
292
|
when: ( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)),
|
|
@@ -330,7 +330,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
330
330
|
const logLevelMenu = ( new MenuId('workbench.output.menu.logLevel'));
|
|
331
331
|
this._register(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
|
|
332
332
|
submenu: logLevelMenu,
|
|
333
|
-
title: ( localize(
|
|
333
|
+
title: ( localize(7875, "Set Log Level...")),
|
|
334
334
|
group: 'navigation',
|
|
335
335
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)), CONTEXT_ACTIVE_OUTPUT_LEVEL_SETTABLE)),
|
|
336
336
|
icon: Codicon.gear,
|
|
@@ -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(
|
|
375
|
+
title: ( localize(7876, "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(
|
|
401
|
+
title: ( localize2(7877, "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(
|
|
427
|
+
entries.push({ type: 'separator', label: ( localize(7878, "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(
|
|
432
|
+
const entry = await quickInputService.pick(entries, { placeHolder: ( localize(7879, "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(
|
|
444
|
+
title: ( localize2(7880, "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
|
-
|
|
455
|
+
7881,
|
|
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(
|
|
493
|
+
entry = await quickInputService.pick(entries, { placeHolder: ( localize(7882, "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(
|
|
518
|
+
title: ( localize(7863, "Output")),
|
|
519
519
|
type: 'object',
|
|
520
520
|
properties: {
|
|
521
521
|
'output.smartScroll.enabled': {
|
|
522
522
|
type: 'boolean',
|
|
523
523
|
description: ( localize(
|
|
524
|
-
|
|
524
|
+
7883,
|
|
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,
|
|
@@ -106,7 +106,7 @@ let OutputViewPane = class OutputViewPane extends ViewPane {
|
|
|
106
106
|
this.editorPromise = null;
|
|
107
107
|
}
|
|
108
108
|
createInput(channel) {
|
|
109
|
-
return this.instantiationService.createInstance(TextResourceEditorInput, channel.uri, ( localize(
|
|
109
|
+
return this.instantiationService.createInstance(TextResourceEditorInput, channel.uri, ( localize(7884, "{0} - Output", channel.label)), ( localize(7885, "Output channel for '{0}'", channel.label)), undefined, undefined);
|
|
110
110
|
}
|
|
111
111
|
};
|
|
112
112
|
OutputViewPane = ( __decorate([
|
|
@@ -131,7 +131,7 @@ let OutputEditor = class OutputEditor extends AbstractTextResourceEditor {
|
|
|
131
131
|
return OUTPUT_VIEW_ID;
|
|
132
132
|
}
|
|
133
133
|
getTitle() {
|
|
134
|
-
return localize(
|
|
134
|
+
return localize(7886, "Output");
|
|
135
135
|
}
|
|
136
136
|
getConfigurationOverrides(configuration) {
|
|
137
137
|
const options = super.getConfigurationOverrides(configuration);
|
|
@@ -165,7 +165,7 @@ let OutputEditor = class OutputEditor extends AbstractTextResourceEditor {
|
|
|
165
165
|
return options;
|
|
166
166
|
}
|
|
167
167
|
getAriaLabel() {
|
|
168
|
-
return this.input ? this.input.getAriaLabel() : ( localize(
|
|
168
|
+
return this.input ? this.input.getAriaLabel() : ( localize(7887, "Output panel"));
|
|
169
169
|
}
|
|
170
170
|
computeAriaLabel() {
|
|
171
171
|
return this.input ? computeEditorAriaLabel(this.input, undefined, undefined, this.editorGroupService.count) : this.getAriaLabel();
|