@codingame/monaco-vscode-markers-service-override 32.0.1 → 33.0.7
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 +2 -2
- package/vscode/src/vs/workbench/contrib/markers/browser/markers.contribution.js +42 -42
- package/vscode/src/vs/workbench/contrib/markers/browser/markersAccessibilityHelp.js +41 -41
- package/vscode/src/vs/workbench/contrib/markers/browser/markersChatContext.js +4 -4
- package/vscode/src/vs/workbench/contrib/markers/browser/markersFileDecorations.js +3 -3
- package/vscode/src/vs/workbench/contrib/markers/browser/markersTable.js +4 -4
- package/vscode/src/vs/workbench/contrib/markers/browser/markersTreeViewer.js +4 -4
- package/vscode/src/vs/workbench/contrib/markers/browser/markersView.js +4 -4
- package/vscode/src/vs/workbench/contrib/markers/browser/messages.js +47 -47
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codingame/monaco-vscode-markers-service-override",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "33.0.7",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "VSCode public API plugged on the monaco editor - markers service-override",
|
|
6
6
|
"keywords": [],
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
},
|
|
16
16
|
"type": "module",
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@codingame/monaco-vscode-api": "
|
|
18
|
+
"@codingame/monaco-vscode-api": "33.0.7"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -117,7 +117,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
|
117
117
|
}
|
|
118
118
|
}
|
|
119
119
|
});
|
|
120
|
-
const markersViewIcon = registerIcon("markers-view-icon", Codicon.warning, ( localize(
|
|
120
|
+
const markersViewIcon = registerIcon("markers-view-icon", Codicon.warning, ( localize(10831, "View icon of the markers view.")));
|
|
121
121
|
const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).registerViewContainer({
|
|
122
122
|
id: Markers.MARKERS_CONTAINER_ID,
|
|
123
123
|
title: Messages.MARKERS_PANEL_TITLE_PROBLEMS,
|
|
@@ -141,7 +141,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
141
141
|
ctorDescriptor: ( new SyncDescriptor(MarkersView)),
|
|
142
142
|
openCommandActionDescriptor: {
|
|
143
143
|
id: "workbench.actions.view.problems",
|
|
144
|
-
mnemonicTitle: ( localize(
|
|
144
|
+
mnemonicTitle: ( localize(10832, "&&Problems")),
|
|
145
145
|
keybindings: {
|
|
146
146
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyM
|
|
147
147
|
},
|
|
@@ -154,9 +154,9 @@ registerAction2(class extends ViewAction {
|
|
|
154
154
|
constructor() {
|
|
155
155
|
super({
|
|
156
156
|
id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTree`,
|
|
157
|
-
title: ( localize(
|
|
157
|
+
title: ( localize(10833, "View as Tree")),
|
|
158
158
|
metadata: {
|
|
159
|
-
description: ( localize2(
|
|
159
|
+
description: ( localize2(10834, "Show the problems view as a tree."))
|
|
160
160
|
},
|
|
161
161
|
menu: {
|
|
162
162
|
id: MenuId.ViewTitle,
|
|
@@ -176,9 +176,9 @@ registerAction2(class extends ViewAction {
|
|
|
176
176
|
constructor() {
|
|
177
177
|
super({
|
|
178
178
|
id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTable`,
|
|
179
|
-
title: ( localize(
|
|
179
|
+
title: ( localize(10835, "View as Table")),
|
|
180
180
|
metadata: {
|
|
181
|
-
description: ( localize2(
|
|
181
|
+
description: ( localize2(10836, "Show the problems view as a table."))
|
|
182
182
|
},
|
|
183
183
|
menu: {
|
|
184
184
|
id: MenuId.ViewTitle,
|
|
@@ -198,11 +198,11 @@ registerAction2(class extends ViewAction {
|
|
|
198
198
|
constructor() {
|
|
199
199
|
super({
|
|
200
200
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleErrors`,
|
|
201
|
-
title: ( localize(
|
|
201
|
+
title: ( localize(10837, "Show Errors")),
|
|
202
202
|
metadata: {
|
|
203
|
-
description: ( localize2(
|
|
203
|
+
description: ( localize2(10838, "Show or hide errors in the problems view."))
|
|
204
204
|
},
|
|
205
|
-
category: ( localize(
|
|
205
|
+
category: ( localize(10839, "Problems")),
|
|
206
206
|
toggled: MarkersContextKeys.ShowErrorsFilterContextKey,
|
|
207
207
|
menu: {
|
|
208
208
|
id: viewFilterSubmenu,
|
|
@@ -221,11 +221,11 @@ registerAction2(class extends ViewAction {
|
|
|
221
221
|
constructor() {
|
|
222
222
|
super({
|
|
223
223
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleWarnings`,
|
|
224
|
-
title: ( localize(
|
|
224
|
+
title: ( localize(10840, "Show Warnings")),
|
|
225
225
|
metadata: {
|
|
226
|
-
description: ( localize2(
|
|
226
|
+
description: ( localize2(10841, "Show or hide warnings in the problems view."))
|
|
227
227
|
},
|
|
228
|
-
category: ( localize(
|
|
228
|
+
category: ( localize(10839, "Problems")),
|
|
229
229
|
toggled: MarkersContextKeys.ShowWarningsFilterContextKey,
|
|
230
230
|
menu: {
|
|
231
231
|
id: viewFilterSubmenu,
|
|
@@ -244,11 +244,11 @@ registerAction2(class extends ViewAction {
|
|
|
244
244
|
constructor() {
|
|
245
245
|
super({
|
|
246
246
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleInfos`,
|
|
247
|
-
title: ( localize(
|
|
248
|
-
category: ( localize(
|
|
247
|
+
title: ( localize(10842, "Show Infos")),
|
|
248
|
+
category: ( localize(10839, "Problems")),
|
|
249
249
|
toggled: MarkersContextKeys.ShowInfoFilterContextKey,
|
|
250
250
|
metadata: {
|
|
251
|
-
description: ( localize2(
|
|
251
|
+
description: ( localize2(10843, "Show or hide infos in the problems view."))
|
|
252
252
|
},
|
|
253
253
|
menu: {
|
|
254
254
|
id: viewFilterSubmenu,
|
|
@@ -267,14 +267,14 @@ registerAction2(class extends ViewAction {
|
|
|
267
267
|
constructor() {
|
|
268
268
|
super({
|
|
269
269
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleActiveFile`,
|
|
270
|
-
title: ( localize(
|
|
270
|
+
title: ( localize(10844, "Show Active File Only")),
|
|
271
271
|
metadata: {
|
|
272
272
|
description: ( localize2(
|
|
273
|
-
|
|
273
|
+
10845,
|
|
274
274
|
"Show or hide problems (errors, warnings, info) only from the active file in the problems view."
|
|
275
275
|
))
|
|
276
276
|
},
|
|
277
|
-
category: ( localize(
|
|
277
|
+
category: ( localize(10839, "Problems")),
|
|
278
278
|
toggled: MarkersContextKeys.ShowActiveFileFilterContextKey,
|
|
279
279
|
menu: {
|
|
280
280
|
id: viewFilterSubmenu,
|
|
@@ -293,11 +293,11 @@ registerAction2(class extends ViewAction {
|
|
|
293
293
|
constructor() {
|
|
294
294
|
super({
|
|
295
295
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleExcludedFiles`,
|
|
296
|
-
title: ( localize(
|
|
296
|
+
title: ( localize(10846, "Show Excluded Files")),
|
|
297
297
|
metadata: {
|
|
298
|
-
description: ( localize2(
|
|
298
|
+
description: ( localize2(10847, "Show or hide excluded files in the problems view."))
|
|
299
299
|
},
|
|
300
|
-
category: ( localize(
|
|
300
|
+
category: ( localize(10839, "Problems")),
|
|
301
301
|
toggled: ( MarkersContextKeys.ShowExcludedFilesFilterContextKey.negate()),
|
|
302
302
|
menu: {
|
|
303
303
|
id: viewFilterSubmenu,
|
|
@@ -349,7 +349,7 @@ registerAction2(class extends MarkersViewAction {
|
|
|
349
349
|
const when = ( ContextKeyExpr.and(( FocusedViewContext.isEqualTo(Markers.MARKERS_VIEW_ID)), MarkersContextKeys.MarkersTreeVisibilityContextKey, ( MarkersContextKeys.RelatedInformationFocusContextKey.toNegated())));
|
|
350
350
|
super({
|
|
351
351
|
id: Markers.MARKER_COPY_ACTION_ID,
|
|
352
|
-
title: ( localize2(
|
|
352
|
+
title: ( localize2(10848, "Copy")),
|
|
353
353
|
menu: {
|
|
354
354
|
id: MenuId.ProblemsPanelContext,
|
|
355
355
|
when,
|
|
@@ -375,7 +375,7 @@ registerAction2(class extends MarkersViewAction {
|
|
|
375
375
|
constructor() {
|
|
376
376
|
super({
|
|
377
377
|
id: Markers.MARKER_COPY_MESSAGE_ACTION_ID,
|
|
378
|
-
title: ( localize2(
|
|
378
|
+
title: ( localize2(10849, "Copy Message")),
|
|
379
379
|
menu: {
|
|
380
380
|
id: MenuId.ProblemsPanelContext,
|
|
381
381
|
when: MarkersContextKeys.MarkerFocusContextKey,
|
|
@@ -396,7 +396,7 @@ registerAction2(class extends ViewAction {
|
|
|
396
396
|
constructor() {
|
|
397
397
|
super({
|
|
398
398
|
id: Markers.RELATED_INFORMATION_COPY_MESSAGE_ACTION_ID,
|
|
399
|
-
title: ( localize2(
|
|
399
|
+
title: ( localize2(10849, "Copy Message")),
|
|
400
400
|
menu: {
|
|
401
401
|
id: MenuId.ProblemsPanelContext,
|
|
402
402
|
when: MarkersContextKeys.RelatedInformationFocusContextKey,
|
|
@@ -417,7 +417,7 @@ registerAction2(class extends ViewAction {
|
|
|
417
417
|
constructor() {
|
|
418
418
|
super({
|
|
419
419
|
id: Markers.FOCUS_PROBLEMS_FROM_FILTER,
|
|
420
|
-
title: ( localize(
|
|
420
|
+
title: ( localize(10850, "Focus problems view")),
|
|
421
421
|
keybinding: {
|
|
422
422
|
when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
|
|
423
423
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -434,7 +434,7 @@ registerAction2(class extends ViewAction {
|
|
|
434
434
|
constructor() {
|
|
435
435
|
super({
|
|
436
436
|
id: Markers.MARKERS_VIEW_FOCUS_FILTER,
|
|
437
|
-
title: ( localize(
|
|
437
|
+
title: ( localize(10851, "Focus problems filter")),
|
|
438
438
|
keybinding: {
|
|
439
439
|
when: ( FocusedViewContext.isEqualTo(Markers.MARKERS_VIEW_ID)),
|
|
440
440
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -451,8 +451,8 @@ registerAction2(class extends ViewAction {
|
|
|
451
451
|
constructor() {
|
|
452
452
|
super({
|
|
453
453
|
id: Markers.MARKERS_VIEW_SHOW_MULTILINE_MESSAGE,
|
|
454
|
-
title: ( localize2(
|
|
455
|
-
category: ( localize(
|
|
454
|
+
title: ( localize2(10852, "Show message in multiple lines")),
|
|
455
|
+
category: ( localize(10839, "Problems")),
|
|
456
456
|
menu: {
|
|
457
457
|
id: MenuId.CommandPalette,
|
|
458
458
|
when: ( ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID)))
|
|
@@ -468,8 +468,8 @@ registerAction2(class extends ViewAction {
|
|
|
468
468
|
constructor() {
|
|
469
469
|
super({
|
|
470
470
|
id: Markers.MARKERS_VIEW_SHOW_SINGLELINE_MESSAGE,
|
|
471
|
-
title: ( localize2(
|
|
472
|
-
category: ( localize(
|
|
471
|
+
title: ( localize2(10853, "Show message in single line")),
|
|
472
|
+
category: ( localize(10839, "Problems")),
|
|
473
473
|
menu: {
|
|
474
474
|
id: MenuId.CommandPalette,
|
|
475
475
|
when: ( ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID)))
|
|
@@ -485,8 +485,8 @@ registerAction2(class extends ViewAction {
|
|
|
485
485
|
constructor() {
|
|
486
486
|
super({
|
|
487
487
|
id: Markers.MARKERS_VIEW_CLEAR_FILTER_TEXT,
|
|
488
|
-
title: ( localize(
|
|
489
|
-
category: ( localize(
|
|
488
|
+
title: ( localize(10854, "Clear filters text")),
|
|
489
|
+
category: ( localize(10839, "Problems")),
|
|
490
490
|
keybinding: {
|
|
491
491
|
when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
|
|
492
492
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -503,7 +503,7 @@ registerAction2(class extends ViewAction {
|
|
|
503
503
|
constructor() {
|
|
504
504
|
super({
|
|
505
505
|
id: `workbench.actions.treeView.${Markers.MARKERS_VIEW_ID}.collapseAll`,
|
|
506
|
-
title: ( localize(
|
|
506
|
+
title: ( localize(10855, "Collapse All")),
|
|
507
507
|
menu: {
|
|
508
508
|
id: MenuId.ViewTitle,
|
|
509
509
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("view", Markers.MARKERS_VIEW_ID)), ( MarkersContextKeys.MarkersViewModeContextKey.isEqualTo(MarkersViewMode.Tree)))),
|
|
@@ -578,7 +578,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
578
578
|
const markersStatistics = this.markerService.getStatistics();
|
|
579
579
|
const tooltip = this.getMarkersTooltip(markersStatistics);
|
|
580
580
|
return {
|
|
581
|
-
name: ( localize(
|
|
581
|
+
name: ( localize(10856, "Problems")),
|
|
582
582
|
text: this.getMarkersText(markersStatistics),
|
|
583
583
|
ariaLabel: tooltip,
|
|
584
584
|
tooltip,
|
|
@@ -589,9 +589,9 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
589
589
|
this.statusbarService.updateEntryVisibility("status.problemsVisibility", true);
|
|
590
590
|
const openSettingsCommand = "workbench.action.openSettings";
|
|
591
591
|
const configureSettingsLabel = "@id:problems.visibility";
|
|
592
|
-
const tooltip = ( localize(
|
|
592
|
+
const tooltip = ( localize(10857, "Problems are turned off. Click to open settings."));
|
|
593
593
|
return {
|
|
594
|
-
name: ( localize(
|
|
594
|
+
name: ( localize(10858, "Problems Visibility")),
|
|
595
595
|
text: "$(whole-word)",
|
|
596
596
|
ariaLabel: tooltip,
|
|
597
597
|
tooltip,
|
|
@@ -604,9 +604,9 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
604
604
|
};
|
|
605
605
|
}
|
|
606
606
|
getMarkersTooltip(stats) {
|
|
607
|
-
const errorTitle = n => ( localize(
|
|
608
|
-
const warningTitle = n => ( localize(
|
|
609
|
-
const infoTitle = n => ( localize(
|
|
607
|
+
const errorTitle = n => ( localize(10859, "Errors: {0}", n));
|
|
608
|
+
const warningTitle = n => ( localize(10860, "Warnings: {0}", n));
|
|
609
|
+
const infoTitle = n => ( localize(10861, "Infos: {0}", n));
|
|
610
610
|
const titles = [];
|
|
611
611
|
if (stats.errors > 0) {
|
|
612
612
|
titles.push(errorTitle(stats.errors));
|
|
@@ -618,7 +618,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
618
618
|
titles.push(infoTitle(stats.infos));
|
|
619
619
|
}
|
|
620
620
|
if (titles.length === 0) {
|
|
621
|
-
return localize(
|
|
621
|
+
return localize(10862, "No Problems");
|
|
622
622
|
}
|
|
623
623
|
return titles.join(", ");
|
|
624
624
|
}
|
|
@@ -632,7 +632,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
632
632
|
return problemsText.join(" ");
|
|
633
633
|
}
|
|
634
634
|
packNumber(n) {
|
|
635
|
-
const manyProblems = ( localize(
|
|
635
|
+
const manyProblems = ( localize(10863, "10K+"));
|
|
636
636
|
return n > 9999 ? manyProblems : n > 999 ? ( n.toString()).charAt(0) + "K" : ( n.toString());
|
|
637
637
|
}
|
|
638
638
|
};
|
|
@@ -660,7 +660,7 @@ let ActivityUpdater = class ActivityUpdater extends Disposable {
|
|
|
660
660
|
} = this.markerService.getStatistics();
|
|
661
661
|
const total = errors + warnings + infos;
|
|
662
662
|
if (total > 0) {
|
|
663
|
-
const message = ( localize(
|
|
663
|
+
const message = ( localize(10864, "Total {0} Problems", total));
|
|
664
664
|
this.activity.value = this.activityService.showViewActivity(Markers.MARKERS_VIEW_ID, {
|
|
665
665
|
badge: ( new NumberBadge(total, () => message))
|
|
666
666
|
});
|
|
@@ -29,117 +29,117 @@ class ProblemsAccessibilityHelpProvider extends Disposable {
|
|
|
29
29
|
}
|
|
30
30
|
provideContent() {
|
|
31
31
|
const lines = [];
|
|
32
|
-
lines.push(( localize(
|
|
32
|
+
lines.push(( localize(10865, "Accessibility Help: Problems Panel Filter")));
|
|
33
33
|
lines.push(( localize(
|
|
34
|
-
|
|
34
|
+
10866,
|
|
35
35
|
"You are in the Problems panel filter input. This is a filter, not a navigating search. It instantly hides problems that do not match your filter, showing only the problems you want to see."
|
|
36
36
|
)));
|
|
37
37
|
lines.push("");
|
|
38
|
-
lines.push(( localize(
|
|
39
|
-
lines.push(( localize(
|
|
38
|
+
lines.push(( localize(10867, "Current Filter Status:")));
|
|
39
|
+
lines.push(( localize(10868, "You are filtering the problems.")));
|
|
40
40
|
lines.push("");
|
|
41
|
-
lines.push(( localize(
|
|
41
|
+
lines.push(( localize(10869, "Inside the Filter Input (What It Does):")));
|
|
42
42
|
lines.push(( localize(
|
|
43
|
-
|
|
43
|
+
10870,
|
|
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 Problems panel instantly updates to show only problems matching your filter."
|
|
45
45
|
)));
|
|
46
46
|
lines.push("");
|
|
47
|
-
lines.push(( localize(
|
|
47
|
+
lines.push(( localize(10871, "What Happens When You Filter:")));
|
|
48
48
|
lines.push(( localize(
|
|
49
|
-
|
|
49
|
+
10872,
|
|
50
50
|
"Each time you change the filter text, the panel instantly regenerates to show only matching problems. Your screen reader announces how many problems are now visible. This is live feedback: as you type or delete characters, the displayed problems update immediately."
|
|
51
51
|
)));
|
|
52
52
|
lines.push(( localize(
|
|
53
|
-
|
|
53
|
+
10873,
|
|
54
54
|
"The panel searches problem messages, file names, and error codes, so you can filter by any of these details."
|
|
55
55
|
)));
|
|
56
56
|
lines.push("");
|
|
57
|
-
lines.push(( localize(
|
|
57
|
+
lines.push(( localize(10874, "Focus Behavior (Important):")));
|
|
58
58
|
lines.push(( localize(
|
|
59
|
-
|
|
59
|
+
10875,
|
|
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
|
+
10876,
|
|
64
64
|
"If you want to navigate the filtered problems, press Down Arrow to move focus from the filter into the problems list below."
|
|
65
65
|
)));
|
|
66
66
|
lines.push(( localize(
|
|
67
|
-
|
|
67
|
+
10877,
|
|
68
68
|
"When a problem is focused, press Enter to navigate to that problem in the editor."
|
|
69
69
|
)));
|
|
70
70
|
lines.push(( localize(
|
|
71
|
-
|
|
71
|
+
10878,
|
|
72
72
|
"If you want to clear the filter and see all problems, press Escape or delete all filter text."
|
|
73
73
|
)));
|
|
74
74
|
lines.push("");
|
|
75
|
-
lines.push(( localize(
|
|
75
|
+
lines.push(( localize(10879, "Filter Syntax and Patterns:")));
|
|
76
76
|
lines.push(( localize(
|
|
77
|
-
|
|
77
|
+
10880,
|
|
78
78
|
"- Type text: Shows problems whose message, file path, or code contains that text."
|
|
79
79
|
)));
|
|
80
80
|
lines.push(( localize(
|
|
81
|
-
|
|
81
|
+
10881,
|
|
82
82
|
"- !text (exclude): Hides problems containing the text, showing all others."
|
|
83
83
|
)));
|
|
84
84
|
lines.push(( localize(
|
|
85
|
-
|
|
85
|
+
10882,
|
|
86
86
|
"Example: typing \"node_modules\" hides all problems in node_modules."
|
|
87
87
|
)));
|
|
88
88
|
lines.push("");
|
|
89
|
-
lines.push(( localize(
|
|
89
|
+
lines.push(( localize(10883, "Severity and Scope Filtering:")));
|
|
90
90
|
lines.push(( localize(
|
|
91
|
-
|
|
91
|
+
10884,
|
|
92
92
|
"Above the filter input are toggle buttons for severity levels and scope:"
|
|
93
93
|
)));
|
|
94
|
-
lines.push(( localize(
|
|
95
|
-
lines.push(( localize(
|
|
96
|
-
lines.push(( localize(
|
|
94
|
+
lines.push(( localize(10885, "- Errors button: Toggle to show or hide error problems.")));
|
|
95
|
+
lines.push(( localize(10886, "- Warnings button: Toggle to show or hide warning problems.")));
|
|
96
|
+
lines.push(( localize(10887, "- Info button: Toggle to show or hide informational problems.")));
|
|
97
97
|
lines.push(( localize(
|
|
98
|
-
|
|
98
|
+
10888,
|
|
99
99
|
"- Active File Only button: When enabled, shows only problems in the currently open file."
|
|
100
100
|
)));
|
|
101
|
-
lines.push(( localize(
|
|
101
|
+
lines.push(( localize(10889, "These buttons work together with your text filter.")));
|
|
102
102
|
lines.push("");
|
|
103
|
-
lines.push(( localize(
|
|
104
|
-
lines.push(( localize(
|
|
105
|
-
lines.push(( localize(
|
|
106
|
-
lines.push(( localize(
|
|
103
|
+
lines.push(( localize(10890, "Keyboard Navigation Summary:")));
|
|
104
|
+
lines.push(( localize(10891, "- Down Arrow: Move focus from filter into the problems list.")));
|
|
105
|
+
lines.push(( localize(10892, "- Tab: Move to severity and scope toggle buttons.")));
|
|
106
|
+
lines.push(( localize(10893, "- Enter (on a problem): Navigate to that problem in the editor.")));
|
|
107
107
|
lines.push(( localize(
|
|
108
|
-
|
|
108
|
+
10894,
|
|
109
109
|
"- {0}: Move to the next problem globally from anywhere in the editor.",
|
|
110
110
|
this._describeCommand("editor.action.marker.nextInFiles") || "F8"
|
|
111
111
|
)));
|
|
112
112
|
lines.push(( localize(
|
|
113
|
-
|
|
113
|
+
10895,
|
|
114
114
|
"- {0}: Move to the previous problem globally from anywhere in the editor.",
|
|
115
115
|
this._describeCommand("editor.action.marker.prevInFiles") || "Shift+F8"
|
|
116
116
|
)));
|
|
117
|
-
lines.push(( localize(
|
|
117
|
+
lines.push(( localize(10896, "- Escape: Clear the filter and return to showing all problems.")));
|
|
118
118
|
lines.push("");
|
|
119
119
|
lines.push(( localize(
|
|
120
|
-
|
|
120
|
+
10897,
|
|
121
121
|
"Settings You Can Adjust ({0} opens Settings):",
|
|
122
122
|
this._describeCommand("workbench.action.openSettings") || "Ctrl+,"
|
|
123
123
|
)));
|
|
124
|
-
lines.push(( localize(
|
|
124
|
+
lines.push(( localize(10898, "These settings affect the Problems panel.")));
|
|
125
125
|
lines.push(( localize(
|
|
126
|
-
|
|
126
|
+
10899,
|
|
127
127
|
"- `accessibility.verbosity.find`: Controls whether the filter input announces the Accessibility Help hint."
|
|
128
128
|
)));
|
|
129
129
|
lines.push(( localize(
|
|
130
|
-
|
|
130
|
+
10900,
|
|
131
131
|
"- `problems.autoReveal`: Automatically reveal problems in the editor when you select them."
|
|
132
132
|
)));
|
|
133
|
-
lines.push(( localize(
|
|
134
|
-
lines.push(( localize(
|
|
133
|
+
lines.push(( localize(10901, "- `problems.defaultViewMode`: Show problems as a table or tree.")));
|
|
134
|
+
lines.push(( localize(10902, "- `problems.sortOrder`: Sort problems by severity or position.")));
|
|
135
135
|
lines.push(( localize(
|
|
136
|
-
|
|
136
|
+
10903,
|
|
137
137
|
"- `problems.showCurrentInStatus`: Show the current problem in the status bar."
|
|
138
138
|
)));
|
|
139
139
|
lines.push("");
|
|
140
|
-
lines.push(( localize(
|
|
140
|
+
lines.push(( localize(10904, "Closing:")));
|
|
141
141
|
lines.push(( localize(
|
|
142
|
-
|
|
142
|
+
10905,
|
|
143
143
|
"Press Escape to clear the filter and see all problems. Your filter text is preserved if you reopen the panel. Problems are shown from your entire workspace; use Active File Only to focus on a single file."
|
|
144
144
|
)));
|
|
145
145
|
return lines.join("\n");
|
|
@@ -21,7 +21,7 @@ let MarkerChatContextPick = class MarkerChatContextPick {
|
|
|
21
21
|
this._labelService = _labelService;
|
|
22
22
|
this._editorService = _editorService;
|
|
23
23
|
this.type = "pickerPick";
|
|
24
|
-
this.label = ( localize(
|
|
24
|
+
this.label = ( localize(10906, "Problems..."));
|
|
25
25
|
this.icon = Codicon.error;
|
|
26
26
|
this.ordinal = -100;
|
|
27
27
|
}
|
|
@@ -30,7 +30,7 @@ let MarkerChatContextPick = class MarkerChatContextPick {
|
|
|
30
30
|
}
|
|
31
31
|
asPicker() {
|
|
32
32
|
return {
|
|
33
|
-
placeholder: ( localize(
|
|
33
|
+
placeholder: ( localize(10907, "Select a problem to attach")),
|
|
34
34
|
picks: picksWithPromiseFn(async (query, token) => {
|
|
35
35
|
return this.getPicksForQuery(query);
|
|
36
36
|
})
|
|
@@ -75,7 +75,7 @@ let MarkerChatContextPick = class MarkerChatContextPick {
|
|
|
75
75
|
items.push({
|
|
76
76
|
label: marker.message,
|
|
77
77
|
description: ( localize(
|
|
78
|
-
|
|
78
|
+
10908,
|
|
79
79
|
"[Ln {0}, Col {1}]",
|
|
80
80
|
"" + marker.startLineNumber,
|
|
81
81
|
"" + marker.startColumn
|
|
@@ -87,7 +87,7 @@ let MarkerChatContextPick = class MarkerChatContextPick {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
items.unshift({
|
|
90
|
-
label: ( localize(
|
|
90
|
+
label: ( localize(10909, "All Problems")),
|
|
91
91
|
asAttachment() {
|
|
92
92
|
return IDiagnosticVariableEntryFilterData.toEntry({
|
|
93
93
|
filterSeverity: MarkerSeverity.Info
|
|
@@ -25,7 +25,7 @@ import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench
|
|
|
25
25
|
class MarkersDecorationsProvider {
|
|
26
26
|
constructor(_markerService) {
|
|
27
27
|
this._markerService = _markerService;
|
|
28
|
-
this.label = ( localize(
|
|
28
|
+
this.label = ( localize(10910, "Problems"));
|
|
29
29
|
this.onDidChange = _markerService.onMarkerChanged;
|
|
30
30
|
}
|
|
31
31
|
provideDecorations(resource) {
|
|
@@ -45,7 +45,7 @@ class MarkersDecorationsProvider {
|
|
|
45
45
|
return {
|
|
46
46
|
weight: 100 * first.severity,
|
|
47
47
|
bubble: true,
|
|
48
|
-
tooltip: markers.length === 1 ? ( localize(
|
|
48
|
+
tooltip: markers.length === 1 ? ( localize(10911, "1 problem in this file")) : ( localize(10912, "{0} problems in this file", markers.length)),
|
|
49
49
|
letter: markers.length < 10 ? ( markers.length.toString()) : "9+",
|
|
50
50
|
color: first.severity === MarkerSeverity.Error ? listErrorForeground : listWarningForeground
|
|
51
51
|
};
|
|
@@ -98,7 +98,7 @@ MarkersFileDecorations = ( __decorate([( __param(0, IMarkerService)), ( __param(
|
|
|
98
98
|
"properties": {
|
|
99
99
|
"problems.decorations.enabled": {
|
|
100
100
|
"markdownDescription": ( localize(
|
|
101
|
-
|
|
101
|
+
10913,
|
|
102
102
|
"Show Errors & Warnings on files and folder. Overwritten by {0} when it is off.",
|
|
103
103
|
"`#problems.visibility#`"
|
|
104
104
|
)),
|
|
@@ -279,7 +279,7 @@ let MarkersTable = class MarkersTable extends Disposable {
|
|
|
279
279
|
return row;
|
|
280
280
|
}
|
|
281
281
|
}, {
|
|
282
|
-
label: ( localize(
|
|
282
|
+
label: ( localize(10914, "Code")),
|
|
283
283
|
tooltip: "",
|
|
284
284
|
weight: 1,
|
|
285
285
|
minimumWidth: 100,
|
|
@@ -289,7 +289,7 @@ let MarkersTable = class MarkersTable extends Disposable {
|
|
|
289
289
|
return row;
|
|
290
290
|
}
|
|
291
291
|
}, {
|
|
292
|
-
label: ( localize(
|
|
292
|
+
label: ( localize(10915, "Message")),
|
|
293
293
|
tooltip: "",
|
|
294
294
|
weight: 4,
|
|
295
295
|
templateId: MarkerMessageColumnRenderer.TEMPLATE_ID,
|
|
@@ -297,7 +297,7 @@ let MarkersTable = class MarkersTable extends Disposable {
|
|
|
297
297
|
return row;
|
|
298
298
|
}
|
|
299
299
|
}, {
|
|
300
|
-
label: ( localize(
|
|
300
|
+
label: ( localize(10916, "File")),
|
|
301
301
|
tooltip: "",
|
|
302
302
|
weight: 2,
|
|
303
303
|
templateId: MarkerFileColumnRenderer.TEMPLATE_ID,
|
|
@@ -305,7 +305,7 @@ let MarkersTable = class MarkersTable extends Disposable {
|
|
|
305
305
|
return row;
|
|
306
306
|
}
|
|
307
307
|
}, {
|
|
308
|
-
label: ( localize(
|
|
308
|
+
label: ( localize(10917, "Source")),
|
|
309
309
|
tooltip: "",
|
|
310
310
|
weight: 1,
|
|
311
311
|
minimumWidth: 100,
|
|
@@ -49,7 +49,7 @@ let MarkersWidgetAccessibilityProvider = class MarkersWidgetAccessibilityProvide
|
|
|
49
49
|
this.labelService = labelService;
|
|
50
50
|
}
|
|
51
51
|
getWidgetAriaLabel() {
|
|
52
|
-
return localize(
|
|
52
|
+
return localize(10918, "Problems View");
|
|
53
53
|
}
|
|
54
54
|
getAriaLabel(element) {
|
|
55
55
|
if (element instanceof ResourceMarkers) {
|
|
@@ -193,11 +193,11 @@ let MarkerRenderer = class MarkerRenderer {
|
|
|
193
193
|
};
|
|
194
194
|
MarkerRenderer = ( __decorate([( __param(1, IHoverService)), ( __param(2, IInstantiationService)), ( __param(3, IOpenerService))], MarkerRenderer));
|
|
195
195
|
const expandedIcon = registerIcon("markers-view-multi-line-expanded", Codicon.chevronUp, ( localize(
|
|
196
|
-
|
|
196
|
+
10919,
|
|
197
197
|
"Icon indicating that multiple lines are shown in the markers view."
|
|
198
198
|
)));
|
|
199
199
|
const collapsedIcon = registerIcon("markers-view-multi-line-collapsed", Codicon.chevronDown, ( localize(
|
|
200
|
-
|
|
200
|
+
10920,
|
|
201
201
|
"Icon indicating that multiple lines are collapsed in the markers view."
|
|
202
202
|
)));
|
|
203
203
|
const toggleMultilineAction = "problems.action.toggleMultiline";
|
|
@@ -303,7 +303,7 @@ class MarkerWidget extends Disposable {
|
|
|
303
303
|
const multiline = viewModel && viewModel.multiline;
|
|
304
304
|
const action = this.disposables.add(( new Action(toggleMultilineAction)));
|
|
305
305
|
action.enabled = !!viewModel && marker.lines.length > 1;
|
|
306
|
-
action.tooltip = multiline ? ( localize(
|
|
306
|
+
action.tooltip = multiline ? ( localize(10921, "Show message in single line")) : ( localize(10922, "Show message in multiple lines"));
|
|
307
307
|
action.class = ThemeIcon.asClassName(multiline ? expandedIcon : collapsedIcon);
|
|
308
308
|
action.run = () => {
|
|
309
309
|
if (viewModel) {
|
|
@@ -210,7 +210,7 @@ let MarkersView = class MarkersView extends FilterViewPane {
|
|
|
210
210
|
this.filterWidget.focus();
|
|
211
211
|
}
|
|
212
212
|
updateBadge(total, filtered) {
|
|
213
|
-
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(
|
|
213
|
+
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(10923, "Showing {0} of {1}", filtered, total)));
|
|
214
214
|
}
|
|
215
215
|
checkMoreFilters() {
|
|
216
216
|
this.filterWidget.checkMoreFilters(
|
|
@@ -638,9 +638,9 @@ let MarkersView = class MarkersView extends FilterViewPane {
|
|
|
638
638
|
} else {
|
|
639
639
|
this.messageBoxContainer.style.display = "none";
|
|
640
640
|
if (filtered === total) {
|
|
641
|
-
this.setAriaLabel(( localize(
|
|
641
|
+
this.setAriaLabel(( localize(10924, "Showing {0} problems", total)));
|
|
642
642
|
} else {
|
|
643
|
-
this.setAriaLabel(( localize(
|
|
643
|
+
this.setAriaLabel(( localize(10925, "Showing {0} of {1} problems", filtered, total)));
|
|
644
644
|
}
|
|
645
645
|
this.messageBoxContainer.removeAttribute("tabIndex");
|
|
646
646
|
}
|
|
@@ -656,7 +656,7 @@ let MarkersView = class MarkersView extends FilterViewPane {
|
|
|
656
656
|
const span1 = append(container, $("span"));
|
|
657
657
|
span1.textContent = Messages.MARKERS_PANEL_NO_PROBLEMS_FILTERS;
|
|
658
658
|
const link = append(container, $("a.messageAction"));
|
|
659
|
-
link.textContent = ( localize(
|
|
659
|
+
link.textContent = ( localize(10926, "Clear Filters"));
|
|
660
660
|
link.setAttribute("tabIndex", "0");
|
|
661
661
|
const span2 = append(container, $("span"));
|
|
662
662
|
span2.textContent = ".";
|
|
@@ -5,127 +5,127 @@ import { MarkerSeverity } from '@codingame/monaco-vscode-api/vscode/vs/platform/
|
|
|
5
5
|
|
|
6
6
|
class Messages {
|
|
7
7
|
static {
|
|
8
|
-
this.MARKERS_PANEL_TOGGLE_LABEL = ( localize(
|
|
8
|
+
this.MARKERS_PANEL_TOGGLE_LABEL = ( localize(10927, "Toggle Problems (Errors, Warnings, Infos)"));
|
|
9
9
|
}
|
|
10
10
|
static {
|
|
11
|
-
this.MARKERS_PANEL_SHOW_LABEL = ( localize2(
|
|
11
|
+
this.MARKERS_PANEL_SHOW_LABEL = ( localize2(10928, "Focus Problems (Errors, Warnings, Infos)"));
|
|
12
12
|
}
|
|
13
13
|
static {
|
|
14
|
-
this.PROBLEMS_PANEL_CONFIGURATION_TITLE = ( localize(
|
|
14
|
+
this.PROBLEMS_PANEL_CONFIGURATION_TITLE = ( localize(10929, "Problems View"));
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.PROBLEMS_PANEL_CONFIGURATION_AUTO_REVEAL = ( localize(
|
|
18
|
-
|
|
18
|
+
10930,
|
|
19
19
|
"Controls whether Problems view should automatically reveal files when opening them."
|
|
20
20
|
));
|
|
21
21
|
}
|
|
22
22
|
static {
|
|
23
|
-
this.PROBLEMS_PANEL_CONFIGURATION_VIEW_MODE = ( localize(
|
|
23
|
+
this.PROBLEMS_PANEL_CONFIGURATION_VIEW_MODE = ( localize(10931, "Controls the default view mode of the Problems view."));
|
|
24
24
|
}
|
|
25
25
|
static {
|
|
26
|
-
this.PROBLEMS_PANEL_CONFIGURATION_SHOW_CURRENT_STATUS = ( localize(
|
|
26
|
+
this.PROBLEMS_PANEL_CONFIGURATION_SHOW_CURRENT_STATUS = ( localize(10932, "When enabled shows the current problem in the status bar."));
|
|
27
27
|
}
|
|
28
28
|
static {
|
|
29
|
-
this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER = ( localize(
|
|
29
|
+
this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER = ( localize(10933, "Controls the order in which problems are navigated."));
|
|
30
30
|
}
|
|
31
31
|
static {
|
|
32
|
-
this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_SEVERITY = ( localize(
|
|
32
|
+
this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_SEVERITY = ( localize(10934, "Navigate problems ordered by severity"));
|
|
33
33
|
}
|
|
34
34
|
static {
|
|
35
|
-
this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_POSITION = ( localize(
|
|
35
|
+
this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_POSITION = ( localize(10935, "Navigate problems ordered by position"));
|
|
36
36
|
}
|
|
37
37
|
static {
|
|
38
|
-
this.MARKERS_PANEL_TITLE_PROBLEMS = ( localize2(
|
|
38
|
+
this.MARKERS_PANEL_TITLE_PROBLEMS = ( localize2(10936, "Problems"));
|
|
39
39
|
}
|
|
40
40
|
static {
|
|
41
|
-
this.MARKERS_PANEL_NO_PROBLEMS_BUILT = ( localize(
|
|
41
|
+
this.MARKERS_PANEL_NO_PROBLEMS_BUILT = ( localize(10937, "No problems have been detected in the workspace."));
|
|
42
42
|
}
|
|
43
43
|
static {
|
|
44
|
-
this.MARKERS_PANEL_NO_PROBLEMS_ACTIVE_FILE_BUILT = ( localize(
|
|
44
|
+
this.MARKERS_PANEL_NO_PROBLEMS_ACTIVE_FILE_BUILT = ( localize(10938, "No problems have been detected in the current file."));
|
|
45
45
|
}
|
|
46
46
|
static {
|
|
47
|
-
this.MARKERS_PANEL_NO_PROBLEMS_FILTERS = ( localize(
|
|
47
|
+
this.MARKERS_PANEL_NO_PROBLEMS_FILTERS = ( localize(10939, "No results found with provided filter criteria."));
|
|
48
48
|
}
|
|
49
49
|
static {
|
|
50
|
-
this.MARKERS_PANEL_ACTION_TOOLTIP_MORE_FILTERS = ( localize(
|
|
50
|
+
this.MARKERS_PANEL_ACTION_TOOLTIP_MORE_FILTERS = ( localize(10940, "More Filters..."));
|
|
51
51
|
}
|
|
52
52
|
static {
|
|
53
|
-
this.MARKERS_PANEL_FILTER_LABEL_SHOW_ERRORS = ( localize(
|
|
53
|
+
this.MARKERS_PANEL_FILTER_LABEL_SHOW_ERRORS = ( localize(10941, "Show Errors"));
|
|
54
54
|
}
|
|
55
55
|
static {
|
|
56
|
-
this.MARKERS_PANEL_FILTER_LABEL_SHOW_WARNINGS = ( localize(
|
|
56
|
+
this.MARKERS_PANEL_FILTER_LABEL_SHOW_WARNINGS = ( localize(10942, "Show Warnings"));
|
|
57
57
|
}
|
|
58
58
|
static {
|
|
59
|
-
this.MARKERS_PANEL_FILTER_LABEL_SHOW_INFOS = ( localize(
|
|
59
|
+
this.MARKERS_PANEL_FILTER_LABEL_SHOW_INFOS = ( localize(10943, "Show Infos"));
|
|
60
60
|
}
|
|
61
61
|
static {
|
|
62
|
-
this.MARKERS_PANEL_FILTER_LABEL_EXCLUDED_FILES = ( localize(
|
|
62
|
+
this.MARKERS_PANEL_FILTER_LABEL_EXCLUDED_FILES = ( localize(10944, "Hide Excluded Files"));
|
|
63
63
|
}
|
|
64
64
|
static {
|
|
65
|
-
this.MARKERS_PANEL_FILTER_LABEL_ACTIVE_FILE = ( localize(
|
|
65
|
+
this.MARKERS_PANEL_FILTER_LABEL_ACTIVE_FILE = ( localize(10945, "Show Active File Only"));
|
|
66
66
|
}
|
|
67
67
|
static {
|
|
68
|
-
this.MARKERS_PANEL_ACTION_TOOLTIP_FILTER = ( localize(
|
|
68
|
+
this.MARKERS_PANEL_ACTION_TOOLTIP_FILTER = ( localize(10946, "Filter Problems"));
|
|
69
69
|
}
|
|
70
70
|
static {
|
|
71
|
-
this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = ( localize(
|
|
71
|
+
this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = ( localize(10947, "Show fixes"));
|
|
72
72
|
}
|
|
73
73
|
static {
|
|
74
|
-
this.MARKERS_PANEL_FILTER_ARIA_LABEL = ( localize(
|
|
74
|
+
this.MARKERS_PANEL_FILTER_ARIA_LABEL = ( localize(10948, "Filter Problems"));
|
|
75
75
|
}
|
|
76
76
|
static {
|
|
77
|
-
this.MARKERS_PANEL_FILTER_PLACEHOLDER = ( localize(
|
|
77
|
+
this.MARKERS_PANEL_FILTER_PLACEHOLDER = ( localize(10949, "Filter (e.g. text, **/*.ts, !**/node_modules/**, @source:ts)"));
|
|
78
78
|
}
|
|
79
79
|
static {
|
|
80
|
-
this.MARKERS_PANEL_FILTER_ERRORS = ( localize(
|
|
80
|
+
this.MARKERS_PANEL_FILTER_ERRORS = ( localize(10950, "errors"));
|
|
81
81
|
}
|
|
82
82
|
static {
|
|
83
|
-
this.MARKERS_PANEL_FILTER_WARNINGS = ( localize(
|
|
83
|
+
this.MARKERS_PANEL_FILTER_WARNINGS = ( localize(10951, "warnings"));
|
|
84
84
|
}
|
|
85
85
|
static {
|
|
86
|
-
this.MARKERS_PANEL_FILTER_INFOS = ( localize(
|
|
86
|
+
this.MARKERS_PANEL_FILTER_INFOS = ( localize(10952, "infos"));
|
|
87
87
|
}
|
|
88
88
|
static {
|
|
89
|
-
this.MARKERS_PANEL_SINGLE_ERROR_LABEL = ( localize(
|
|
89
|
+
this.MARKERS_PANEL_SINGLE_ERROR_LABEL = ( localize(10953, "1 Error"));
|
|
90
90
|
}
|
|
91
91
|
static {
|
|
92
92
|
this.MARKERS_PANEL_MULTIPLE_ERRORS_LABEL = noOfErrors => {
|
|
93
|
-
return localize(
|
|
93
|
+
return localize(10954, "{0} Errors", "" + noOfErrors);
|
|
94
94
|
};
|
|
95
95
|
}
|
|
96
96
|
static {
|
|
97
|
-
this.MARKERS_PANEL_SINGLE_WARNING_LABEL = ( localize(
|
|
97
|
+
this.MARKERS_PANEL_SINGLE_WARNING_LABEL = ( localize(10955, "1 Warning"));
|
|
98
98
|
}
|
|
99
99
|
static {
|
|
100
100
|
this.MARKERS_PANEL_MULTIPLE_WARNINGS_LABEL = noOfWarnings => {
|
|
101
|
-
return localize(
|
|
101
|
+
return localize(10956, "{0} Warnings", "" + noOfWarnings);
|
|
102
102
|
};
|
|
103
103
|
}
|
|
104
104
|
static {
|
|
105
|
-
this.MARKERS_PANEL_SINGLE_INFO_LABEL = ( localize(
|
|
105
|
+
this.MARKERS_PANEL_SINGLE_INFO_LABEL = ( localize(10957, "1 Info"));
|
|
106
106
|
}
|
|
107
107
|
static {
|
|
108
108
|
this.MARKERS_PANEL_MULTIPLE_INFOS_LABEL = noOfInfos => {
|
|
109
|
-
return localize(
|
|
109
|
+
return localize(10958, "{0} Infos", "" + noOfInfos);
|
|
110
110
|
};
|
|
111
111
|
}
|
|
112
112
|
static {
|
|
113
|
-
this.MARKERS_PANEL_SINGLE_UNKNOWN_LABEL = ( localize(
|
|
113
|
+
this.MARKERS_PANEL_SINGLE_UNKNOWN_LABEL = ( localize(10959, "1 Unknown"));
|
|
114
114
|
}
|
|
115
115
|
static {
|
|
116
116
|
this.MARKERS_PANEL_MULTIPLE_UNKNOWNS_LABEL = noOfUnknowns => {
|
|
117
|
-
return localize(
|
|
117
|
+
return localize(10960, "{0} Unknowns", "" + noOfUnknowns);
|
|
118
118
|
};
|
|
119
119
|
}
|
|
120
120
|
static {
|
|
121
121
|
this.MARKERS_PANEL_AT_LINE_COL_NUMBER = (ln, col) => {
|
|
122
|
-
return localize(
|
|
122
|
+
return localize(10961, "[Ln {0}, Col {1}]", "" + ln, "" + col);
|
|
123
123
|
};
|
|
124
124
|
}
|
|
125
125
|
static {
|
|
126
126
|
this.MARKERS_TREE_ARIA_LABEL_RESOURCE = (noOfProblems, fileName, folder) => {
|
|
127
127
|
return localize(
|
|
128
|
-
|
|
128
|
+
10962,
|
|
129
129
|
"{0} problems in file {1} of folder {2}",
|
|
130
130
|
noOfProblems,
|
|
131
131
|
fileName,
|
|
@@ -136,14 +136,14 @@ class Messages {
|
|
|
136
136
|
static {
|
|
137
137
|
this.MARKERS_TREE_ARIA_LABEL_MARKER = marker => {
|
|
138
138
|
const relatedInformationMessage = marker.relatedInformation.length ? ( localize(
|
|
139
|
-
|
|
139
|
+
10963,
|
|
140
140
|
" This problem has references to {0} locations.",
|
|
141
141
|
marker.relatedInformation.length
|
|
142
142
|
)) : "";
|
|
143
143
|
switch (marker.marker.severity) {
|
|
144
144
|
case MarkerSeverity.Error:
|
|
145
145
|
return marker.marker.source ? ( localize(
|
|
146
|
-
|
|
146
|
+
10964,
|
|
147
147
|
"Error: {0} at line {1} and character {2}.{3} generated by {4}",
|
|
148
148
|
marker.marker.message,
|
|
149
149
|
marker.marker.startLineNumber,
|
|
@@ -151,7 +151,7 @@ class Messages {
|
|
|
151
151
|
relatedInformationMessage,
|
|
152
152
|
marker.marker.source
|
|
153
153
|
)) : ( localize(
|
|
154
|
-
|
|
154
|
+
10965,
|
|
155
155
|
"Error: {0} at line {1} and character {2}.{3}",
|
|
156
156
|
marker.marker.message,
|
|
157
157
|
marker.marker.startLineNumber,
|
|
@@ -160,7 +160,7 @@ class Messages {
|
|
|
160
160
|
));
|
|
161
161
|
case MarkerSeverity.Warning:
|
|
162
162
|
return marker.marker.source ? ( localize(
|
|
163
|
-
|
|
163
|
+
10966,
|
|
164
164
|
"Warning: {0} at line {1} and character {2}.{3} generated by {4}",
|
|
165
165
|
marker.marker.message,
|
|
166
166
|
marker.marker.startLineNumber,
|
|
@@ -168,7 +168,7 @@ class Messages {
|
|
|
168
168
|
relatedInformationMessage,
|
|
169
169
|
marker.marker.source
|
|
170
170
|
)) : ( localize(
|
|
171
|
-
|
|
171
|
+
10967,
|
|
172
172
|
"Warning: {0} at line {1} and character {2}.{3}",
|
|
173
173
|
marker.marker.message,
|
|
174
174
|
marker.marker.startLineNumber,
|
|
@@ -178,7 +178,7 @@ class Messages {
|
|
|
178
178
|
));
|
|
179
179
|
case MarkerSeverity.Info:
|
|
180
180
|
return marker.marker.source ? ( localize(
|
|
181
|
-
|
|
181
|
+
10968,
|
|
182
182
|
"Info: {0} at line {1} and character {2}.{3} generated by {4}",
|
|
183
183
|
marker.marker.message,
|
|
184
184
|
marker.marker.startLineNumber,
|
|
@@ -186,7 +186,7 @@ class Messages {
|
|
|
186
186
|
relatedInformationMessage,
|
|
187
187
|
marker.marker.source
|
|
188
188
|
)) : ( localize(
|
|
189
|
-
|
|
189
|
+
10969,
|
|
190
190
|
"Info: {0} at line {1} and character {2}.{3}",
|
|
191
191
|
marker.marker.message,
|
|
192
192
|
marker.marker.startLineNumber,
|
|
@@ -195,7 +195,7 @@ class Messages {
|
|
|
195
195
|
));
|
|
196
196
|
default:
|
|
197
197
|
return marker.marker.source ? ( localize(
|
|
198
|
-
|
|
198
|
+
10970,
|
|
199
199
|
"Problem: {0} at line {1} and character {2}.{3} generated by {4}",
|
|
200
200
|
marker.marker.source,
|
|
201
201
|
marker.marker.message,
|
|
@@ -204,7 +204,7 @@ class Messages {
|
|
|
204
204
|
relatedInformationMessage,
|
|
205
205
|
marker.marker.source
|
|
206
206
|
)) : ( localize(
|
|
207
|
-
|
|
207
|
+
10971,
|
|
208
208
|
"Problem: {0} at line {1} and character {2}.{3}",
|
|
209
209
|
marker.marker.message,
|
|
210
210
|
marker.marker.startLineNumber,
|
|
@@ -216,7 +216,7 @@ class Messages {
|
|
|
216
216
|
}
|
|
217
217
|
static {
|
|
218
218
|
this.MARKERS_TREE_ARIA_LABEL_RELATED_INFORMATION = relatedInformation => ( localize(
|
|
219
|
-
|
|
219
|
+
10972,
|
|
220
220
|
"{0} at line {1} and character {2} in {3}",
|
|
221
221
|
relatedInformation.message,
|
|
222
222
|
relatedInformation.startLineNumber,
|
|
@@ -225,7 +225,7 @@ class Messages {
|
|
|
225
225
|
));
|
|
226
226
|
}
|
|
227
227
|
static {
|
|
228
|
-
this.SHOW_ERRORS_WARNINGS_ACTION_LABEL = ( localize(
|
|
228
|
+
this.SHOW_ERRORS_WARNINGS_ACTION_LABEL = ( localize(10973, "Show Errors and Warnings"));
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
|