@codingame/monaco-vscode-markers-service-override 31.0.1 → 32.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 +47 -45
- 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": "32.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": "32.0.1"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -20,7 +20,7 @@ import { Disposable, MutableDisposable } from '@codingame/monaco-vscode-api/vsco
|
|
|
20
20
|
import { StatusbarAlignment } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/statusbar/browser/statusbar';
|
|
21
21
|
import { IStatusbarService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/statusbar/browser/statusbar.service';
|
|
22
22
|
import { IMarkerService } from '@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers.service';
|
|
23
|
-
import { Extensions as Extensions$1, ViewContainerLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views';
|
|
23
|
+
import { Extensions as Extensions$1, WindowEnablement, ViewContainerLocation } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views';
|
|
24
24
|
import { IViewsService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/views/common/viewsService.service';
|
|
25
25
|
import { FocusedViewContext, getVisbileViewContextKey } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/contextkeys';
|
|
26
26
|
import { ViewPaneContainer } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/parts/views/viewPaneContainer';
|
|
@@ -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(10704, "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,
|
|
@@ -127,7 +127,8 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
127
127
|
ctorDescriptor: ( new SyncDescriptor(ViewPaneContainer, [Markers.MARKERS_CONTAINER_ID, {
|
|
128
128
|
mergeViewWithContainerWhenSingleView: true
|
|
129
129
|
}])),
|
|
130
|
-
storageId: Markers.MARKERS_VIEW_STORAGE_ID
|
|
130
|
+
storageId: Markers.MARKERS_VIEW_STORAGE_ID,
|
|
131
|
+
windowEnablement: WindowEnablement.Both
|
|
131
132
|
}, ViewContainerLocation.Panel, {
|
|
132
133
|
doNotRegisterOpenCommand: true
|
|
133
134
|
});
|
|
@@ -140,21 +141,22 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
140
141
|
ctorDescriptor: ( new SyncDescriptor(MarkersView)),
|
|
141
142
|
openCommandActionDescriptor: {
|
|
142
143
|
id: "workbench.actions.view.problems",
|
|
143
|
-
mnemonicTitle: ( localize(
|
|
144
|
+
mnemonicTitle: ( localize(10705, "&&Problems")),
|
|
144
145
|
keybindings: {
|
|
145
146
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyM
|
|
146
147
|
},
|
|
147
148
|
order: 0
|
|
148
|
-
}
|
|
149
|
+
},
|
|
150
|
+
windowEnablement: WindowEnablement.Both
|
|
149
151
|
}], VIEW_CONTAINER);
|
|
150
152
|
const workbenchRegistry = ( Registry.as(Extensions$2.Workbench));
|
|
151
153
|
registerAction2(class extends ViewAction {
|
|
152
154
|
constructor() {
|
|
153
155
|
super({
|
|
154
156
|
id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTree`,
|
|
155
|
-
title: ( localize(
|
|
157
|
+
title: ( localize(10706, "View as Tree")),
|
|
156
158
|
metadata: {
|
|
157
|
-
description: ( localize2(
|
|
159
|
+
description: ( localize2(10707, "Show the problems view as a tree."))
|
|
158
160
|
},
|
|
159
161
|
menu: {
|
|
160
162
|
id: MenuId.ViewTitle,
|
|
@@ -174,9 +176,9 @@ registerAction2(class extends ViewAction {
|
|
|
174
176
|
constructor() {
|
|
175
177
|
super({
|
|
176
178
|
id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTable`,
|
|
177
|
-
title: ( localize(
|
|
179
|
+
title: ( localize(10708, "View as Table")),
|
|
178
180
|
metadata: {
|
|
179
|
-
description: ( localize2(
|
|
181
|
+
description: ( localize2(10709, "Show the problems view as a table."))
|
|
180
182
|
},
|
|
181
183
|
menu: {
|
|
182
184
|
id: MenuId.ViewTitle,
|
|
@@ -196,11 +198,11 @@ registerAction2(class extends ViewAction {
|
|
|
196
198
|
constructor() {
|
|
197
199
|
super({
|
|
198
200
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleErrors`,
|
|
199
|
-
title: ( localize(
|
|
201
|
+
title: ( localize(10710, "Show Errors")),
|
|
200
202
|
metadata: {
|
|
201
|
-
description: ( localize2(
|
|
203
|
+
description: ( localize2(10711, "Show or hide errors in the problems view."))
|
|
202
204
|
},
|
|
203
|
-
category: ( localize(
|
|
205
|
+
category: ( localize(10712, "Problems")),
|
|
204
206
|
toggled: MarkersContextKeys.ShowErrorsFilterContextKey,
|
|
205
207
|
menu: {
|
|
206
208
|
id: viewFilterSubmenu,
|
|
@@ -219,11 +221,11 @@ registerAction2(class extends ViewAction {
|
|
|
219
221
|
constructor() {
|
|
220
222
|
super({
|
|
221
223
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleWarnings`,
|
|
222
|
-
title: ( localize(
|
|
224
|
+
title: ( localize(10713, "Show Warnings")),
|
|
223
225
|
metadata: {
|
|
224
|
-
description: ( localize2(
|
|
226
|
+
description: ( localize2(10714, "Show or hide warnings in the problems view."))
|
|
225
227
|
},
|
|
226
|
-
category: ( localize(
|
|
228
|
+
category: ( localize(10712, "Problems")),
|
|
227
229
|
toggled: MarkersContextKeys.ShowWarningsFilterContextKey,
|
|
228
230
|
menu: {
|
|
229
231
|
id: viewFilterSubmenu,
|
|
@@ -242,11 +244,11 @@ registerAction2(class extends ViewAction {
|
|
|
242
244
|
constructor() {
|
|
243
245
|
super({
|
|
244
246
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleInfos`,
|
|
245
|
-
title: ( localize(
|
|
246
|
-
category: ( localize(
|
|
247
|
+
title: ( localize(10715, "Show Infos")),
|
|
248
|
+
category: ( localize(10712, "Problems")),
|
|
247
249
|
toggled: MarkersContextKeys.ShowInfoFilterContextKey,
|
|
248
250
|
metadata: {
|
|
249
|
-
description: ( localize2(
|
|
251
|
+
description: ( localize2(10716, "Show or hide infos in the problems view."))
|
|
250
252
|
},
|
|
251
253
|
menu: {
|
|
252
254
|
id: viewFilterSubmenu,
|
|
@@ -265,14 +267,14 @@ registerAction2(class extends ViewAction {
|
|
|
265
267
|
constructor() {
|
|
266
268
|
super({
|
|
267
269
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleActiveFile`,
|
|
268
|
-
title: ( localize(
|
|
270
|
+
title: ( localize(10717, "Show Active File Only")),
|
|
269
271
|
metadata: {
|
|
270
272
|
description: ( localize2(
|
|
271
|
-
|
|
273
|
+
10718,
|
|
272
274
|
"Show or hide problems (errors, warnings, info) only from the active file in the problems view."
|
|
273
275
|
))
|
|
274
276
|
},
|
|
275
|
-
category: ( localize(
|
|
277
|
+
category: ( localize(10712, "Problems")),
|
|
276
278
|
toggled: MarkersContextKeys.ShowActiveFileFilterContextKey,
|
|
277
279
|
menu: {
|
|
278
280
|
id: viewFilterSubmenu,
|
|
@@ -291,11 +293,11 @@ registerAction2(class extends ViewAction {
|
|
|
291
293
|
constructor() {
|
|
292
294
|
super({
|
|
293
295
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleExcludedFiles`,
|
|
294
|
-
title: ( localize(
|
|
296
|
+
title: ( localize(10719, "Show Excluded Files")),
|
|
295
297
|
metadata: {
|
|
296
|
-
description: ( localize2(
|
|
298
|
+
description: ( localize2(10720, "Show or hide excluded files in the problems view."))
|
|
297
299
|
},
|
|
298
|
-
category: ( localize(
|
|
300
|
+
category: ( localize(10712, "Problems")),
|
|
299
301
|
toggled: ( MarkersContextKeys.ShowExcludedFilesFilterContextKey.negate()),
|
|
300
302
|
menu: {
|
|
301
303
|
id: viewFilterSubmenu,
|
|
@@ -347,7 +349,7 @@ registerAction2(class extends MarkersViewAction {
|
|
|
347
349
|
const when = ( ContextKeyExpr.and(( FocusedViewContext.isEqualTo(Markers.MARKERS_VIEW_ID)), MarkersContextKeys.MarkersTreeVisibilityContextKey, ( MarkersContextKeys.RelatedInformationFocusContextKey.toNegated())));
|
|
348
350
|
super({
|
|
349
351
|
id: Markers.MARKER_COPY_ACTION_ID,
|
|
350
|
-
title: ( localize2(
|
|
352
|
+
title: ( localize2(10721, "Copy")),
|
|
351
353
|
menu: {
|
|
352
354
|
id: MenuId.ProblemsPanelContext,
|
|
353
355
|
when,
|
|
@@ -373,7 +375,7 @@ registerAction2(class extends MarkersViewAction {
|
|
|
373
375
|
constructor() {
|
|
374
376
|
super({
|
|
375
377
|
id: Markers.MARKER_COPY_MESSAGE_ACTION_ID,
|
|
376
|
-
title: ( localize2(
|
|
378
|
+
title: ( localize2(10722, "Copy Message")),
|
|
377
379
|
menu: {
|
|
378
380
|
id: MenuId.ProblemsPanelContext,
|
|
379
381
|
when: MarkersContextKeys.MarkerFocusContextKey,
|
|
@@ -394,7 +396,7 @@ registerAction2(class extends ViewAction {
|
|
|
394
396
|
constructor() {
|
|
395
397
|
super({
|
|
396
398
|
id: Markers.RELATED_INFORMATION_COPY_MESSAGE_ACTION_ID,
|
|
397
|
-
title: ( localize2(
|
|
399
|
+
title: ( localize2(10722, "Copy Message")),
|
|
398
400
|
menu: {
|
|
399
401
|
id: MenuId.ProblemsPanelContext,
|
|
400
402
|
when: MarkersContextKeys.RelatedInformationFocusContextKey,
|
|
@@ -415,7 +417,7 @@ registerAction2(class extends ViewAction {
|
|
|
415
417
|
constructor() {
|
|
416
418
|
super({
|
|
417
419
|
id: Markers.FOCUS_PROBLEMS_FROM_FILTER,
|
|
418
|
-
title: ( localize(
|
|
420
|
+
title: ( localize(10723, "Focus problems view")),
|
|
419
421
|
keybinding: {
|
|
420
422
|
when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
|
|
421
423
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -432,7 +434,7 @@ registerAction2(class extends ViewAction {
|
|
|
432
434
|
constructor() {
|
|
433
435
|
super({
|
|
434
436
|
id: Markers.MARKERS_VIEW_FOCUS_FILTER,
|
|
435
|
-
title: ( localize(
|
|
437
|
+
title: ( localize(10724, "Focus problems filter")),
|
|
436
438
|
keybinding: {
|
|
437
439
|
when: ( FocusedViewContext.isEqualTo(Markers.MARKERS_VIEW_ID)),
|
|
438
440
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -449,8 +451,8 @@ registerAction2(class extends ViewAction {
|
|
|
449
451
|
constructor() {
|
|
450
452
|
super({
|
|
451
453
|
id: Markers.MARKERS_VIEW_SHOW_MULTILINE_MESSAGE,
|
|
452
|
-
title: ( localize2(
|
|
453
|
-
category: ( localize(
|
|
454
|
+
title: ( localize2(10725, "Show message in multiple lines")),
|
|
455
|
+
category: ( localize(10712, "Problems")),
|
|
454
456
|
menu: {
|
|
455
457
|
id: MenuId.CommandPalette,
|
|
456
458
|
when: ( ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID)))
|
|
@@ -466,8 +468,8 @@ registerAction2(class extends ViewAction {
|
|
|
466
468
|
constructor() {
|
|
467
469
|
super({
|
|
468
470
|
id: Markers.MARKERS_VIEW_SHOW_SINGLELINE_MESSAGE,
|
|
469
|
-
title: ( localize2(
|
|
470
|
-
category: ( localize(
|
|
471
|
+
title: ( localize2(10726, "Show message in single line")),
|
|
472
|
+
category: ( localize(10712, "Problems")),
|
|
471
473
|
menu: {
|
|
472
474
|
id: MenuId.CommandPalette,
|
|
473
475
|
when: ( ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID)))
|
|
@@ -483,8 +485,8 @@ registerAction2(class extends ViewAction {
|
|
|
483
485
|
constructor() {
|
|
484
486
|
super({
|
|
485
487
|
id: Markers.MARKERS_VIEW_CLEAR_FILTER_TEXT,
|
|
486
|
-
title: ( localize(
|
|
487
|
-
category: ( localize(
|
|
488
|
+
title: ( localize(10727, "Clear filters text")),
|
|
489
|
+
category: ( localize(10712, "Problems")),
|
|
488
490
|
keybinding: {
|
|
489
491
|
when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
|
|
490
492
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -501,7 +503,7 @@ registerAction2(class extends ViewAction {
|
|
|
501
503
|
constructor() {
|
|
502
504
|
super({
|
|
503
505
|
id: `workbench.actions.treeView.${Markers.MARKERS_VIEW_ID}.collapseAll`,
|
|
504
|
-
title: ( localize(
|
|
506
|
+
title: ( localize(10728, "Collapse All")),
|
|
505
507
|
menu: {
|
|
506
508
|
id: MenuId.ViewTitle,
|
|
507
509
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("view", Markers.MARKERS_VIEW_ID)), ( MarkersContextKeys.MarkersViewModeContextKey.isEqualTo(MarkersViewMode.Tree)))),
|
|
@@ -576,7 +578,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
576
578
|
const markersStatistics = this.markerService.getStatistics();
|
|
577
579
|
const tooltip = this.getMarkersTooltip(markersStatistics);
|
|
578
580
|
return {
|
|
579
|
-
name: ( localize(
|
|
581
|
+
name: ( localize(10729, "Problems")),
|
|
580
582
|
text: this.getMarkersText(markersStatistics),
|
|
581
583
|
ariaLabel: tooltip,
|
|
582
584
|
tooltip,
|
|
@@ -587,9 +589,9 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
587
589
|
this.statusbarService.updateEntryVisibility("status.problemsVisibility", true);
|
|
588
590
|
const openSettingsCommand = "workbench.action.openSettings";
|
|
589
591
|
const configureSettingsLabel = "@id:problems.visibility";
|
|
590
|
-
const tooltip = ( localize(
|
|
592
|
+
const tooltip = ( localize(10730, "Problems are turned off. Click to open settings."));
|
|
591
593
|
return {
|
|
592
|
-
name: ( localize(
|
|
594
|
+
name: ( localize(10731, "Problems Visibility")),
|
|
593
595
|
text: "$(whole-word)",
|
|
594
596
|
ariaLabel: tooltip,
|
|
595
597
|
tooltip,
|
|
@@ -602,9 +604,9 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
602
604
|
};
|
|
603
605
|
}
|
|
604
606
|
getMarkersTooltip(stats) {
|
|
605
|
-
const errorTitle = n => ( localize(
|
|
606
|
-
const warningTitle = n => ( localize(
|
|
607
|
-
const infoTitle = n => ( localize(
|
|
607
|
+
const errorTitle = n => ( localize(10732, "Errors: {0}", n));
|
|
608
|
+
const warningTitle = n => ( localize(10733, "Warnings: {0}", n));
|
|
609
|
+
const infoTitle = n => ( localize(10734, "Infos: {0}", n));
|
|
608
610
|
const titles = [];
|
|
609
611
|
if (stats.errors > 0) {
|
|
610
612
|
titles.push(errorTitle(stats.errors));
|
|
@@ -616,7 +618,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
616
618
|
titles.push(infoTitle(stats.infos));
|
|
617
619
|
}
|
|
618
620
|
if (titles.length === 0) {
|
|
619
|
-
return localize(
|
|
621
|
+
return localize(10735, "No Problems");
|
|
620
622
|
}
|
|
621
623
|
return titles.join(", ");
|
|
622
624
|
}
|
|
@@ -630,7 +632,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
630
632
|
return problemsText.join(" ");
|
|
631
633
|
}
|
|
632
634
|
packNumber(n) {
|
|
633
|
-
const manyProblems = ( localize(
|
|
635
|
+
const manyProblems = ( localize(10736, "10K+"));
|
|
634
636
|
return n > 9999 ? manyProblems : n > 999 ? ( n.toString()).charAt(0) + "K" : ( n.toString());
|
|
635
637
|
}
|
|
636
638
|
};
|
|
@@ -658,7 +660,7 @@ let ActivityUpdater = class ActivityUpdater extends Disposable {
|
|
|
658
660
|
} = this.markerService.getStatistics();
|
|
659
661
|
const total = errors + warnings + infos;
|
|
660
662
|
if (total > 0) {
|
|
661
|
-
const message = ( localize(
|
|
663
|
+
const message = ( localize(10737, "Total {0} Problems", total));
|
|
662
664
|
this.activity.value = this.activityService.showViewActivity(Markers.MARKERS_VIEW_ID, {
|
|
663
665
|
badge: ( new NumberBadge(total, () => message))
|
|
664
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(10738, "Accessibility Help: Problems Panel Filter")));
|
|
33
33
|
lines.push(( localize(
|
|
34
|
-
|
|
34
|
+
10739,
|
|
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(10740, "Current Filter Status:")));
|
|
39
|
+
lines.push(( localize(10741, "You are filtering the problems.")));
|
|
40
40
|
lines.push("");
|
|
41
|
-
lines.push(( localize(
|
|
41
|
+
lines.push(( localize(10742, "Inside the Filter Input (What It Does):")));
|
|
42
42
|
lines.push(( localize(
|
|
43
|
-
|
|
43
|
+
10743,
|
|
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(10744, "What Happens When You Filter:")));
|
|
48
48
|
lines.push(( localize(
|
|
49
|
-
|
|
49
|
+
10745,
|
|
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
|
+
10746,
|
|
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(10747, "Focus Behavior (Important):")));
|
|
58
58
|
lines.push(( localize(
|
|
59
|
-
|
|
59
|
+
10748,
|
|
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
|
+
10749,
|
|
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
|
+
10750,
|
|
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
|
+
10751,
|
|
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(10752, "Filter Syntax and Patterns:")));
|
|
76
76
|
lines.push(( localize(
|
|
77
|
-
|
|
77
|
+
10753,
|
|
78
78
|
"- Type text: Shows problems whose message, file path, or code contains that text."
|
|
79
79
|
)));
|
|
80
80
|
lines.push(( localize(
|
|
81
|
-
|
|
81
|
+
10754,
|
|
82
82
|
"- !text (exclude): Hides problems containing the text, showing all others."
|
|
83
83
|
)));
|
|
84
84
|
lines.push(( localize(
|
|
85
|
-
|
|
85
|
+
10755,
|
|
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(10756, "Severity and Scope Filtering:")));
|
|
90
90
|
lines.push(( localize(
|
|
91
|
-
|
|
91
|
+
10757,
|
|
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(10758, "- Errors button: Toggle to show or hide error problems.")));
|
|
95
|
+
lines.push(( localize(10759, "- Warnings button: Toggle to show or hide warning problems.")));
|
|
96
|
+
lines.push(( localize(10760, "- Info button: Toggle to show or hide informational problems.")));
|
|
97
97
|
lines.push(( localize(
|
|
98
|
-
|
|
98
|
+
10761,
|
|
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(10762, "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(10763, "Keyboard Navigation Summary:")));
|
|
104
|
+
lines.push(( localize(10764, "- Down Arrow: Move focus from filter into the problems list.")));
|
|
105
|
+
lines.push(( localize(10765, "- Tab: Move to severity and scope toggle buttons.")));
|
|
106
|
+
lines.push(( localize(10766, "- Enter (on a problem): Navigate to that problem in the editor.")));
|
|
107
107
|
lines.push(( localize(
|
|
108
|
-
|
|
108
|
+
10767,
|
|
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
|
+
10768,
|
|
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(10769, "- Escape: Clear the filter and return to showing all problems.")));
|
|
118
118
|
lines.push("");
|
|
119
119
|
lines.push(( localize(
|
|
120
|
-
|
|
120
|
+
10770,
|
|
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(10771, "These settings affect the Problems panel.")));
|
|
125
125
|
lines.push(( localize(
|
|
126
|
-
|
|
126
|
+
10772,
|
|
127
127
|
"- `accessibility.verbosity.find`: Controls whether the filter input announces the Accessibility Help hint."
|
|
128
128
|
)));
|
|
129
129
|
lines.push(( localize(
|
|
130
|
-
|
|
130
|
+
10773,
|
|
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(10774, "- `problems.defaultViewMode`: Show problems as a table or tree.")));
|
|
134
|
+
lines.push(( localize(10775, "- `problems.sortOrder`: Sort problems by severity or position.")));
|
|
135
135
|
lines.push(( localize(
|
|
136
|
-
|
|
136
|
+
10776,
|
|
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(10777, "Closing:")));
|
|
141
141
|
lines.push(( localize(
|
|
142
|
-
|
|
142
|
+
10778,
|
|
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(10779, "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(10780, "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
|
+
10781,
|
|
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(10782, "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(10783, "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(10784, "1 problem in this file")) : ( localize(10785, "{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
|
+
10786,
|
|
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(10787, "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(10788, "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(10789, "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(10790, "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(10791, "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
|
+
10792,
|
|
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
|
+
10793,
|
|
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(10794, "Show message in single line")) : ( localize(10795, "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(10796, "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(10797, "Showing {0} problems", total)));
|
|
642
642
|
} else {
|
|
643
|
-
this.setAriaLabel(( localize(
|
|
643
|
+
this.setAriaLabel(( localize(10798, "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(10799, "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(10800, "Toggle Problems (Errors, Warnings, Infos)"));
|
|
9
9
|
}
|
|
10
10
|
static {
|
|
11
|
-
this.MARKERS_PANEL_SHOW_LABEL = ( localize2(
|
|
11
|
+
this.MARKERS_PANEL_SHOW_LABEL = ( localize2(10801, "Focus Problems (Errors, Warnings, Infos)"));
|
|
12
12
|
}
|
|
13
13
|
static {
|
|
14
|
-
this.PROBLEMS_PANEL_CONFIGURATION_TITLE = ( localize(
|
|
14
|
+
this.PROBLEMS_PANEL_CONFIGURATION_TITLE = ( localize(10802, "Problems View"));
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.PROBLEMS_PANEL_CONFIGURATION_AUTO_REVEAL = ( localize(
|
|
18
|
-
|
|
18
|
+
10803,
|
|
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(10804, "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(10805, "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(10806, "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(10807, "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(10808, "Navigate problems ordered by position"));
|
|
36
36
|
}
|
|
37
37
|
static {
|
|
38
|
-
this.MARKERS_PANEL_TITLE_PROBLEMS = ( localize2(
|
|
38
|
+
this.MARKERS_PANEL_TITLE_PROBLEMS = ( localize2(10809, "Problems"));
|
|
39
39
|
}
|
|
40
40
|
static {
|
|
41
|
-
this.MARKERS_PANEL_NO_PROBLEMS_BUILT = ( localize(
|
|
41
|
+
this.MARKERS_PANEL_NO_PROBLEMS_BUILT = ( localize(10810, "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(10811, "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(10812, "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(10813, "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(10814, "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(10815, "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(10816, "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(10817, "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(10818, "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(10819, "Filter Problems"));
|
|
69
69
|
}
|
|
70
70
|
static {
|
|
71
|
-
this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = ( localize(
|
|
71
|
+
this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = ( localize(10820, "Show fixes"));
|
|
72
72
|
}
|
|
73
73
|
static {
|
|
74
|
-
this.MARKERS_PANEL_FILTER_ARIA_LABEL = ( localize(
|
|
74
|
+
this.MARKERS_PANEL_FILTER_ARIA_LABEL = ( localize(10821, "Filter Problems"));
|
|
75
75
|
}
|
|
76
76
|
static {
|
|
77
|
-
this.MARKERS_PANEL_FILTER_PLACEHOLDER = ( localize(
|
|
77
|
+
this.MARKERS_PANEL_FILTER_PLACEHOLDER = ( localize(10822, "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(10823, "errors"));
|
|
81
81
|
}
|
|
82
82
|
static {
|
|
83
|
-
this.MARKERS_PANEL_FILTER_WARNINGS = ( localize(
|
|
83
|
+
this.MARKERS_PANEL_FILTER_WARNINGS = ( localize(10824, "warnings"));
|
|
84
84
|
}
|
|
85
85
|
static {
|
|
86
|
-
this.MARKERS_PANEL_FILTER_INFOS = ( localize(
|
|
86
|
+
this.MARKERS_PANEL_FILTER_INFOS = ( localize(10825, "infos"));
|
|
87
87
|
}
|
|
88
88
|
static {
|
|
89
|
-
this.MARKERS_PANEL_SINGLE_ERROR_LABEL = ( localize(
|
|
89
|
+
this.MARKERS_PANEL_SINGLE_ERROR_LABEL = ( localize(10826, "1 Error"));
|
|
90
90
|
}
|
|
91
91
|
static {
|
|
92
92
|
this.MARKERS_PANEL_MULTIPLE_ERRORS_LABEL = noOfErrors => {
|
|
93
|
-
return localize(
|
|
93
|
+
return localize(10827, "{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(10828, "1 Warning"));
|
|
98
98
|
}
|
|
99
99
|
static {
|
|
100
100
|
this.MARKERS_PANEL_MULTIPLE_WARNINGS_LABEL = noOfWarnings => {
|
|
101
|
-
return localize(
|
|
101
|
+
return localize(10829, "{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(10830, "1 Info"));
|
|
106
106
|
}
|
|
107
107
|
static {
|
|
108
108
|
this.MARKERS_PANEL_MULTIPLE_INFOS_LABEL = noOfInfos => {
|
|
109
|
-
return localize(
|
|
109
|
+
return localize(10831, "{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(10832, "1 Unknown"));
|
|
114
114
|
}
|
|
115
115
|
static {
|
|
116
116
|
this.MARKERS_PANEL_MULTIPLE_UNKNOWNS_LABEL = noOfUnknowns => {
|
|
117
|
-
return localize(
|
|
117
|
+
return localize(10833, "{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(10834, "[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
|
+
10835,
|
|
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
|
+
10836,
|
|
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
|
+
10837,
|
|
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
|
+
10838,
|
|
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
|
+
10839,
|
|
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
|
+
10840,
|
|
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
|
+
10841,
|
|
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
|
+
10842,
|
|
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
|
+
10843,
|
|
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
|
+
10844,
|
|
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
|
+
10845,
|
|
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(10846, "Show Errors and Warnings"));
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
|