@codingame/monaco-vscode-markers-service-override 30.0.1 → 31.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +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": "31.0.1",
|
|
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": "31.0.1"
|
|
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(10381, "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,
|
|
@@ -140,7 +140,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
140
140
|
ctorDescriptor: ( new SyncDescriptor(MarkersView)),
|
|
141
141
|
openCommandActionDescriptor: {
|
|
142
142
|
id: "workbench.actions.view.problems",
|
|
143
|
-
mnemonicTitle: ( localize(
|
|
143
|
+
mnemonicTitle: ( localize(10382, "&&Problems")),
|
|
144
144
|
keybindings: {
|
|
145
145
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyM
|
|
146
146
|
},
|
|
@@ -152,9 +152,9 @@ registerAction2(class extends ViewAction {
|
|
|
152
152
|
constructor() {
|
|
153
153
|
super({
|
|
154
154
|
id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTree`,
|
|
155
|
-
title: ( localize(
|
|
155
|
+
title: ( localize(10383, "View as Tree")),
|
|
156
156
|
metadata: {
|
|
157
|
-
description: ( localize2(
|
|
157
|
+
description: ( localize2(10384, "Show the problems view as a tree."))
|
|
158
158
|
},
|
|
159
159
|
menu: {
|
|
160
160
|
id: MenuId.ViewTitle,
|
|
@@ -174,9 +174,9 @@ registerAction2(class extends ViewAction {
|
|
|
174
174
|
constructor() {
|
|
175
175
|
super({
|
|
176
176
|
id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTable`,
|
|
177
|
-
title: ( localize(
|
|
177
|
+
title: ( localize(10385, "View as Table")),
|
|
178
178
|
metadata: {
|
|
179
|
-
description: ( localize2(
|
|
179
|
+
description: ( localize2(10386, "Show the problems view as a table."))
|
|
180
180
|
},
|
|
181
181
|
menu: {
|
|
182
182
|
id: MenuId.ViewTitle,
|
|
@@ -196,11 +196,11 @@ registerAction2(class extends ViewAction {
|
|
|
196
196
|
constructor() {
|
|
197
197
|
super({
|
|
198
198
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleErrors`,
|
|
199
|
-
title: ( localize(
|
|
199
|
+
title: ( localize(10387, "Show Errors")),
|
|
200
200
|
metadata: {
|
|
201
|
-
description: ( localize2(
|
|
201
|
+
description: ( localize2(10388, "Show or hide errors in the problems view."))
|
|
202
202
|
},
|
|
203
|
-
category: ( localize(
|
|
203
|
+
category: ( localize(10389, "Problems")),
|
|
204
204
|
toggled: MarkersContextKeys.ShowErrorsFilterContextKey,
|
|
205
205
|
menu: {
|
|
206
206
|
id: viewFilterSubmenu,
|
|
@@ -219,11 +219,11 @@ registerAction2(class extends ViewAction {
|
|
|
219
219
|
constructor() {
|
|
220
220
|
super({
|
|
221
221
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleWarnings`,
|
|
222
|
-
title: ( localize(
|
|
222
|
+
title: ( localize(10390, "Show Warnings")),
|
|
223
223
|
metadata: {
|
|
224
|
-
description: ( localize2(
|
|
224
|
+
description: ( localize2(10391, "Show or hide warnings in the problems view."))
|
|
225
225
|
},
|
|
226
|
-
category: ( localize(
|
|
226
|
+
category: ( localize(10389, "Problems")),
|
|
227
227
|
toggled: MarkersContextKeys.ShowWarningsFilterContextKey,
|
|
228
228
|
menu: {
|
|
229
229
|
id: viewFilterSubmenu,
|
|
@@ -242,11 +242,11 @@ registerAction2(class extends ViewAction {
|
|
|
242
242
|
constructor() {
|
|
243
243
|
super({
|
|
244
244
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleInfos`,
|
|
245
|
-
title: ( localize(
|
|
246
|
-
category: ( localize(
|
|
245
|
+
title: ( localize(10392, "Show Infos")),
|
|
246
|
+
category: ( localize(10389, "Problems")),
|
|
247
247
|
toggled: MarkersContextKeys.ShowInfoFilterContextKey,
|
|
248
248
|
metadata: {
|
|
249
|
-
description: ( localize2(
|
|
249
|
+
description: ( localize2(10393, "Show or hide infos in the problems view."))
|
|
250
250
|
},
|
|
251
251
|
menu: {
|
|
252
252
|
id: viewFilterSubmenu,
|
|
@@ -265,14 +265,14 @@ registerAction2(class extends ViewAction {
|
|
|
265
265
|
constructor() {
|
|
266
266
|
super({
|
|
267
267
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleActiveFile`,
|
|
268
|
-
title: ( localize(
|
|
268
|
+
title: ( localize(10394, "Show Active File Only")),
|
|
269
269
|
metadata: {
|
|
270
270
|
description: ( localize2(
|
|
271
|
-
|
|
271
|
+
10395,
|
|
272
272
|
"Show or hide problems (errors, warnings, info) only from the active file in the problems view."
|
|
273
273
|
))
|
|
274
274
|
},
|
|
275
|
-
category: ( localize(
|
|
275
|
+
category: ( localize(10389, "Problems")),
|
|
276
276
|
toggled: MarkersContextKeys.ShowActiveFileFilterContextKey,
|
|
277
277
|
menu: {
|
|
278
278
|
id: viewFilterSubmenu,
|
|
@@ -291,11 +291,11 @@ registerAction2(class extends ViewAction {
|
|
|
291
291
|
constructor() {
|
|
292
292
|
super({
|
|
293
293
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleExcludedFiles`,
|
|
294
|
-
title: ( localize(
|
|
294
|
+
title: ( localize(10396, "Show Excluded Files")),
|
|
295
295
|
metadata: {
|
|
296
|
-
description: ( localize2(
|
|
296
|
+
description: ( localize2(10397, "Show or hide excluded files in the problems view."))
|
|
297
297
|
},
|
|
298
|
-
category: ( localize(
|
|
298
|
+
category: ( localize(10389, "Problems")),
|
|
299
299
|
toggled: ( MarkersContextKeys.ShowExcludedFilesFilterContextKey.negate()),
|
|
300
300
|
menu: {
|
|
301
301
|
id: viewFilterSubmenu,
|
|
@@ -347,7 +347,7 @@ registerAction2(class extends MarkersViewAction {
|
|
|
347
347
|
const when = ( ContextKeyExpr.and(( FocusedViewContext.isEqualTo(Markers.MARKERS_VIEW_ID)), MarkersContextKeys.MarkersTreeVisibilityContextKey, ( MarkersContextKeys.RelatedInformationFocusContextKey.toNegated())));
|
|
348
348
|
super({
|
|
349
349
|
id: Markers.MARKER_COPY_ACTION_ID,
|
|
350
|
-
title: ( localize2(
|
|
350
|
+
title: ( localize2(10398, "Copy")),
|
|
351
351
|
menu: {
|
|
352
352
|
id: MenuId.ProblemsPanelContext,
|
|
353
353
|
when,
|
|
@@ -373,7 +373,7 @@ registerAction2(class extends MarkersViewAction {
|
|
|
373
373
|
constructor() {
|
|
374
374
|
super({
|
|
375
375
|
id: Markers.MARKER_COPY_MESSAGE_ACTION_ID,
|
|
376
|
-
title: ( localize2(
|
|
376
|
+
title: ( localize2(10399, "Copy Message")),
|
|
377
377
|
menu: {
|
|
378
378
|
id: MenuId.ProblemsPanelContext,
|
|
379
379
|
when: MarkersContextKeys.MarkerFocusContextKey,
|
|
@@ -394,7 +394,7 @@ registerAction2(class extends ViewAction {
|
|
|
394
394
|
constructor() {
|
|
395
395
|
super({
|
|
396
396
|
id: Markers.RELATED_INFORMATION_COPY_MESSAGE_ACTION_ID,
|
|
397
|
-
title: ( localize2(
|
|
397
|
+
title: ( localize2(10399, "Copy Message")),
|
|
398
398
|
menu: {
|
|
399
399
|
id: MenuId.ProblemsPanelContext,
|
|
400
400
|
when: MarkersContextKeys.RelatedInformationFocusContextKey,
|
|
@@ -415,7 +415,7 @@ registerAction2(class extends ViewAction {
|
|
|
415
415
|
constructor() {
|
|
416
416
|
super({
|
|
417
417
|
id: Markers.FOCUS_PROBLEMS_FROM_FILTER,
|
|
418
|
-
title: ( localize(
|
|
418
|
+
title: ( localize(10400, "Focus problems view")),
|
|
419
419
|
keybinding: {
|
|
420
420
|
when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
|
|
421
421
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -432,7 +432,7 @@ registerAction2(class extends ViewAction {
|
|
|
432
432
|
constructor() {
|
|
433
433
|
super({
|
|
434
434
|
id: Markers.MARKERS_VIEW_FOCUS_FILTER,
|
|
435
|
-
title: ( localize(
|
|
435
|
+
title: ( localize(10401, "Focus problems filter")),
|
|
436
436
|
keybinding: {
|
|
437
437
|
when: ( FocusedViewContext.isEqualTo(Markers.MARKERS_VIEW_ID)),
|
|
438
438
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -449,8 +449,8 @@ registerAction2(class extends ViewAction {
|
|
|
449
449
|
constructor() {
|
|
450
450
|
super({
|
|
451
451
|
id: Markers.MARKERS_VIEW_SHOW_MULTILINE_MESSAGE,
|
|
452
|
-
title: ( localize2(
|
|
453
|
-
category: ( localize(
|
|
452
|
+
title: ( localize2(10402, "Show message in multiple lines")),
|
|
453
|
+
category: ( localize(10389, "Problems")),
|
|
454
454
|
menu: {
|
|
455
455
|
id: MenuId.CommandPalette,
|
|
456
456
|
when: ( ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID)))
|
|
@@ -466,8 +466,8 @@ registerAction2(class extends ViewAction {
|
|
|
466
466
|
constructor() {
|
|
467
467
|
super({
|
|
468
468
|
id: Markers.MARKERS_VIEW_SHOW_SINGLELINE_MESSAGE,
|
|
469
|
-
title: ( localize2(
|
|
470
|
-
category: ( localize(
|
|
469
|
+
title: ( localize2(10403, "Show message in single line")),
|
|
470
|
+
category: ( localize(10389, "Problems")),
|
|
471
471
|
menu: {
|
|
472
472
|
id: MenuId.CommandPalette,
|
|
473
473
|
when: ( ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID)))
|
|
@@ -483,8 +483,8 @@ registerAction2(class extends ViewAction {
|
|
|
483
483
|
constructor() {
|
|
484
484
|
super({
|
|
485
485
|
id: Markers.MARKERS_VIEW_CLEAR_FILTER_TEXT,
|
|
486
|
-
title: ( localize(
|
|
487
|
-
category: ( localize(
|
|
486
|
+
title: ( localize(10404, "Clear filters text")),
|
|
487
|
+
category: ( localize(10389, "Problems")),
|
|
488
488
|
keybinding: {
|
|
489
489
|
when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
|
|
490
490
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -501,7 +501,7 @@ registerAction2(class extends ViewAction {
|
|
|
501
501
|
constructor() {
|
|
502
502
|
super({
|
|
503
503
|
id: `workbench.actions.treeView.${Markers.MARKERS_VIEW_ID}.collapseAll`,
|
|
504
|
-
title: ( localize(
|
|
504
|
+
title: ( localize(10405, "Collapse All")),
|
|
505
505
|
menu: {
|
|
506
506
|
id: MenuId.ViewTitle,
|
|
507
507
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("view", Markers.MARKERS_VIEW_ID)), ( MarkersContextKeys.MarkersViewModeContextKey.isEqualTo(MarkersViewMode.Tree)))),
|
|
@@ -576,7 +576,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
576
576
|
const markersStatistics = this.markerService.getStatistics();
|
|
577
577
|
const tooltip = this.getMarkersTooltip(markersStatistics);
|
|
578
578
|
return {
|
|
579
|
-
name: ( localize(
|
|
579
|
+
name: ( localize(10406, "Problems")),
|
|
580
580
|
text: this.getMarkersText(markersStatistics),
|
|
581
581
|
ariaLabel: tooltip,
|
|
582
582
|
tooltip,
|
|
@@ -587,9 +587,9 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
587
587
|
this.statusbarService.updateEntryVisibility("status.problemsVisibility", true);
|
|
588
588
|
const openSettingsCommand = "workbench.action.openSettings";
|
|
589
589
|
const configureSettingsLabel = "@id:problems.visibility";
|
|
590
|
-
const tooltip = ( localize(
|
|
590
|
+
const tooltip = ( localize(10407, "Problems are turned off. Click to open settings."));
|
|
591
591
|
return {
|
|
592
|
-
name: ( localize(
|
|
592
|
+
name: ( localize(10408, "Problems Visibility")),
|
|
593
593
|
text: "$(whole-word)",
|
|
594
594
|
ariaLabel: tooltip,
|
|
595
595
|
tooltip,
|
|
@@ -602,9 +602,9 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
602
602
|
};
|
|
603
603
|
}
|
|
604
604
|
getMarkersTooltip(stats) {
|
|
605
|
-
const errorTitle = n => ( localize(
|
|
606
|
-
const warningTitle = n => ( localize(
|
|
607
|
-
const infoTitle = n => ( localize(
|
|
605
|
+
const errorTitle = n => ( localize(10409, "Errors: {0}", n));
|
|
606
|
+
const warningTitle = n => ( localize(10410, "Warnings: {0}", n));
|
|
607
|
+
const infoTitle = n => ( localize(10411, "Infos: {0}", n));
|
|
608
608
|
const titles = [];
|
|
609
609
|
if (stats.errors > 0) {
|
|
610
610
|
titles.push(errorTitle(stats.errors));
|
|
@@ -616,7 +616,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
616
616
|
titles.push(infoTitle(stats.infos));
|
|
617
617
|
}
|
|
618
618
|
if (titles.length === 0) {
|
|
619
|
-
return localize(
|
|
619
|
+
return localize(10412, "No Problems");
|
|
620
620
|
}
|
|
621
621
|
return titles.join(", ");
|
|
622
622
|
}
|
|
@@ -630,7 +630,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
630
630
|
return problemsText.join(" ");
|
|
631
631
|
}
|
|
632
632
|
packNumber(n) {
|
|
633
|
-
const manyProblems = ( localize(
|
|
633
|
+
const manyProblems = ( localize(10413, "10K+"));
|
|
634
634
|
return n > 9999 ? manyProblems : n > 999 ? ( n.toString()).charAt(0) + "K" : ( n.toString());
|
|
635
635
|
}
|
|
636
636
|
};
|
|
@@ -658,7 +658,7 @@ let ActivityUpdater = class ActivityUpdater extends Disposable {
|
|
|
658
658
|
} = this.markerService.getStatistics();
|
|
659
659
|
const total = errors + warnings + infos;
|
|
660
660
|
if (total > 0) {
|
|
661
|
-
const message = ( localize(
|
|
661
|
+
const message = ( localize(10414, "Total {0} Problems", total));
|
|
662
662
|
this.activity.value = this.activityService.showViewActivity(Markers.MARKERS_VIEW_ID, {
|
|
663
663
|
badge: ( new NumberBadge(total, () => message))
|
|
664
664
|
});
|
|
@@ -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(10415, "Accessibility Help: Problems Panel Filter")));
|
|
33
33
|
lines.push(( localize(
|
|
34
|
-
|
|
34
|
+
10416,
|
|
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(10417, "Current Filter Status:")));
|
|
39
|
+
lines.push(( localize(10418, "You are filtering the problems.")));
|
|
40
40
|
lines.push("");
|
|
41
|
-
lines.push(( localize(
|
|
41
|
+
lines.push(( localize(10419, "Inside the Filter Input (What It Does):")));
|
|
42
42
|
lines.push(( localize(
|
|
43
|
-
|
|
43
|
+
10420,
|
|
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(10421, "What Happens When You Filter:")));
|
|
48
48
|
lines.push(( localize(
|
|
49
|
-
|
|
49
|
+
10422,
|
|
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
|
+
10423,
|
|
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(10424, "Focus Behavior (Important):")));
|
|
58
58
|
lines.push(( localize(
|
|
59
|
-
|
|
59
|
+
10425,
|
|
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
|
+
10426,
|
|
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
|
+
10427,
|
|
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
|
+
10428,
|
|
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(10429, "Filter Syntax and Patterns:")));
|
|
76
76
|
lines.push(( localize(
|
|
77
|
-
|
|
77
|
+
10430,
|
|
78
78
|
"- Type text: Shows problems whose message, file path, or code contains that text."
|
|
79
79
|
)));
|
|
80
80
|
lines.push(( localize(
|
|
81
|
-
|
|
81
|
+
10431,
|
|
82
82
|
"- !text (exclude): Hides problems containing the text, showing all others."
|
|
83
83
|
)));
|
|
84
84
|
lines.push(( localize(
|
|
85
|
-
|
|
85
|
+
10432,
|
|
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(10433, "Severity and Scope Filtering:")));
|
|
90
90
|
lines.push(( localize(
|
|
91
|
-
|
|
91
|
+
10434,
|
|
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(10435, "- Errors button: Toggle to show or hide error problems.")));
|
|
95
|
+
lines.push(( localize(10436, "- Warnings button: Toggle to show or hide warning problems.")));
|
|
96
|
+
lines.push(( localize(10437, "- Info button: Toggle to show or hide informational problems.")));
|
|
97
97
|
lines.push(( localize(
|
|
98
|
-
|
|
98
|
+
10438,
|
|
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(10439, "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(10440, "Keyboard Navigation Summary:")));
|
|
104
|
+
lines.push(( localize(10441, "- Down Arrow: Move focus from filter into the problems list.")));
|
|
105
|
+
lines.push(( localize(10442, "- Tab: Move to severity and scope toggle buttons.")));
|
|
106
|
+
lines.push(( localize(10443, "- Enter (on a problem): Navigate to that problem in the editor.")));
|
|
107
107
|
lines.push(( localize(
|
|
108
|
-
|
|
108
|
+
10444,
|
|
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
|
+
10445,
|
|
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(10446, "- Escape: Clear the filter and return to showing all problems.")));
|
|
118
118
|
lines.push("");
|
|
119
119
|
lines.push(( localize(
|
|
120
|
-
|
|
120
|
+
10447,
|
|
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(10448, "These settings affect the Problems panel.")));
|
|
125
125
|
lines.push(( localize(
|
|
126
|
-
|
|
126
|
+
10449,
|
|
127
127
|
"- `accessibility.verbosity.find`: Controls whether the filter input announces the Accessibility Help hint."
|
|
128
128
|
)));
|
|
129
129
|
lines.push(( localize(
|
|
130
|
-
|
|
130
|
+
10450,
|
|
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(10451, "- `problems.defaultViewMode`: Show problems as a table or tree.")));
|
|
134
|
+
lines.push(( localize(10452, "- `problems.sortOrder`: Sort problems by severity or position.")));
|
|
135
135
|
lines.push(( localize(
|
|
136
|
-
|
|
136
|
+
10453,
|
|
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(10454, "Closing:")));
|
|
141
141
|
lines.push(( localize(
|
|
142
|
-
|
|
142
|
+
10455,
|
|
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(10456, "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(10457, "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
|
+
10458,
|
|
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(10459, "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(10460, "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(10461, "1 problem in this file")) : ( localize(10462, "{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
|
+
10463,
|
|
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(10464, "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(10465, "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(10466, "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(10467, "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(10468, "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
|
+
10469,
|
|
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
|
+
10470,
|
|
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(10471, "Show message in single line")) : ( localize(10472, "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(10473, "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(10474, "Showing {0} problems", total)));
|
|
642
642
|
} else {
|
|
643
|
-
this.setAriaLabel(( localize(
|
|
643
|
+
this.setAriaLabel(( localize(10475, "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(10476, "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(10477, "Toggle Problems (Errors, Warnings, Infos)"));
|
|
9
9
|
}
|
|
10
10
|
static {
|
|
11
|
-
this.MARKERS_PANEL_SHOW_LABEL = ( localize2(
|
|
11
|
+
this.MARKERS_PANEL_SHOW_LABEL = ( localize2(10478, "Focus Problems (Errors, Warnings, Infos)"));
|
|
12
12
|
}
|
|
13
13
|
static {
|
|
14
|
-
this.PROBLEMS_PANEL_CONFIGURATION_TITLE = ( localize(
|
|
14
|
+
this.PROBLEMS_PANEL_CONFIGURATION_TITLE = ( localize(10479, "Problems View"));
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.PROBLEMS_PANEL_CONFIGURATION_AUTO_REVEAL = ( localize(
|
|
18
|
-
|
|
18
|
+
10480,
|
|
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(10481, "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(10482, "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(10483, "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(10484, "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(10485, "Navigate problems ordered by position"));
|
|
36
36
|
}
|
|
37
37
|
static {
|
|
38
|
-
this.MARKERS_PANEL_TITLE_PROBLEMS = ( localize2(
|
|
38
|
+
this.MARKERS_PANEL_TITLE_PROBLEMS = ( localize2(10486, "Problems"));
|
|
39
39
|
}
|
|
40
40
|
static {
|
|
41
|
-
this.MARKERS_PANEL_NO_PROBLEMS_BUILT = ( localize(
|
|
41
|
+
this.MARKERS_PANEL_NO_PROBLEMS_BUILT = ( localize(10487, "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(10488, "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(10489, "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(10490, "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(10491, "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(10492, "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(10493, "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(10494, "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(10495, "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(10496, "Filter Problems"));
|
|
69
69
|
}
|
|
70
70
|
static {
|
|
71
|
-
this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = ( localize(
|
|
71
|
+
this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = ( localize(10497, "Show fixes"));
|
|
72
72
|
}
|
|
73
73
|
static {
|
|
74
|
-
this.MARKERS_PANEL_FILTER_ARIA_LABEL = ( localize(
|
|
74
|
+
this.MARKERS_PANEL_FILTER_ARIA_LABEL = ( localize(10498, "Filter Problems"));
|
|
75
75
|
}
|
|
76
76
|
static {
|
|
77
|
-
this.MARKERS_PANEL_FILTER_PLACEHOLDER = ( localize(
|
|
77
|
+
this.MARKERS_PANEL_FILTER_PLACEHOLDER = ( localize(10499, "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(10500, "errors"));
|
|
81
81
|
}
|
|
82
82
|
static {
|
|
83
|
-
this.MARKERS_PANEL_FILTER_WARNINGS = ( localize(
|
|
83
|
+
this.MARKERS_PANEL_FILTER_WARNINGS = ( localize(10501, "warnings"));
|
|
84
84
|
}
|
|
85
85
|
static {
|
|
86
|
-
this.MARKERS_PANEL_FILTER_INFOS = ( localize(
|
|
86
|
+
this.MARKERS_PANEL_FILTER_INFOS = ( localize(10502, "infos"));
|
|
87
87
|
}
|
|
88
88
|
static {
|
|
89
|
-
this.MARKERS_PANEL_SINGLE_ERROR_LABEL = ( localize(
|
|
89
|
+
this.MARKERS_PANEL_SINGLE_ERROR_LABEL = ( localize(10503, "1 Error"));
|
|
90
90
|
}
|
|
91
91
|
static {
|
|
92
92
|
this.MARKERS_PANEL_MULTIPLE_ERRORS_LABEL = noOfErrors => {
|
|
93
|
-
return localize(
|
|
93
|
+
return localize(10504, "{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(10505, "1 Warning"));
|
|
98
98
|
}
|
|
99
99
|
static {
|
|
100
100
|
this.MARKERS_PANEL_MULTIPLE_WARNINGS_LABEL = noOfWarnings => {
|
|
101
|
-
return localize(
|
|
101
|
+
return localize(10506, "{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(10507, "1 Info"));
|
|
106
106
|
}
|
|
107
107
|
static {
|
|
108
108
|
this.MARKERS_PANEL_MULTIPLE_INFOS_LABEL = noOfInfos => {
|
|
109
|
-
return localize(
|
|
109
|
+
return localize(10508, "{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(10509, "1 Unknown"));
|
|
114
114
|
}
|
|
115
115
|
static {
|
|
116
116
|
this.MARKERS_PANEL_MULTIPLE_UNKNOWNS_LABEL = noOfUnknowns => {
|
|
117
|
-
return localize(
|
|
117
|
+
return localize(10510, "{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(10511, "[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
|
+
10512,
|
|
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
|
+
10513,
|
|
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
|
+
10514,
|
|
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
|
+
10515,
|
|
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
|
+
10516,
|
|
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
|
+
10517,
|
|
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
|
+
10518,
|
|
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
|
+
10519,
|
|
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
|
+
10520,
|
|
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
|
+
10521,
|
|
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
|
+
10522,
|
|
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(10523, "Show Errors and Warnings"));
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
|