@codingame/monaco-vscode-output-service-override 23.1.0 → 23.1.1
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 +9 -9
- package/vscode/src/vs/workbench/contrib/output/browser/output.contribution.js +43 -43
- package/vscode/src/vs/workbench/contrib/output/browser/outputServices.js +1 -1
- package/vscode/src/vs/workbench/contrib/output/browser/outputView.d.ts +1 -1
- package/vscode/src/vs/workbench/contrib/output/browser/outputView.js +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-output-service-override",
|
|
3
|
-
"version": "23.1.
|
|
3
|
+
"version": "23.1.1",
|
|
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-16b9b017-9377-5198-9904-c344b3b2ad14-common": "23.1.
|
|
19
|
-
"@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common": "23.1.
|
|
20
|
-
"@codingame/monaco-vscode-523730aa-81e6-55d7-9916-87ad537fe087-common": "23.1.
|
|
21
|
-
"@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "23.1.
|
|
22
|
-
"@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "23.1.
|
|
23
|
-
"@codingame/monaco-vscode-ab07af84-42e8-5a0f-8aef-b83fb90ede21-common": "23.1.
|
|
24
|
-
"@codingame/monaco-vscode-api": "23.1.
|
|
25
|
-
"@codingame/monaco-vscode-log-service-override": "23.1.
|
|
18
|
+
"@codingame/monaco-vscode-16b9b017-9377-5198-9904-c344b3b2ad14-common": "23.1.1",
|
|
19
|
+
"@codingame/monaco-vscode-501b06ab-3f58-516b-8a1a-c29d375d3da4-common": "23.1.1",
|
|
20
|
+
"@codingame/monaco-vscode-523730aa-81e6-55d7-9916-87ad537fe087-common": "23.1.1",
|
|
21
|
+
"@codingame/monaco-vscode-60014c9d-b815-501d-83a9-4b08725c2ec2-common": "23.1.1",
|
|
22
|
+
"@codingame/monaco-vscode-a8d3bd74-e63e-5327-96e8-4f931661e329-common": "23.1.1",
|
|
23
|
+
"@codingame/monaco-vscode-ab07af84-42e8-5a0f-8aef-b83fb90ede21-common": "23.1.1",
|
|
24
|
+
"@codingame/monaco-vscode-api": "23.1.1",
|
|
25
|
+
"@codingame/monaco-vscode-log-service-override": "23.1.1"
|
|
26
26
|
},
|
|
27
27
|
"main": "index.js",
|
|
28
28
|
"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(
|
|
56
|
+
const outputViewIcon = registerIcon('output-view-icon', Codicon.output, ( localize(9625, '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(
|
|
59
|
+
title: ( localize2(9626, "Output")),
|
|
60
60
|
icon: outputViewIcon,
|
|
61
61
|
order: 1,
|
|
62
62
|
ctorDescriptor: ( new SyncDescriptor(
|
|
@@ -68,14 +68,14 @@ const VIEW_CONTAINER = ( Registry.as(Extensions.ViewContainersRegistry)).registe
|
|
|
68
68
|
}, ViewContainerLocation.Panel, { doNotRegisterOpenCommand: true });
|
|
69
69
|
( Registry.as(Extensions.ViewsRegistry)).registerViews([{
|
|
70
70
|
id: OUTPUT_VIEW_ID,
|
|
71
|
-
name: ( localize2(
|
|
71
|
+
name: ( localize2(9626, "Output")),
|
|
72
72
|
containerIcon: outputViewIcon,
|
|
73
73
|
canMoveView: true,
|
|
74
74
|
canToggleVisibility: true,
|
|
75
75
|
ctorDescriptor: ( new SyncDescriptor(OutputViewPane)),
|
|
76
76
|
openCommandActionDescriptor: {
|
|
77
77
|
id: 'workbench.action.output.toggleOutput',
|
|
78
|
-
mnemonicTitle: ( localize(
|
|
78
|
+
mnemonicTitle: ( localize(9627, "&&Output")),
|
|
79
79
|
keybindings: {
|
|
80
80
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyU,
|
|
81
81
|
linux: {
|
|
@@ -115,7 +115,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
115
115
|
constructor() {
|
|
116
116
|
super({
|
|
117
117
|
id: `workbench.output.action.switchBetweenOutputs`,
|
|
118
|
-
title: ( localize(
|
|
118
|
+
title: ( localize(9628, "Switch Output")),
|
|
119
119
|
});
|
|
120
120
|
}
|
|
121
121
|
async run(accessor, channelId) {
|
|
@@ -127,7 +127,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
127
127
|
const switchOutputMenu = ( new MenuId('workbench.output.menu.switchOutput'));
|
|
128
128
|
this._register(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
|
|
129
129
|
submenu: switchOutputMenu,
|
|
130
|
-
title: ( localize(
|
|
130
|
+
title: ( localize(9629, "Switch Output")),
|
|
131
131
|
group: 'navigation',
|
|
132
132
|
when: ( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)),
|
|
133
133
|
order: 1,
|
|
@@ -175,8 +175,8 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
175
175
|
constructor() {
|
|
176
176
|
super({
|
|
177
177
|
id: 'workbench.action.output.addCompoundLog',
|
|
178
|
-
title: ( localize2(
|
|
179
|
-
category: ( localize2(
|
|
178
|
+
title: ( localize2(9630, "Add Compound Log...")),
|
|
179
|
+
category: ( localize2(9626, "Output")),
|
|
180
180
|
f1: true,
|
|
181
181
|
menu: [{
|
|
182
182
|
id: MenuId.ViewTitle,
|
|
@@ -204,12 +204,12 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
204
204
|
entries.push(log);
|
|
205
205
|
}
|
|
206
206
|
if (extensionLogs.length && logs.length) {
|
|
207
|
-
entries.push({ type: 'separator', label: ( localize(
|
|
207
|
+
entries.push({ type: 'separator', label: ( localize(9631, "Extension Logs")) });
|
|
208
208
|
}
|
|
209
209
|
for (const log of extensionLogs.sort((a, b) => a.label.localeCompare(b.label))) {
|
|
210
210
|
entries.push(log);
|
|
211
211
|
}
|
|
212
|
-
const result = await quickInputService.pick(entries, { placeHolder: ( localize(
|
|
212
|
+
const result = await quickInputService.pick(entries, { placeHolder: ( localize(9632, "Select Log")), canPickMany: true });
|
|
213
213
|
if (result?.length) {
|
|
214
214
|
outputService.showChannel(outputService.registerCompoundLogChannel(result));
|
|
215
215
|
}
|
|
@@ -221,8 +221,8 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
221
221
|
constructor() {
|
|
222
222
|
super({
|
|
223
223
|
id: 'workbench.action.output.remove',
|
|
224
|
-
title: ( localize2(
|
|
225
|
-
category: ( localize2(
|
|
224
|
+
title: ( localize2(9633, "Remove Output...")),
|
|
225
|
+
category: ( localize2(9626, "Output")),
|
|
226
226
|
f1: true
|
|
227
227
|
});
|
|
228
228
|
}
|
|
@@ -232,10 +232,10 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
232
232
|
const notificationService = accessor.get(INotificationService);
|
|
233
233
|
const entries = outputService.getChannelDescriptors().filter(channel => channel.user);
|
|
234
234
|
if (entries.length === 0) {
|
|
235
|
-
notificationService.info(( localize(
|
|
235
|
+
notificationService.info(( localize(9634, "No custom outputs to remove.")));
|
|
236
236
|
return;
|
|
237
237
|
}
|
|
238
|
-
const result = await quickInputService.pick(entries, { placeHolder: ( localize(
|
|
238
|
+
const result = await quickInputService.pick(entries, { placeHolder: ( localize(9632, "Select Log")), canPickMany: true });
|
|
239
239
|
if (!result?.length) {
|
|
240
240
|
return;
|
|
241
241
|
}
|
|
@@ -251,8 +251,8 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
251
251
|
constructor() {
|
|
252
252
|
super({
|
|
253
253
|
id: 'workbench.action.showOutputChannels',
|
|
254
|
-
title: ( localize2(
|
|
255
|
-
category: ( localize2(
|
|
254
|
+
title: ( localize2(9635, "Show Output Channels...")),
|
|
255
|
+
category: ( localize2(9626, "Output")),
|
|
256
256
|
f1: true
|
|
257
257
|
});
|
|
258
258
|
}
|
|
@@ -278,7 +278,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
278
278
|
for (const { id, label } of coreChannels) {
|
|
279
279
|
entries.push({ id, label });
|
|
280
280
|
}
|
|
281
|
-
const entry = await quickInputService.pick(entries, { placeHolder: ( localize(
|
|
281
|
+
const entry = await quickInputService.pick(entries, { placeHolder: ( localize(9636, "Select Output Channel")) });
|
|
282
282
|
if (entry) {
|
|
283
283
|
return outputService.showChannel(entry.id);
|
|
284
284
|
}
|
|
@@ -290,7 +290,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
290
290
|
constructor() {
|
|
291
291
|
super({
|
|
292
292
|
id: `workbench.output.action.clearOutput`,
|
|
293
|
-
title: ( localize2(
|
|
293
|
+
title: ( localize2(9637, "Clear Output")),
|
|
294
294
|
category: Categories.View,
|
|
295
295
|
menu: [{
|
|
296
296
|
id: MenuId.ViewTitle,
|
|
@@ -322,8 +322,8 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
322
322
|
constructor() {
|
|
323
323
|
super({
|
|
324
324
|
id: `workbench.output.action.toggleAutoScroll`,
|
|
325
|
-
title: ( localize2(
|
|
326
|
-
tooltip: ( localize(
|
|
325
|
+
title: ( localize2(9638, "Toggle Auto Scrolling")),
|
|
326
|
+
tooltip: ( localize(9639, "Turn Auto Scrolling Off")),
|
|
327
327
|
menu: {
|
|
328
328
|
id: MenuId.ViewTitle,
|
|
329
329
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)))),
|
|
@@ -334,7 +334,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
334
334
|
toggled: {
|
|
335
335
|
condition: CONTEXT_OUTPUT_SCROLL_LOCK,
|
|
336
336
|
icon: Codicon.unlock,
|
|
337
|
-
tooltip: ( localize(
|
|
337
|
+
tooltip: ( localize(9640, "Turn Auto Scrolling On"))
|
|
338
338
|
}
|
|
339
339
|
});
|
|
340
340
|
}
|
|
@@ -350,7 +350,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
350
350
|
constructor() {
|
|
351
351
|
super({
|
|
352
352
|
id: `workbench.action.openActiveLogOutputFile`,
|
|
353
|
-
title: ( localize2(
|
|
353
|
+
title: ( localize2(9641, "Open Output in Editor")),
|
|
354
354
|
menu: [{
|
|
355
355
|
id: MenuId.ViewTitle,
|
|
356
356
|
when: ( 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.openActiveLogOutputFileInNewWindow`,
|
|
375
|
-
title: ( localize2(
|
|
375
|
+
title: ( localize2(9642, "Open Output in New Window")),
|
|
376
376
|
menu: [{
|
|
377
377
|
id: MenuId.ViewTitle,
|
|
378
378
|
when: ( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)),
|
|
@@ -393,7 +393,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
393
393
|
constructor() {
|
|
394
394
|
super({
|
|
395
395
|
id: `workbench.action.saveActiveLogOutputAs`,
|
|
396
|
-
title: ( localize2(
|
|
396
|
+
title: ( localize2(9643, "Save Output As...")),
|
|
397
397
|
menu: [{
|
|
398
398
|
id: MenuId.ViewTitle,
|
|
399
399
|
when: ( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)),
|
|
@@ -429,7 +429,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
429
429
|
const logLevelMenu = ( new MenuId('workbench.output.menu.logLevel'));
|
|
430
430
|
this._register(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
|
|
431
431
|
submenu: logLevelMenu,
|
|
432
|
-
title: ( localize(
|
|
432
|
+
title: ( localize(9644, "Set Log Level...")),
|
|
433
433
|
group: 'navigation',
|
|
434
434
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', OUTPUT_VIEW_ID)), CONTEXT_ACTIVE_OUTPUT_LEVEL_SETTABLE)),
|
|
435
435
|
icon: Codicon.gear,
|
|
@@ -472,7 +472,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
472
472
|
constructor() {
|
|
473
473
|
super({
|
|
474
474
|
id: `workbench.action.output.activeOutputLogLevelDefault`,
|
|
475
|
-
title: ( localize(
|
|
475
|
+
title: ( localize(9645, "Set As Default")),
|
|
476
476
|
menu: {
|
|
477
477
|
id: logLevelMenu,
|
|
478
478
|
order,
|
|
@@ -501,7 +501,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
501
501
|
constructor() {
|
|
502
502
|
super({
|
|
503
503
|
id: 'workbench.action.showLogs',
|
|
504
|
-
title: ( localize2(
|
|
504
|
+
title: ( localize2(9646, "Show Logs...")),
|
|
505
505
|
category: Categories.Developer,
|
|
506
506
|
menu: {
|
|
507
507
|
id: MenuId.CommandPalette,
|
|
@@ -527,12 +527,12 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
527
527
|
entries.push({ id, label });
|
|
528
528
|
}
|
|
529
529
|
if (extensionLogs.length && logs.length) {
|
|
530
|
-
entries.push({ type: 'separator', label: ( localize(
|
|
530
|
+
entries.push({ type: 'separator', label: ( localize(9631, "Extension Logs")) });
|
|
531
531
|
}
|
|
532
532
|
for (const { id, label } of extensionLogs) {
|
|
533
533
|
entries.push({ id, label });
|
|
534
534
|
}
|
|
535
|
-
const entry = await quickInputService.pick(entries, { placeHolder: ( localize(
|
|
535
|
+
const entry = await quickInputService.pick(entries, { placeHolder: ( localize(9632, "Select Log")) });
|
|
536
536
|
if (entry) {
|
|
537
537
|
return outputService.showChannel(entry.id);
|
|
538
538
|
}
|
|
@@ -544,7 +544,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
544
544
|
constructor() {
|
|
545
545
|
super({
|
|
546
546
|
id: 'workbench.action.openLogFile',
|
|
547
|
-
title: ( localize2(
|
|
547
|
+
title: ( localize2(9647, "Open Log...")),
|
|
548
548
|
category: Categories.Developer,
|
|
549
549
|
menu: {
|
|
550
550
|
id: MenuId.CommandPalette,
|
|
@@ -555,7 +555,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
555
555
|
name: 'logFile',
|
|
556
556
|
schema: {
|
|
557
557
|
markdownDescription: ( localize(
|
|
558
|
-
|
|
558
|
+
9648,
|
|
559
559
|
"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"
|
|
560
560
|
)),
|
|
561
561
|
type: 'string'
|
|
@@ -592,7 +592,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
592
592
|
entries.push({ type: 'separator' });
|
|
593
593
|
entries.push(...coreChannels.sort((a, b) => a.label.localeCompare(b.label)));
|
|
594
594
|
}
|
|
595
|
-
entry = await quickInputService.pick(entries, { placeHolder: ( localize(
|
|
595
|
+
entry = await quickInputService.pick(entries, { placeHolder: ( localize(9649, "Select Log File")) });
|
|
596
596
|
}
|
|
597
597
|
if (entry?.id) {
|
|
598
598
|
const channel = outputService.getChannel(entry.id);
|
|
@@ -618,7 +618,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
618
618
|
title: LogLevelToLocalizedString(logLevel).value,
|
|
619
619
|
metadata: {
|
|
620
620
|
description: ( localize2(
|
|
621
|
-
|
|
621
|
+
9650,
|
|
622
622
|
"Show or hide {0} messages in the output",
|
|
623
623
|
LogLevelToString(logLevel)
|
|
624
624
|
))
|
|
@@ -668,7 +668,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
668
668
|
constructor() {
|
|
669
669
|
super({
|
|
670
670
|
id: `workbench.actions.${OUTPUT_VIEW_ID}.clearFilterText`,
|
|
671
|
-
title: ( localize(
|
|
671
|
+
title: ( localize(9651, "Clear filters text")),
|
|
672
672
|
keybinding: {
|
|
673
673
|
when: OUTPUT_FILTER_FOCUS_CONTEXT,
|
|
674
674
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -687,7 +687,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
687
687
|
constructor() {
|
|
688
688
|
super({
|
|
689
689
|
id: `workbench.action.exportLogs`,
|
|
690
|
-
title: ( localize2(
|
|
690
|
+
title: ( localize2(9652, "Export Logs...")),
|
|
691
691
|
f1: true,
|
|
692
692
|
category: Categories.Developer,
|
|
693
693
|
menu: [{
|
|
@@ -720,13 +720,13 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
720
720
|
entries.push(log);
|
|
721
721
|
}
|
|
722
722
|
if (extensionLogs.length && logs.length) {
|
|
723
|
-
entries.push({ type: 'separator', label: ( localize(
|
|
723
|
+
entries.push({ type: 'separator', label: ( localize(9631, "Extension Logs")) });
|
|
724
724
|
}
|
|
725
725
|
for (const log of extensionLogs.sort((a, b) => a.label.localeCompare(b.label))) {
|
|
726
726
|
entries.push(log);
|
|
727
727
|
}
|
|
728
728
|
if (userLogs.length && (extensionLogs.length || logs.length)) {
|
|
729
|
-
entries.push({ type: 'separator', label: ( localize(
|
|
729
|
+
entries.push({ type: 'separator', label: ( localize(9653, "User Logs")) });
|
|
730
730
|
}
|
|
731
731
|
for (const log of userLogs.sort((a, b) => a.label.localeCompare(b.label))) {
|
|
732
732
|
entries.push(log);
|
|
@@ -746,7 +746,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
746
746
|
}
|
|
747
747
|
}
|
|
748
748
|
else {
|
|
749
|
-
selectedOutputChannels = await quickInputService.pick(entries, { placeHolder: ( localize(
|
|
749
|
+
selectedOutputChannels = await quickInputService.pick(entries, { placeHolder: ( localize(9632, "Select Log")), canPickMany: true });
|
|
750
750
|
}
|
|
751
751
|
if (selectedOutputChannels?.length) {
|
|
752
752
|
await outputService.saveOutputAs(arg?.outputPath, ...selectedOutputChannels);
|
|
@@ -759,7 +759,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
759
759
|
constructor() {
|
|
760
760
|
super({
|
|
761
761
|
id: `workbench.action.importLog`,
|
|
762
|
-
title: ( localize2(
|
|
762
|
+
title: ( localize2(9654, "Import Log...")),
|
|
763
763
|
f1: true,
|
|
764
764
|
category: Categories.Developer,
|
|
765
765
|
menu: [{
|
|
@@ -774,12 +774,12 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
774
774
|
const outputService = accessor.get(IOutputService);
|
|
775
775
|
const fileDialogService = accessor.get(IFileDialogService);
|
|
776
776
|
const result = await fileDialogService.showOpenDialog({
|
|
777
|
-
title: ( localize(
|
|
777
|
+
title: ( localize(9655, "Import Log File")),
|
|
778
778
|
canSelectFiles: true,
|
|
779
779
|
canSelectFolders: false,
|
|
780
780
|
canSelectMany: true,
|
|
781
781
|
filters: [{
|
|
782
|
-
name: ( localize(
|
|
782
|
+
name: ( localize(9656, "Log Files")),
|
|
783
783
|
extensions: ['log']
|
|
784
784
|
}]
|
|
785
785
|
});
|
|
@@ -809,13 +809,13 @@ OutputContribution = ( __decorate([
|
|
|
809
809
|
( Registry.as(Extensions$3.Configuration)).registerConfiguration({
|
|
810
810
|
id: 'output',
|
|
811
811
|
order: 30,
|
|
812
|
-
title: ( localize(
|
|
812
|
+
title: ( localize(9626, "Output")),
|
|
813
813
|
type: 'object',
|
|
814
814
|
properties: {
|
|
815
815
|
'output.smartScroll.enabled': {
|
|
816
816
|
type: 'boolean',
|
|
817
817
|
description: ( localize(
|
|
818
|
-
|
|
818
|
+
9657,
|
|
819
819
|
"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."
|
|
820
820
|
)),
|
|
821
821
|
default: true,
|
|
@@ -335,7 +335,7 @@ let OutputService = class OutputService extends Disposable {
|
|
|
335
335
|
if (!uri) {
|
|
336
336
|
const name = channels.length > 1 ? 'output' : channels[0].label;
|
|
337
337
|
uri = await this.fileDialogService.showSaveDialog({
|
|
338
|
-
title: ( localize(
|
|
338
|
+
title: ( localize(9658, "Save Output As")),
|
|
339
339
|
availableFileSystems: [Schemas.file],
|
|
340
340
|
defaultUri: joinPath(await this.fileDialogService.defaultFilePath(), `${name}.log`),
|
|
341
341
|
filters: [{
|
|
@@ -22,7 +22,7 @@ import { TextResourceEditorInput } from "@codingame/monaco-vscode-16b9b017-9377-
|
|
|
22
22
|
import { IOpenerService } from "@codingame/monaco-vscode-api/vscode/vs/platform/opener/common/opener.service";
|
|
23
23
|
import { ITextEditorOptions } from "@codingame/monaco-vscode-api/vscode/vs/platform/editor/common/editor";
|
|
24
24
|
import { IFileService } from "@codingame/monaco-vscode-api/vscode/vs/platform/files/common/files.service";
|
|
25
|
-
import { IEditorConfiguration } from "@codingame/monaco-vscode-
|
|
25
|
+
import { IEditorConfiguration } from "@codingame/monaco-vscode-0b011daf-0f15-57de-bd5b-8953592c556c-common/vscode/vs/workbench/browser/parts/editor/textEditor";
|
|
26
26
|
import { IHoverService } from "@codingame/monaco-vscode-api/vscode/vs/platform/hover/browser/hover.service";
|
|
27
27
|
import { Disposable } from "@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle";
|
|
28
28
|
import { ICodeEditorWidgetOptions } from "@codingame/monaco-vscode-api/vscode/vs/editor/browser/widget/codeEditor/codeEditorWidget";
|
|
@@ -52,7 +52,7 @@ let OutputViewPane = class OutputViewPane extends FilterViewPane {
|
|
|
52
52
|
super({
|
|
53
53
|
...options,
|
|
54
54
|
filterOptions: {
|
|
55
|
-
placeholder: ( localize(
|
|
55
|
+
placeholder: ( localize(9659, "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(
|
|
154
|
+
return this.instantiationService.createInstance(TextResourceEditorInput, channel.uri, ( localize(9660, "{0} - Output", channel.label)), ( localize(9661, "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(
|
|
192
|
+
return localize(9662, "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(
|
|
226
|
+
return this.input ? this.input.getAriaLabel() : ( localize(9663, "Output panel"));
|
|
227
227
|
}
|
|
228
228
|
computeAriaLabel() {
|
|
229
229
|
return this.input ? computeEditorAriaLabel(this.input, undefined, undefined, this.editorGroupService.count) : this.getAriaLabel();
|