@codingame/monaco-vscode-output-service-override 28.4.1 → 29.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 +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": "29.0.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": "29.0.0",
|
|
19
|
+
"@codingame/monaco-vscode-log-service-override": "29.0.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(11461, "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(11462, "Output")),
|
|
63
63
|
icon: outputViewIcon,
|
|
64
64
|
order: 1,
|
|
65
65
|
ctorDescriptor: ( new SyncDescriptor(ViewPaneContainer, [OUTPUT_VIEW_ID, {
|
|
@@ -72,14 +72,14 @@ const VIEW_CONTAINER = ( Registry.as(Extensions.ViewContainersRegistry)).registe
|
|
|
72
72
|
});
|
|
73
73
|
( Registry.as(Extensions.ViewsRegistry)).registerViews([{
|
|
74
74
|
id: OUTPUT_VIEW_ID,
|
|
75
|
-
name: ( localize2(
|
|
75
|
+
name: ( localize2(11462, "Output")),
|
|
76
76
|
containerIcon: outputViewIcon,
|
|
77
77
|
canMoveView: true,
|
|
78
78
|
canToggleVisibility: true,
|
|
79
79
|
ctorDescriptor: ( new SyncDescriptor(OutputViewPane)),
|
|
80
80
|
openCommandActionDescriptor: {
|
|
81
81
|
id: "workbench.action.output.toggleOutput",
|
|
82
|
-
mnemonicTitle: ( localize(
|
|
82
|
+
mnemonicTitle: ( localize(11463, "&&Output")),
|
|
83
83
|
keybindings: {
|
|
84
84
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyU,
|
|
85
85
|
linux: {
|
|
@@ -119,7 +119,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
119
119
|
constructor() {
|
|
120
120
|
super({
|
|
121
121
|
id: `workbench.output.action.switchBetweenOutputs`,
|
|
122
|
-
title: ( localize(
|
|
122
|
+
title: ( localize(11464, "Switch Output"))
|
|
123
123
|
});
|
|
124
124
|
}
|
|
125
125
|
async run(accessor, channelId) {
|
|
@@ -131,7 +131,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
131
131
|
const switchOutputMenu = ( new MenuId("workbench.output.menu.switchOutput"));
|
|
132
132
|
this._register(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
|
|
133
133
|
submenu: switchOutputMenu,
|
|
134
|
-
title: ( localize(
|
|
134
|
+
title: ( localize(11465, "Switch Output")),
|
|
135
135
|
group: "navigation",
|
|
136
136
|
when: ( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)),
|
|
137
137
|
order: 1,
|
|
@@ -179,8 +179,8 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
179
179
|
constructor() {
|
|
180
180
|
super({
|
|
181
181
|
id: "workbench.action.output.addCompoundLog",
|
|
182
|
-
title: ( localize2(
|
|
183
|
-
category: ( localize2(
|
|
182
|
+
title: ( localize2(11466, "Add Compound Log...")),
|
|
183
|
+
category: ( localize2(11462, "Output")),
|
|
184
184
|
f1: true,
|
|
185
185
|
menu: [{
|
|
186
186
|
id: MenuId.ViewTitle,
|
|
@@ -209,14 +209,14 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
209
209
|
if (extensionLogs.length && logs.length) {
|
|
210
210
|
entries.push({
|
|
211
211
|
type: "separator",
|
|
212
|
-
label: ( localize(
|
|
212
|
+
label: ( localize(11467, "Extension Logs"))
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
for (const log of extensionLogs.sort((a, b) => a.label.localeCompare(b.label))) {
|
|
216
216
|
entries.push(log);
|
|
217
217
|
}
|
|
218
218
|
const result = await quickInputService.pick(entries, {
|
|
219
|
-
placeHolder: ( localize(
|
|
219
|
+
placeHolder: ( localize(11468, "Select Log")),
|
|
220
220
|
canPickMany: true
|
|
221
221
|
});
|
|
222
222
|
if (result?.length) {
|
|
@@ -230,8 +230,8 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
230
230
|
constructor() {
|
|
231
231
|
super({
|
|
232
232
|
id: "workbench.action.output.remove",
|
|
233
|
-
title: ( localize2(
|
|
234
|
-
category: ( localize2(
|
|
233
|
+
title: ( localize2(11469, "Remove Output...")),
|
|
234
|
+
category: ( localize2(11462, "Output")),
|
|
235
235
|
f1: true
|
|
236
236
|
});
|
|
237
237
|
}
|
|
@@ -241,11 +241,11 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
241
241
|
const notificationService = accessor.get(INotificationService);
|
|
242
242
|
const entries = outputService.getChannelDescriptors().filter(channel => channel.user);
|
|
243
243
|
if (entries.length === 0) {
|
|
244
|
-
notificationService.info(( localize(
|
|
244
|
+
notificationService.info(( localize(11470, "No custom outputs to remove.")));
|
|
245
245
|
return;
|
|
246
246
|
}
|
|
247
247
|
const result = await quickInputService.pick(entries, {
|
|
248
|
-
placeHolder: ( localize(
|
|
248
|
+
placeHolder: ( localize(11468, "Select Log")),
|
|
249
249
|
canPickMany: true
|
|
250
250
|
});
|
|
251
251
|
if (!result?.length) {
|
|
@@ -263,8 +263,8 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
263
263
|
constructor() {
|
|
264
264
|
super({
|
|
265
265
|
id: "workbench.action.showOutputChannels",
|
|
266
|
-
title: ( localize2(
|
|
267
|
-
category: ( localize2(
|
|
266
|
+
title: ( localize2(11471, "Show Output Channels...")),
|
|
267
|
+
category: ( localize2(11462, "Output")),
|
|
268
268
|
f1: true
|
|
269
269
|
});
|
|
270
270
|
}
|
|
@@ -304,7 +304,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
304
304
|
});
|
|
305
305
|
}
|
|
306
306
|
const entry = await quickInputService.pick(entries, {
|
|
307
|
-
placeHolder: ( localize(
|
|
307
|
+
placeHolder: ( localize(11472, "Select Output Channel"))
|
|
308
308
|
});
|
|
309
309
|
if (entry) {
|
|
310
310
|
return outputService.showChannel(entry.id);
|
|
@@ -317,7 +317,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
317
317
|
constructor() {
|
|
318
318
|
super({
|
|
319
319
|
id: `workbench.output.action.clearOutput`,
|
|
320
|
-
title: ( localize2(
|
|
320
|
+
title: ( localize2(11473, "Clear Output")),
|
|
321
321
|
category: Categories.View,
|
|
322
322
|
menu: [{
|
|
323
323
|
id: MenuId.ViewTitle,
|
|
@@ -349,8 +349,8 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
349
349
|
constructor() {
|
|
350
350
|
super({
|
|
351
351
|
id: `workbench.output.action.toggleAutoScroll`,
|
|
352
|
-
title: ( localize2(
|
|
353
|
-
tooltip: ( localize(
|
|
352
|
+
title: ( localize2(11474, "Toggle Auto Scrolling")),
|
|
353
|
+
tooltip: ( localize(11475, "Turn Auto Scrolling Off")),
|
|
354
354
|
menu: {
|
|
355
355
|
id: MenuId.ViewTitle,
|
|
356
356
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)))),
|
|
@@ -361,7 +361,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
361
361
|
toggled: {
|
|
362
362
|
condition: CONTEXT_OUTPUT_SCROLL_LOCK,
|
|
363
363
|
icon: Codicon.unlock,
|
|
364
|
-
tooltip: ( localize(
|
|
364
|
+
tooltip: ( localize(11476, "Turn Auto Scrolling On"))
|
|
365
365
|
}
|
|
366
366
|
});
|
|
367
367
|
}
|
|
@@ -377,7 +377,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
377
377
|
constructor() {
|
|
378
378
|
super({
|
|
379
379
|
id: `workbench.action.openActiveLogOutputFile`,
|
|
380
|
-
title: ( localize2(
|
|
380
|
+
title: ( localize2(11477, "Open Output in Editor")),
|
|
381
381
|
menu: [{
|
|
382
382
|
id: MenuId.ViewTitle,
|
|
383
383
|
when: ( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)),
|
|
@@ -399,7 +399,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
399
399
|
constructor() {
|
|
400
400
|
super({
|
|
401
401
|
id: `workbench.action.openActiveLogOutputFileInNewWindow`,
|
|
402
|
-
title: ( localize2(
|
|
402
|
+
title: ( localize2(11478, "Open Output in New Window")),
|
|
403
403
|
menu: [{
|
|
404
404
|
id: MenuId.ViewTitle,
|
|
405
405
|
when: ( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)),
|
|
@@ -420,7 +420,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
420
420
|
constructor() {
|
|
421
421
|
super({
|
|
422
422
|
id: `workbench.action.saveActiveLogOutputAs`,
|
|
423
|
-
title: ( localize2(
|
|
423
|
+
title: ( localize2(11479, "Save Output As...")),
|
|
424
424
|
menu: [{
|
|
425
425
|
id: MenuId.ViewTitle,
|
|
426
426
|
when: ( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)),
|
|
@@ -456,7 +456,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
456
456
|
const logLevelMenu = ( new MenuId("workbench.output.menu.logLevel"));
|
|
457
457
|
this._register(MenuRegistry.appendMenuItem(MenuId.ViewTitle, {
|
|
458
458
|
submenu: logLevelMenu,
|
|
459
|
-
title: ( localize(
|
|
459
|
+
title: ( localize(11480, "Set Log Level...")),
|
|
460
460
|
group: "navigation",
|
|
461
461
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("view", OUTPUT_VIEW_ID)), CONTEXT_ACTIVE_OUTPUT_LEVEL_SETTABLE)),
|
|
462
462
|
icon: Codicon.gear,
|
|
@@ -499,7 +499,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
499
499
|
constructor() {
|
|
500
500
|
super({
|
|
501
501
|
id: `workbench.action.output.activeOutputLogLevelDefault`,
|
|
502
|
-
title: ( localize(
|
|
502
|
+
title: ( localize(11481, "Set As Default")),
|
|
503
503
|
menu: {
|
|
504
504
|
id: logLevelMenu,
|
|
505
505
|
order,
|
|
@@ -528,7 +528,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
528
528
|
constructor() {
|
|
529
529
|
super({
|
|
530
530
|
id: "workbench.action.showLogs",
|
|
531
|
-
title: ( localize2(
|
|
531
|
+
title: ( localize2(11482, "Show Logs...")),
|
|
532
532
|
category: Categories.Developer,
|
|
533
533
|
menu: {
|
|
534
534
|
id: MenuId.CommandPalette
|
|
@@ -561,7 +561,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
561
561
|
if (extensionLogs.length && logs.length) {
|
|
562
562
|
entries.push({
|
|
563
563
|
type: "separator",
|
|
564
|
-
label: ( localize(
|
|
564
|
+
label: ( localize(11467, "Extension Logs"))
|
|
565
565
|
});
|
|
566
566
|
}
|
|
567
567
|
for (const {
|
|
@@ -574,7 +574,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
574
574
|
});
|
|
575
575
|
}
|
|
576
576
|
const entry = await quickInputService.pick(entries, {
|
|
577
|
-
placeHolder: ( localize(
|
|
577
|
+
placeHolder: ( localize(11468, "Select Log"))
|
|
578
578
|
});
|
|
579
579
|
if (entry) {
|
|
580
580
|
return outputService.showChannel(entry.id);
|
|
@@ -587,7 +587,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
587
587
|
constructor() {
|
|
588
588
|
super({
|
|
589
589
|
id: "workbench.action.openLogFile",
|
|
590
|
-
title: ( localize2(
|
|
590
|
+
title: ( localize2(11483, "Open Log...")),
|
|
591
591
|
category: Categories.Developer,
|
|
592
592
|
menu: {
|
|
593
593
|
id: MenuId.CommandPalette
|
|
@@ -598,7 +598,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
598
598
|
name: "logFile",
|
|
599
599
|
schema: {
|
|
600
600
|
markdownDescription: ( localize(
|
|
601
|
-
|
|
601
|
+
11484,
|
|
602
602
|
"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"
|
|
603
603
|
)),
|
|
604
604
|
type: "string"
|
|
@@ -640,7 +640,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
640
640
|
entries.push(...coreChannels.sort((a, b) => a.label.localeCompare(b.label)));
|
|
641
641
|
}
|
|
642
642
|
entry = await quickInputService.pick(entries, {
|
|
643
|
-
placeHolder: ( localize(
|
|
643
|
+
placeHolder: ( localize(11485, "Select Log File"))
|
|
644
644
|
});
|
|
645
645
|
}
|
|
646
646
|
if (entry?.id) {
|
|
@@ -667,7 +667,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
667
667
|
title: LogLevelToLocalizedString(logLevel).value,
|
|
668
668
|
metadata: {
|
|
669
669
|
description: ( localize2(
|
|
670
|
-
|
|
670
|
+
11486,
|
|
671
671
|
"Show or hide {0} messages in the output",
|
|
672
672
|
LogLevelToString(logLevel)
|
|
673
673
|
))
|
|
@@ -717,7 +717,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
717
717
|
constructor() {
|
|
718
718
|
super({
|
|
719
719
|
id: `workbench.actions.${OUTPUT_VIEW_ID}.clearFilterText`,
|
|
720
|
-
title: ( localize(
|
|
720
|
+
title: ( localize(11487, "Clear filters text")),
|
|
721
721
|
keybinding: {
|
|
722
722
|
when: OUTPUT_FILTER_FOCUS_CONTEXT,
|
|
723
723
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -736,7 +736,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
736
736
|
constructor() {
|
|
737
737
|
super({
|
|
738
738
|
id: `workbench.action.exportLogs`,
|
|
739
|
-
title: ( localize2(
|
|
739
|
+
title: ( localize2(11488, "Export Logs...")),
|
|
740
740
|
f1: true,
|
|
741
741
|
category: Categories.Developer,
|
|
742
742
|
menu: [{
|
|
@@ -769,7 +769,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
769
769
|
if (extensionLogs.length && logs.length) {
|
|
770
770
|
entries.push({
|
|
771
771
|
type: "separator",
|
|
772
|
-
label: ( localize(
|
|
772
|
+
label: ( localize(11467, "Extension Logs"))
|
|
773
773
|
});
|
|
774
774
|
}
|
|
775
775
|
for (const log of extensionLogs.sort((a, b) => a.label.localeCompare(b.label))) {
|
|
@@ -778,7 +778,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
778
778
|
if (userLogs.length && (extensionLogs.length || logs.length)) {
|
|
779
779
|
entries.push({
|
|
780
780
|
type: "separator",
|
|
781
|
-
label: ( localize(
|
|
781
|
+
label: ( localize(11489, "User Logs"))
|
|
782
782
|
});
|
|
783
783
|
}
|
|
784
784
|
for (const log of userLogs.sort((a, b) => a.label.localeCompare(b.label))) {
|
|
@@ -800,7 +800,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
800
800
|
}
|
|
801
801
|
} else {
|
|
802
802
|
selectedOutputChannels = await quickInputService.pick(entries, {
|
|
803
|
-
placeHolder: ( localize(
|
|
803
|
+
placeHolder: ( localize(11468, "Select Log")),
|
|
804
804
|
canPickMany: true
|
|
805
805
|
});
|
|
806
806
|
}
|
|
@@ -815,7 +815,7 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
815
815
|
constructor() {
|
|
816
816
|
super({
|
|
817
817
|
id: `workbench.action.importLog`,
|
|
818
|
-
title: ( localize2(
|
|
818
|
+
title: ( localize2(11490, "Import Log...")),
|
|
819
819
|
f1: true,
|
|
820
820
|
category: Categories.Developer,
|
|
821
821
|
menu: [{
|
|
@@ -830,12 +830,12 @@ let OutputContribution = class OutputContribution extends Disposable {
|
|
|
830
830
|
const outputService = accessor.get(IOutputService);
|
|
831
831
|
const fileDialogService = accessor.get(IFileDialogService);
|
|
832
832
|
const result = await fileDialogService.showOpenDialog({
|
|
833
|
-
title: ( localize(
|
|
833
|
+
title: ( localize(11491, "Import Log File")),
|
|
834
834
|
canSelectFiles: true,
|
|
835
835
|
canSelectFolders: false,
|
|
836
836
|
canSelectMany: true,
|
|
837
837
|
filters: [{
|
|
838
|
-
name: ( localize(
|
|
838
|
+
name: ( localize(11492, "Log Files")),
|
|
839
839
|
extensions: ["log"]
|
|
840
840
|
}]
|
|
841
841
|
});
|
|
@@ -865,13 +865,13 @@ OutputContribution = ( __decorate([( __param(0, IOutputService)), ( __param(1, I
|
|
|
865
865
|
( Registry.as(Extensions$3.Configuration)).registerConfiguration({
|
|
866
866
|
id: "output",
|
|
867
867
|
order: 30,
|
|
868
|
-
title: ( localize(
|
|
868
|
+
title: ( localize(11462, "Output")),
|
|
869
869
|
type: "object",
|
|
870
870
|
properties: {
|
|
871
871
|
"output.smartScroll.enabled": {
|
|
872
872
|
type: "boolean",
|
|
873
873
|
description: ( localize(
|
|
874
|
-
|
|
874
|
+
11493,
|
|
875
875
|
"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."
|
|
876
876
|
)),
|
|
877
877
|
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(11494, "Accessibility Help: Output Panel Filter")));
|
|
33
33
|
lines.push(( localize(
|
|
34
|
-
|
|
34
|
+
11495,
|
|
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(11496, "Current Filter Status:")));
|
|
39
|
+
lines.push(( localize(11497, "You are filtering the output.")));
|
|
40
40
|
lines.push("");
|
|
41
|
-
lines.push(( localize(
|
|
41
|
+
lines.push(( localize(11498, "Inside the Filter Input (What It Does):")));
|
|
42
42
|
lines.push(( localize(
|
|
43
|
-
|
|
43
|
+
11499,
|
|
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(11500, "What Happens When You Filter:")));
|
|
48
48
|
lines.push(( localize(
|
|
49
|
-
|
|
49
|
+
11501,
|
|
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
|
+
11502,
|
|
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(11503, "Focus Behavior (Important):")));
|
|
58
58
|
lines.push(( localize(
|
|
59
|
-
|
|
59
|
+
11504,
|
|
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
|
+
11505,
|
|
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
|
+
11506,
|
|
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(11507, "Filter Syntax and Patterns:")));
|
|
72
72
|
lines.push(( localize(
|
|
73
|
-
|
|
73
|
+
11508,
|
|
74
74
|
"- Type text: Shows only lines containing that text (case-insensitive by default)."
|
|
75
75
|
)));
|
|
76
76
|
lines.push(( localize(
|
|
77
|
-
|
|
77
|
+
11509,
|
|
78
78
|
"- !text (exclude): Hides lines containing 'text', showing all other lines."
|
|
79
79
|
)));
|
|
80
80
|
lines.push(( localize(
|
|
81
|
-
|
|
81
|
+
11510,
|
|
82
82
|
"- \\\\! (escape): Use backslash to search for a literal \"!\" character."
|
|
83
83
|
)));
|
|
84
84
|
lines.push(( localize(
|
|
85
|
-
|
|
85
|
+
11511,
|
|
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
|
+
11512,
|
|
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(11513, "Keyboard Navigation Summary:")));
|
|
94
|
+
lines.push(( localize(11514, "- Down Arrow: Move focus from filter into the output content.")));
|
|
95
|
+
lines.push(( localize(11515, "- Tab: Move to log level filter buttons if available.")));
|
|
96
|
+
lines.push(( localize(11516, "- Escape: Clear the filter and return to showing all output.")));
|
|
97
97
|
lines.push("");
|
|
98
98
|
lines.push(( localize(
|
|
99
|
-
|
|
99
|
+
11517,
|
|
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(11518, "These settings affect how the Output panel works.")));
|
|
104
104
|
lines.push(( localize(
|
|
105
|
-
|
|
105
|
+
11519,
|
|
106
106
|
"- `accessibility.verbosity.find`: Controls whether the filter input announces the Accessibility Help hint."
|
|
107
107
|
)));
|
|
108
108
|
lines.push(( localize(
|
|
109
|
-
|
|
109
|
+
11520,
|
|
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(11521, "Closing:")));
|
|
114
114
|
lines.push(( localize(
|
|
115
|
-
|
|
115
|
+
11522,
|
|
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(11523, "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(11524, "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(11525, "{0} - Output", channel.label)), ( localize(11526, "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(11527, "Output");
|
|
230
230
|
}
|
|
231
231
|
getConfigurationOverrides(configuration) {
|
|
232
232
|
const options = super.getConfigurationOverrides(configuration);
|
|
@@ -265,7 +265,7 @@ let OutputEditor = class OutputEditor extends AbstractTextResourceEditor {
|
|
|
265
265
|
return options;
|
|
266
266
|
}
|
|
267
267
|
getAriaLabel() {
|
|
268
|
-
return this.input ? this.input.getAriaLabel() : ( localize(
|
|
268
|
+
return this.input ? this.input.getAriaLabel() : ( localize(11528, "Output panel"));
|
|
269
269
|
}
|
|
270
270
|
computeAriaLabel() {
|
|
271
271
|
return this.input ? computeEditorAriaLabel(this.input, undefined, undefined, this.editorGroupService.count) : this.getAriaLabel();
|