@codingame/monaco-vscode-output-service-override 36.2.7 → 37.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 +3 -3
- package/vscode/src/vs/workbench/contrib/output/browser/output.contribution.js +43 -43
- package/vscode/src/vs/workbench/contrib/output/browser/outputAccessibilityHelp.js +29 -29
- package/vscode/src/vs/workbench/contrib/output/browser/outputServices.js +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": "
|
|
3
|
+
"version": "37.1.0",
|
|
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": "
|
|
19
|
-
"@codingame/monaco-vscode-log-service-override": "
|
|
18
|
+
"@codingame/monaco-vscode-api": "37.1.0",
|
|
19
|
+
"@codingame/monaco-vscode-log-service-override": "37.1.0"
|
|
20
20
|
},
|
|
21
21
|
"main": "index.js",
|
|
22
22
|
"module": "index.js",
|
|
@@ -56,10 +56,10 @@ ModesRegistry.registerLanguage({
|
|
|
56
56
|
extensions: [],
|
|
57
57
|
mimetypes: [LOG_MIME]
|
|
58
58
|
});
|
|
59
|
-
const outputViewIcon = registerIcon("output-view-icon", Codicon.output, ( localize(
|
|
59
|
+
const outputViewIcon = registerIcon("output-view-icon", Codicon.output, ( localize(14924, "View icon of the output view.")));
|
|
60
60
|
const VIEW_CONTAINER = ( Registry.as(Extensions.ViewContainersRegistry)).registerViewContainer({
|
|
61
61
|
id: OUTPUT_VIEW_ID,
|
|
62
|
-
title: ( localize2(
|
|
62
|
+
title: ( localize2(14925, "Output")),
|
|
63
63
|
icon: outputViewIcon,
|
|
64
64
|
order: 1,
|
|
65
65
|
ctorDescriptor: ( new SyncDescriptor(ViewPaneContainer, [OUTPUT_VIEW_ID, {
|
|
@@ -73,14 +73,14 @@ const VIEW_CONTAINER = ( Registry.as(Extensions.ViewContainersRegistry)).registe
|
|
|
73
73
|
});
|
|
74
74
|
( Registry.as(Extensions.ViewsRegistry)).registerViews([{
|
|
75
75
|
id: OUTPUT_VIEW_ID,
|
|
76
|
-
name: ( localize2(
|
|
76
|
+
name: ( localize2(14925, "Output")),
|
|
77
77
|
containerIcon: outputViewIcon,
|
|
78
78
|
canMoveView: true,
|
|
79
79
|
canToggleVisibility: true,
|
|
80
80
|
ctorDescriptor: ( new SyncDescriptor(OutputViewPane)),
|
|
81
81
|
openCommandActionDescriptor: {
|
|
82
82
|
id: "workbench.action.output.toggleOutput",
|
|
83
|
-
mnemonicTitle: ( localize(
|
|
83
|
+
mnemonicTitle: ( localize(14926, "&&Output")),
|
|
84
84
|
keybindings: {
|
|
85
85
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyU,
|
|
86
86
|
linux: {
|
|
@@ -121,7 +121,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
121
121
|
constructor() {
|
|
122
122
|
super({
|
|
123
123
|
id: `workbench.output.action.switchBetweenOutputs`,
|
|
124
|
-
title: ( localize(
|
|
124
|
+
title: ( localize(14927, "Switch Output"))
|
|
125
125
|
});
|
|
126
126
|
}
|
|
127
127
|
async run(accessor, channelId) {
|
|
@@ -133,7 +133,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
133
133
|
const switchOutputMenu = ( new MenuId("workbench.output.menu.switchOutput"));
|
|
134
134
|
this._register(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
|
|
135
135
|
submenu: switchOutputMenu,
|
|
136
|
-
title: ( localize(
|
|
136
|
+
title: ( localize(14928, "Switch Output")),
|
|
137
137
|
group: "navigation",
|
|
138
138
|
when: ( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)),
|
|
139
139
|
order: 1,
|
|
@@ -181,8 +181,8 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
181
181
|
constructor() {
|
|
182
182
|
super({
|
|
183
183
|
id: "workbench.action.output.addCompoundLog",
|
|
184
|
-
title: ( localize2(
|
|
185
|
-
category: ( localize2(
|
|
184
|
+
title: ( localize2(14929, "Add Compound Log...")),
|
|
185
|
+
category: ( localize2(14925, "Output")),
|
|
186
186
|
f1: true,
|
|
187
187
|
menu: [{
|
|
188
188
|
id: MenuId.ViewTitle,
|
|
@@ -211,14 +211,14 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
211
211
|
if (extensionLogs.length && logs.length) {
|
|
212
212
|
entries.push({
|
|
213
213
|
type: "separator",
|
|
214
|
-
label: ( localize(
|
|
214
|
+
label: ( localize(14930, "Extension Logs"))
|
|
215
215
|
});
|
|
216
216
|
}
|
|
217
217
|
for (const log of extensionLogs.sort((a, b) => a.label.localeCompare(b.label))) {
|
|
218
218
|
entries.push(log);
|
|
219
219
|
}
|
|
220
220
|
const result = await quickInputService.pick(entries, {
|
|
221
|
-
placeHolder: ( localize(
|
|
221
|
+
placeHolder: ( localize(14931, "Select Log")),
|
|
222
222
|
canPickMany: true
|
|
223
223
|
});
|
|
224
224
|
if (result?.length) {
|
|
@@ -232,8 +232,8 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
232
232
|
constructor() {
|
|
233
233
|
super({
|
|
234
234
|
id: "workbench.action.output.remove",
|
|
235
|
-
title: ( localize2(
|
|
236
|
-
category: ( localize2(
|
|
235
|
+
title: ( localize2(14932, "Remove Output...")),
|
|
236
|
+
category: ( localize2(14925, "Output")),
|
|
237
237
|
f1: true
|
|
238
238
|
});
|
|
239
239
|
}
|
|
@@ -243,11 +243,11 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
243
243
|
const notificationService = accessor.get(INotificationService);
|
|
244
244
|
const entries = outputService.getChannelDescriptors().filter(channel => channel.user);
|
|
245
245
|
if (entries.length === 0) {
|
|
246
|
-
notificationService.info(( localize(
|
|
246
|
+
notificationService.info(( localize(14933, "No custom outputs to remove.")));
|
|
247
247
|
return;
|
|
248
248
|
}
|
|
249
249
|
const result = await quickInputService.pick(entries, {
|
|
250
|
-
placeHolder: ( localize(
|
|
250
|
+
placeHolder: ( localize(14931, "Select Log")),
|
|
251
251
|
canPickMany: true
|
|
252
252
|
});
|
|
253
253
|
if (!result?.length) {
|
|
@@ -265,8 +265,8 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
265
265
|
constructor() {
|
|
266
266
|
super({
|
|
267
267
|
id: "workbench.action.showOutputChannels",
|
|
268
|
-
title: ( localize2(
|
|
269
|
-
category: ( localize2(
|
|
268
|
+
title: ( localize2(14934, "Show Output Channels...")),
|
|
269
|
+
category: ( localize2(14925, "Output")),
|
|
270
270
|
f1: true
|
|
271
271
|
});
|
|
272
272
|
}
|
|
@@ -306,7 +306,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
306
306
|
});
|
|
307
307
|
}
|
|
308
308
|
const entry = await quickInputService.pick(entries, {
|
|
309
|
-
placeHolder: ( localize(
|
|
309
|
+
placeHolder: ( localize(14935, "Select Output Channel"))
|
|
310
310
|
});
|
|
311
311
|
if (entry) {
|
|
312
312
|
return outputService.showChannel(entry.id);
|
|
@@ -319,7 +319,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
319
319
|
constructor() {
|
|
320
320
|
super({
|
|
321
321
|
id: `workbench.output.action.clearOutput`,
|
|
322
|
-
title: ( localize2(
|
|
322
|
+
title: ( localize2(14936, "Clear Output")),
|
|
323
323
|
category: Categories.View,
|
|
324
324
|
menu: [{
|
|
325
325
|
id: MenuId.ViewTitle,
|
|
@@ -351,8 +351,8 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
351
351
|
constructor() {
|
|
352
352
|
super({
|
|
353
353
|
id: `workbench.output.action.toggleAutoScroll`,
|
|
354
|
-
title: ( localize2(
|
|
355
|
-
tooltip: ( localize(
|
|
354
|
+
title: ( localize2(14937, "Toggle Auto Scrolling")),
|
|
355
|
+
tooltip: ( localize(14938, "Turn Auto Scrolling Off")),
|
|
356
356
|
menu: {
|
|
357
357
|
id: MenuId.ViewTitle,
|
|
358
358
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)))),
|
|
@@ -363,7 +363,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
363
363
|
toggled: {
|
|
364
364
|
condition: CONTEXT_OUTPUT_SCROLL_LOCK,
|
|
365
365
|
icon: Codicon.unlock,
|
|
366
|
-
tooltip: ( localize(
|
|
366
|
+
tooltip: ( localize(14939, "Turn Auto Scrolling On"))
|
|
367
367
|
}
|
|
368
368
|
});
|
|
369
369
|
}
|
|
@@ -379,7 +379,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
379
379
|
constructor() {
|
|
380
380
|
super({
|
|
381
381
|
id: `workbench.action.openActiveLogOutputFile`,
|
|
382
|
-
title: ( localize2(
|
|
382
|
+
title: ( localize2(14940, "Open Output in Editor")),
|
|
383
383
|
menu: [{
|
|
384
384
|
id: MenuId.ViewTitle,
|
|
385
385
|
when: ( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)),
|
|
@@ -401,7 +401,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
401
401
|
constructor() {
|
|
402
402
|
super({
|
|
403
403
|
id: `workbench.action.openActiveLogOutputFileInNewWindow`,
|
|
404
|
-
title: ( localize2(
|
|
404
|
+
title: ( localize2(14941, "Open Output in New Window")),
|
|
405
405
|
menu: [{
|
|
406
406
|
id: MenuId.ViewTitle,
|
|
407
407
|
when: ( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)),
|
|
@@ -422,7 +422,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
422
422
|
constructor() {
|
|
423
423
|
super({
|
|
424
424
|
id: `workbench.action.saveActiveLogOutputAs`,
|
|
425
|
-
title: ( localize2(
|
|
425
|
+
title: ( localize2(14942, "Save Output As...")),
|
|
426
426
|
menu: [{
|
|
427
427
|
id: MenuId.ViewTitle,
|
|
428
428
|
when: ( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)),
|
|
@@ -458,7 +458,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
458
458
|
const logLevelMenu = ( new MenuId("workbench.output.menu.logLevel"));
|
|
459
459
|
this._register(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
|
|
460
460
|
submenu: logLevelMenu,
|
|
461
|
-
title: ( localize(
|
|
461
|
+
title: ( localize(14943, "Set Log Level...")),
|
|
462
462
|
group: "navigation",
|
|
463
463
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)), CONTEXT_ACTIVE_OUTPUT_LEVEL_SETTABLE)),
|
|
464
464
|
icon: Codicon.gear,
|
|
@@ -501,7 +501,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
501
501
|
constructor() {
|
|
502
502
|
super({
|
|
503
503
|
id: `workbench.action.output.activeOutputLogLevelDefault`,
|
|
504
|
-
title: ( localize(
|
|
504
|
+
title: ( localize(14944, "Set As Default")),
|
|
505
505
|
menu: {
|
|
506
506
|
id: logLevelMenu,
|
|
507
507
|
order,
|
|
@@ -530,7 +530,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
530
530
|
constructor() {
|
|
531
531
|
super({
|
|
532
532
|
id: "workbench.action.showLogs",
|
|
533
|
-
title: ( localize2(
|
|
533
|
+
title: ( localize2(14945, "Show Logs...")),
|
|
534
534
|
category: Categories.Developer,
|
|
535
535
|
menu: {
|
|
536
536
|
id: MenuId.CommandPalette
|
|
@@ -563,7 +563,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
563
563
|
if (extensionLogs.length && logs.length) {
|
|
564
564
|
entries.push({
|
|
565
565
|
type: "separator",
|
|
566
|
-
label: ( localize(
|
|
566
|
+
label: ( localize(14930, "Extension Logs"))
|
|
567
567
|
});
|
|
568
568
|
}
|
|
569
569
|
for (const {
|
|
@@ -576,7 +576,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
576
576
|
});
|
|
577
577
|
}
|
|
578
578
|
const entry = await quickInputService.pick(entries, {
|
|
579
|
-
placeHolder: ( localize(
|
|
579
|
+
placeHolder: ( localize(14931, "Select Log"))
|
|
580
580
|
});
|
|
581
581
|
if (entry) {
|
|
582
582
|
return outputService.showChannel(entry.id);
|
|
@@ -589,7 +589,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
589
589
|
constructor() {
|
|
590
590
|
super({
|
|
591
591
|
id: "workbench.action.openLogFile",
|
|
592
|
-
title: ( localize2(
|
|
592
|
+
title: ( localize2(14946, "Open Log...")),
|
|
593
593
|
category: Categories.Developer,
|
|
594
594
|
menu: {
|
|
595
595
|
id: MenuId.CommandPalette
|
|
@@ -600,7 +600,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
600
600
|
name: "logFile",
|
|
601
601
|
schema: {
|
|
602
602
|
markdownDescription: ( localize(
|
|
603
|
-
|
|
603
|
+
14947,
|
|
604
604
|
"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"
|
|
605
605
|
)),
|
|
606
606
|
type: "string"
|
|
@@ -642,7 +642,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
642
642
|
entries.push(...coreChannels.sort((a, b) => a.label.localeCompare(b.label)));
|
|
643
643
|
}
|
|
644
644
|
entry = await quickInputService.pick(entries, {
|
|
645
|
-
placeHolder: ( localize(
|
|
645
|
+
placeHolder: ( localize(14948, "Select Log File"))
|
|
646
646
|
});
|
|
647
647
|
}
|
|
648
648
|
if (entry?.id) {
|
|
@@ -669,7 +669,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
669
669
|
title: LogLevelToLocalizedString(logLevel).value,
|
|
670
670
|
metadata: {
|
|
671
671
|
description: ( localize2(
|
|
672
|
-
|
|
672
|
+
14949,
|
|
673
673
|
"Show or hide {0} messages in the output",
|
|
674
674
|
LogLevelToString(logLevel)
|
|
675
675
|
))
|
|
@@ -719,7 +719,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
719
719
|
constructor() {
|
|
720
720
|
super({
|
|
721
721
|
id: `workbench.actions.${OUTPUT_VIEW_ID}.clearFilterText`,
|
|
722
|
-
title: ( localize(
|
|
722
|
+
title: ( localize(14950, "Clear filters text")),
|
|
723
723
|
keybinding: {
|
|
724
724
|
when: OUTPUT_FILTER_FOCUS_CONTEXT,
|
|
725
725
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -738,7 +738,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
738
738
|
constructor() {
|
|
739
739
|
super({
|
|
740
740
|
id: `workbench.action.exportLogs`,
|
|
741
|
-
title: ( localize2(
|
|
741
|
+
title: ( localize2(14951, "Export Logs...")),
|
|
742
742
|
f1: true,
|
|
743
743
|
category: Categories.Developer,
|
|
744
744
|
menu: [{
|
|
@@ -771,7 +771,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
771
771
|
if (extensionLogs.length && logs.length) {
|
|
772
772
|
entries.push({
|
|
773
773
|
type: "separator",
|
|
774
|
-
label: ( localize(
|
|
774
|
+
label: ( localize(14930, "Extension Logs"))
|
|
775
775
|
});
|
|
776
776
|
}
|
|
777
777
|
for (const log of extensionLogs.sort((a, b) => a.label.localeCompare(b.label))) {
|
|
@@ -780,7 +780,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
780
780
|
if (userLogs.length && (extensionLogs.length || logs.length)) {
|
|
781
781
|
entries.push({
|
|
782
782
|
type: "separator",
|
|
783
|
-
label: ( localize(
|
|
783
|
+
label: ( localize(14952, "User Logs"))
|
|
784
784
|
});
|
|
785
785
|
}
|
|
786
786
|
for (const log of userLogs.sort((a, b) => a.label.localeCompare(b.label))) {
|
|
@@ -802,7 +802,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
802
802
|
}
|
|
803
803
|
} else {
|
|
804
804
|
selectedOutputChannels = await quickInputService.pick(entries, {
|
|
805
|
-
placeHolder: ( localize(
|
|
805
|
+
placeHolder: ( localize(14931, "Select Log")),
|
|
806
806
|
canPickMany: true
|
|
807
807
|
});
|
|
808
808
|
}
|
|
@@ -817,7 +817,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
817
817
|
constructor() {
|
|
818
818
|
super({
|
|
819
819
|
id: `workbench.action.importLog`,
|
|
820
|
-
title: ( localize2(
|
|
820
|
+
title: ( localize2(14953, "Import Log...")),
|
|
821
821
|
f1: true,
|
|
822
822
|
category: Categories.Developer,
|
|
823
823
|
menu: [{
|
|
@@ -832,12 +832,12 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
832
832
|
const outputService = accessor.get(IOutputService);
|
|
833
833
|
const fileDialogService = accessor.get(IFileDialogService);
|
|
834
834
|
const result = await fileDialogService.showOpenDialog({
|
|
835
|
-
title: ( localize(
|
|
835
|
+
title: ( localize(14954, "Import Log File")),
|
|
836
836
|
canSelectFiles: true,
|
|
837
837
|
canSelectFolders: false,
|
|
838
838
|
canSelectMany: true,
|
|
839
839
|
filters: [{
|
|
840
|
-
name: ( localize(
|
|
840
|
+
name: ( localize(14955, "Log Files")),
|
|
841
841
|
extensions: ["log"]
|
|
842
842
|
}]
|
|
843
843
|
});
|
|
@@ -867,13 +867,13 @@ OutputContribution = ( __decorate([( __param(0, IOutputService)), ( __param(1, I
|
|
|
867
867
|
( Registry.as(Extensions$3.Configuration)).registerConfiguration({
|
|
868
868
|
id: "output",
|
|
869
869
|
order: 30,
|
|
870
|
-
title: ( localize(
|
|
870
|
+
title: ( localize(14925, "Output")),
|
|
871
871
|
type: "object",
|
|
872
872
|
properties: {
|
|
873
873
|
"output.smartScroll.enabled": {
|
|
874
874
|
type: "boolean",
|
|
875
875
|
description: ( localize(
|
|
876
|
-
|
|
876
|
+
14956,
|
|
877
877
|
"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."
|
|
878
878
|
)),
|
|
879
879
|
default: true,
|
|
@@ -29,90 +29,90 @@ class OutputAccessibilityHelpProvider extends Disposable {
|
|
|
29
29
|
}
|
|
30
30
|
provideContent() {
|
|
31
31
|
const lines = [];
|
|
32
|
-
lines.push(( localize(
|
|
32
|
+
lines.push(( localize(14957, "Accessibility Help: Output Panel Filter")));
|
|
33
33
|
lines.push(( localize(
|
|
34
|
-
|
|
34
|
+
14958,
|
|
35
35
|
"You are in the Output panel filter input. This is NOT a navigating search. Instead, it instantly hides lines that do not match your filter, showing only the lines you want to see."
|
|
36
36
|
)));
|
|
37
37
|
lines.push("");
|
|
38
|
-
lines.push(( localize(
|
|
39
|
-
lines.push(( localize(
|
|
38
|
+
lines.push(( localize(14959, "Current Filter Status:")));
|
|
39
|
+
lines.push(( localize(14960, "You are filtering the output.")));
|
|
40
40
|
lines.push("");
|
|
41
|
-
lines.push(( localize(
|
|
41
|
+
lines.push(( localize(14961, "Inside the Filter Input (What It Does):")));
|
|
42
42
|
lines.push(( localize(
|
|
43
|
-
|
|
43
|
+
14962,
|
|
44
44
|
"While you are in the filter input, your focus stays in the field. You can type, edit, or adjust your filter without leaving the input. As you type, the Output panel instantly updates to show only lines matching your filter."
|
|
45
45
|
)));
|
|
46
46
|
lines.push("");
|
|
47
|
-
lines.push(( localize(
|
|
47
|
+
lines.push(( localize(14963, "What Happens When You Filter:")));
|
|
48
48
|
lines.push(( localize(
|
|
49
|
-
|
|
49
|
+
14964,
|
|
50
50
|
"Each time you change the filter text, the panel instantly regenerates to show only matching lines. Your screen reader announces how many lines are now visible. This is live feedback: as you type or delete characters, the displayed lines update immediately."
|
|
51
51
|
)));
|
|
52
52
|
lines.push(( localize(
|
|
53
|
-
|
|
53
|
+
14965,
|
|
54
54
|
"New output from your running program is appended to the panel and automatically filtered, so matching new output appears instantly."
|
|
55
55
|
)));
|
|
56
56
|
lines.push("");
|
|
57
|
-
lines.push(( localize(
|
|
57
|
+
lines.push(( localize(14966, "Focus Behavior (Important):")));
|
|
58
58
|
lines.push(( localize(
|
|
59
|
-
|
|
59
|
+
14967,
|
|
60
60
|
"Your focus stays in the filter input while the panel updates in the background. This is intentional, so you can keep typing without losing your place."
|
|
61
61
|
)));
|
|
62
62
|
lines.push(( localize(
|
|
63
|
-
|
|
63
|
+
14968,
|
|
64
64
|
"If you want to review the filtered output, press Down Arrow to move focus from the filter into the output content below."
|
|
65
65
|
)));
|
|
66
66
|
lines.push(( localize(
|
|
67
|
-
|
|
67
|
+
14969,
|
|
68
68
|
"If you want to clear the filter and see all output, press Escape or delete all filter text."
|
|
69
69
|
)));
|
|
70
70
|
lines.push("");
|
|
71
|
-
lines.push(( localize(
|
|
71
|
+
lines.push(( localize(14970, "Filter Syntax and Patterns:")));
|
|
72
72
|
lines.push(( localize(
|
|
73
|
-
|
|
73
|
+
14971,
|
|
74
74
|
"- Type text: Shows only lines containing that text (case-insensitive by default)."
|
|
75
75
|
)));
|
|
76
76
|
lines.push(( localize(
|
|
77
|
-
|
|
77
|
+
14972,
|
|
78
78
|
"- !text (exclude): Hides lines containing 'text', showing all other lines."
|
|
79
79
|
)));
|
|
80
80
|
lines.push(( localize(
|
|
81
|
-
|
|
81
|
+
14973,
|
|
82
82
|
"- \\\\! (escape): Use backslash to search for a literal \"!\" character."
|
|
83
83
|
)));
|
|
84
84
|
lines.push(( localize(
|
|
85
|
-
|
|
85
|
+
14974,
|
|
86
86
|
"- text1, text2 (multiple patterns): Separate patterns with commas to show lines matching ANY pattern."
|
|
87
87
|
)));
|
|
88
88
|
lines.push(( localize(
|
|
89
|
-
|
|
89
|
+
14975,
|
|
90
90
|
"Example: typing \"error, warning\" shows lines containing either \"error\" or \"warning\"."
|
|
91
91
|
)));
|
|
92
92
|
lines.push("");
|
|
93
|
-
lines.push(( localize(
|
|
94
|
-
lines.push(( localize(
|
|
95
|
-
lines.push(( localize(
|
|
96
|
-
lines.push(( localize(
|
|
93
|
+
lines.push(( localize(14976, "Keyboard Navigation Summary:")));
|
|
94
|
+
lines.push(( localize(14977, "- Down Arrow: Move focus from filter into the output content.")));
|
|
95
|
+
lines.push(( localize(14978, "- Tab: Move to log level filter buttons if available.")));
|
|
96
|
+
lines.push(( localize(14979, "- Escape: Clear the filter and return to showing all output.")));
|
|
97
97
|
lines.push("");
|
|
98
98
|
lines.push(( localize(
|
|
99
|
-
|
|
99
|
+
14980,
|
|
100
100
|
"Settings You Can Adjust ({0} opens Settings):",
|
|
101
101
|
this._describeCommand("workbench.action.openSettings") || "Ctrl+,"
|
|
102
102
|
)));
|
|
103
|
-
lines.push(( localize(
|
|
103
|
+
lines.push(( localize(14981, "These settings affect how the Output panel works.")));
|
|
104
104
|
lines.push(( localize(
|
|
105
|
-
|
|
105
|
+
14982,
|
|
106
106
|
"- `accessibility.verbosity.find`: Controls whether the filter input announces the Accessibility Help hint."
|
|
107
107
|
)));
|
|
108
108
|
lines.push(( localize(
|
|
109
|
-
|
|
109
|
+
14983,
|
|
110
110
|
"- `output.smartScroll.enabled`: Automatically scroll to the latest output when messages arrive."
|
|
111
111
|
)));
|
|
112
112
|
lines.push("");
|
|
113
|
-
lines.push(( localize(
|
|
113
|
+
lines.push(( localize(14984, "Closing:")));
|
|
114
114
|
lines.push(( localize(
|
|
115
|
-
|
|
115
|
+
14985,
|
|
116
116
|
"Press Escape to clear the filter and see all output, or close the Output panel. Your filter text is preserved if you reopen the panel."
|
|
117
117
|
)));
|
|
118
118
|
return lines.join("\n");
|
|
@@ -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(
|
|
451
|
+
title: ( localize(14986, "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(
|
|
72
|
+
placeholder: ( localize(14987, "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(
|
|
182
|
+
return this.instantiationService.createInstance(TextResourceEditorInput, channel.uri, ( localize(14988, "{0} - Output", channel.label)), ( localize(14989, "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(
|
|
229
|
+
return localize(14990, "Output");
|
|
230
230
|
}
|
|
231
231
|
getConfigurationOverrides(configuration) {
|
|
232
232
|
const options = super.getConfigurationOverrides(configuration);
|
|
@@ -266,7 +266,7 @@ let OutputEditor = class OutputEditor extends AbstractTextResourceEditor {
|
|
|
266
266
|
return options;
|
|
267
267
|
}
|
|
268
268
|
getAriaLabel() {
|
|
269
|
-
return this.input ? this.input.getAriaLabel() : ( localize(
|
|
269
|
+
return this.input ? this.input.getAriaLabel() : ( localize(14991, "Output panel"));
|
|
270
270
|
}
|
|
271
271
|
computeAriaLabel() {
|
|
272
272
|
return this.input ? computeEditorAriaLabel(this.input, undefined, undefined, this.editorGroupService.count) : this.getAriaLabel();
|