@codingame/monaco-vscode-markers-service-override 26.2.1 → 27.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +2 -2
- package/vscode/src/vs/workbench/contrib/markers/browser/markers.contribution.js +45 -42
- package/vscode/src/vs/workbench/contrib/markers/browser/markersAccessibilityHelp.d.ts +10 -0
- package/vscode/src/vs/workbench/contrib/markers/browser/markersAccessibilityHelp.js +154 -0
- 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/markersModel.js +11 -8
- package/vscode/src/vs/workbench/contrib/markers/browser/markersTable.js +15 -10
- package/vscode/src/vs/workbench/contrib/markers/browser/markersTreeViewer.js +5 -5
- package/vscode/src/vs/workbench/contrib/markers/browser/markersView.js +5 -5
- 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": "27.0.0",
|
|
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": "27.0.0"
|
|
19
19
|
},
|
|
20
20
|
"main": "index.js",
|
|
21
21
|
"module": "index.js",
|
|
@@ -34,6 +34,8 @@ import { viewFilterSubmenu } from '@codingame/monaco-vscode-api/vscode/vs/workbe
|
|
|
34
34
|
import { IConfigurationService } from '@codingame/monaco-vscode-api/vscode/vs/platform/configuration/common/configuration.service';
|
|
35
35
|
import { problemsConfigurationNodeBase } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/configuration';
|
|
36
36
|
import { MarkerChatContextContribution } from './markersChatContext.js';
|
|
37
|
+
import { AccessibleViewRegistry } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleViewRegistry';
|
|
38
|
+
import { ProblemsAccessibilityHelp } from './markersAccessibilityHelp.js';
|
|
37
39
|
|
|
38
40
|
KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
39
41
|
id: Markers.MARKER_OPEN_ACTION_ID,
|
|
@@ -115,7 +117,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
|
115
117
|
}
|
|
116
118
|
}
|
|
117
119
|
});
|
|
118
|
-
const markersViewIcon = registerIcon("markers-view-icon", Codicon.warning, ( localize(
|
|
120
|
+
const markersViewIcon = registerIcon("markers-view-icon", Codicon.warning, ( localize(9765, "View icon of the markers view.")));
|
|
119
121
|
const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).registerViewContainer({
|
|
120
122
|
id: Markers.MARKERS_CONTAINER_ID,
|
|
121
123
|
title: Messages.MARKERS_PANEL_TITLE_PROBLEMS,
|
|
@@ -138,7 +140,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
|
|
|
138
140
|
ctorDescriptor: ( new SyncDescriptor(MarkersView)),
|
|
139
141
|
openCommandActionDescriptor: {
|
|
140
142
|
id: "workbench.actions.view.problems",
|
|
141
|
-
mnemonicTitle: ( localize(
|
|
143
|
+
mnemonicTitle: ( localize(9766, "&&Problems")),
|
|
142
144
|
keybindings: {
|
|
143
145
|
primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyM
|
|
144
146
|
},
|
|
@@ -150,9 +152,9 @@ registerAction2(class extends ViewAction {
|
|
|
150
152
|
constructor() {
|
|
151
153
|
super({
|
|
152
154
|
id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTree`,
|
|
153
|
-
title: ( localize(
|
|
155
|
+
title: ( localize(9767, "View as Tree")),
|
|
154
156
|
metadata: {
|
|
155
|
-
description: ( localize2(
|
|
157
|
+
description: ( localize2(9768, "Show the problems view as a tree."))
|
|
156
158
|
},
|
|
157
159
|
menu: {
|
|
158
160
|
id: MenuId.ViewTitle,
|
|
@@ -172,9 +174,9 @@ registerAction2(class extends ViewAction {
|
|
|
172
174
|
constructor() {
|
|
173
175
|
super({
|
|
174
176
|
id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTable`,
|
|
175
|
-
title: ( localize(
|
|
177
|
+
title: ( localize(9769, "View as Table")),
|
|
176
178
|
metadata: {
|
|
177
|
-
description: ( localize2(
|
|
179
|
+
description: ( localize2(9770, "Show the problems view as a table."))
|
|
178
180
|
},
|
|
179
181
|
menu: {
|
|
180
182
|
id: MenuId.ViewTitle,
|
|
@@ -194,11 +196,11 @@ registerAction2(class extends ViewAction {
|
|
|
194
196
|
constructor() {
|
|
195
197
|
super({
|
|
196
198
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleErrors`,
|
|
197
|
-
title: ( localize(
|
|
199
|
+
title: ( localize(9771, "Show Errors")),
|
|
198
200
|
metadata: {
|
|
199
|
-
description: ( localize2(
|
|
201
|
+
description: ( localize2(9772, "Show or hide errors in the problems view."))
|
|
200
202
|
},
|
|
201
|
-
category: ( localize(
|
|
203
|
+
category: ( localize(9773, "Problems")),
|
|
202
204
|
toggled: MarkersContextKeys.ShowErrorsFilterContextKey,
|
|
203
205
|
menu: {
|
|
204
206
|
id: viewFilterSubmenu,
|
|
@@ -217,11 +219,11 @@ registerAction2(class extends ViewAction {
|
|
|
217
219
|
constructor() {
|
|
218
220
|
super({
|
|
219
221
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleWarnings`,
|
|
220
|
-
title: ( localize(
|
|
222
|
+
title: ( localize(9774, "Show Warnings")),
|
|
221
223
|
metadata: {
|
|
222
|
-
description: ( localize2(
|
|
224
|
+
description: ( localize2(9775, "Show or hide warnings in the problems view."))
|
|
223
225
|
},
|
|
224
|
-
category: ( localize(
|
|
226
|
+
category: ( localize(9773, "Problems")),
|
|
225
227
|
toggled: MarkersContextKeys.ShowWarningsFilterContextKey,
|
|
226
228
|
menu: {
|
|
227
229
|
id: viewFilterSubmenu,
|
|
@@ -240,11 +242,11 @@ registerAction2(class extends ViewAction {
|
|
|
240
242
|
constructor() {
|
|
241
243
|
super({
|
|
242
244
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleInfos`,
|
|
243
|
-
title: ( localize(
|
|
244
|
-
category: ( localize(
|
|
245
|
+
title: ( localize(9776, "Show Infos")),
|
|
246
|
+
category: ( localize(9773, "Problems")),
|
|
245
247
|
toggled: MarkersContextKeys.ShowInfoFilterContextKey,
|
|
246
248
|
metadata: {
|
|
247
|
-
description: ( localize2(
|
|
249
|
+
description: ( localize2(9777, "Show or hide infos in the problems view."))
|
|
248
250
|
},
|
|
249
251
|
menu: {
|
|
250
252
|
id: viewFilterSubmenu,
|
|
@@ -263,14 +265,14 @@ registerAction2(class extends ViewAction {
|
|
|
263
265
|
constructor() {
|
|
264
266
|
super({
|
|
265
267
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleActiveFile`,
|
|
266
|
-
title: ( localize(
|
|
268
|
+
title: ( localize(9778, "Show Active File Only")),
|
|
267
269
|
metadata: {
|
|
268
270
|
description: ( localize2(
|
|
269
|
-
|
|
271
|
+
9779,
|
|
270
272
|
"Show or hide problems (errors, warnings, info) only from the active file in the problems view."
|
|
271
273
|
))
|
|
272
274
|
},
|
|
273
|
-
category: ( localize(
|
|
275
|
+
category: ( localize(9773, "Problems")),
|
|
274
276
|
toggled: MarkersContextKeys.ShowActiveFileFilterContextKey,
|
|
275
277
|
menu: {
|
|
276
278
|
id: viewFilterSubmenu,
|
|
@@ -289,11 +291,11 @@ registerAction2(class extends ViewAction {
|
|
|
289
291
|
constructor() {
|
|
290
292
|
super({
|
|
291
293
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleExcludedFiles`,
|
|
292
|
-
title: ( localize(
|
|
294
|
+
title: ( localize(9780, "Show Excluded Files")),
|
|
293
295
|
metadata: {
|
|
294
|
-
description: ( localize2(
|
|
296
|
+
description: ( localize2(9781, "Show or hide excluded files in the problems view."))
|
|
295
297
|
},
|
|
296
|
-
category: ( localize(
|
|
298
|
+
category: ( localize(9773, "Problems")),
|
|
297
299
|
toggled: ( MarkersContextKeys.ShowExcludedFilesFilterContextKey.negate()),
|
|
298
300
|
menu: {
|
|
299
301
|
id: viewFilterSubmenu,
|
|
@@ -345,7 +347,7 @@ registerAction2(class extends MarkersViewAction {
|
|
|
345
347
|
const when = ( ContextKeyExpr.and(( FocusedViewContext.isEqualTo(Markers.MARKERS_VIEW_ID)), MarkersContextKeys.MarkersTreeVisibilityContextKey, ( MarkersContextKeys.RelatedInformationFocusContextKey.toNegated())));
|
|
346
348
|
super({
|
|
347
349
|
id: Markers.MARKER_COPY_ACTION_ID,
|
|
348
|
-
title: ( localize2(
|
|
350
|
+
title: ( localize2(9782, "Copy")),
|
|
349
351
|
menu: {
|
|
350
352
|
id: MenuId.ProblemsPanelContext,
|
|
351
353
|
when,
|
|
@@ -371,7 +373,7 @@ registerAction2(class extends MarkersViewAction {
|
|
|
371
373
|
constructor() {
|
|
372
374
|
super({
|
|
373
375
|
id: Markers.MARKER_COPY_MESSAGE_ACTION_ID,
|
|
374
|
-
title: ( localize2(
|
|
376
|
+
title: ( localize2(9783, "Copy Message")),
|
|
375
377
|
menu: {
|
|
376
378
|
id: MenuId.ProblemsPanelContext,
|
|
377
379
|
when: MarkersContextKeys.MarkerFocusContextKey,
|
|
@@ -392,7 +394,7 @@ registerAction2(class extends ViewAction {
|
|
|
392
394
|
constructor() {
|
|
393
395
|
super({
|
|
394
396
|
id: Markers.RELATED_INFORMATION_COPY_MESSAGE_ACTION_ID,
|
|
395
|
-
title: ( localize2(
|
|
397
|
+
title: ( localize2(9783, "Copy Message")),
|
|
396
398
|
menu: {
|
|
397
399
|
id: MenuId.ProblemsPanelContext,
|
|
398
400
|
when: MarkersContextKeys.RelatedInformationFocusContextKey,
|
|
@@ -413,7 +415,7 @@ registerAction2(class extends ViewAction {
|
|
|
413
415
|
constructor() {
|
|
414
416
|
super({
|
|
415
417
|
id: Markers.FOCUS_PROBLEMS_FROM_FILTER,
|
|
416
|
-
title: ( localize(
|
|
418
|
+
title: ( localize(9784, "Focus problems view")),
|
|
417
419
|
keybinding: {
|
|
418
420
|
when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
|
|
419
421
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -430,7 +432,7 @@ registerAction2(class extends ViewAction {
|
|
|
430
432
|
constructor() {
|
|
431
433
|
super({
|
|
432
434
|
id: Markers.MARKERS_VIEW_FOCUS_FILTER,
|
|
433
|
-
title: ( localize(
|
|
435
|
+
title: ( localize(9785, "Focus problems filter")),
|
|
434
436
|
keybinding: {
|
|
435
437
|
when: ( FocusedViewContext.isEqualTo(Markers.MARKERS_VIEW_ID)),
|
|
436
438
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -447,8 +449,8 @@ registerAction2(class extends ViewAction {
|
|
|
447
449
|
constructor() {
|
|
448
450
|
super({
|
|
449
451
|
id: Markers.MARKERS_VIEW_SHOW_MULTILINE_MESSAGE,
|
|
450
|
-
title: ( localize2(
|
|
451
|
-
category: ( localize(
|
|
452
|
+
title: ( localize2(9786, "Show message in multiple lines")),
|
|
453
|
+
category: ( localize(9773, "Problems")),
|
|
452
454
|
menu: {
|
|
453
455
|
id: MenuId.CommandPalette,
|
|
454
456
|
when: ( ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID)))
|
|
@@ -464,8 +466,8 @@ registerAction2(class extends ViewAction {
|
|
|
464
466
|
constructor() {
|
|
465
467
|
super({
|
|
466
468
|
id: Markers.MARKERS_VIEW_SHOW_SINGLELINE_MESSAGE,
|
|
467
|
-
title: ( localize2(
|
|
468
|
-
category: ( localize(
|
|
469
|
+
title: ( localize2(9787, "Show message in single line")),
|
|
470
|
+
category: ( localize(9773, "Problems")),
|
|
469
471
|
menu: {
|
|
470
472
|
id: MenuId.CommandPalette,
|
|
471
473
|
when: ( ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID)))
|
|
@@ -481,8 +483,8 @@ registerAction2(class extends ViewAction {
|
|
|
481
483
|
constructor() {
|
|
482
484
|
super({
|
|
483
485
|
id: Markers.MARKERS_VIEW_CLEAR_FILTER_TEXT,
|
|
484
|
-
title: ( localize(
|
|
485
|
-
category: ( localize(
|
|
486
|
+
title: ( localize(9788, "Clear filters text")),
|
|
487
|
+
category: ( localize(9773, "Problems")),
|
|
486
488
|
keybinding: {
|
|
487
489
|
when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
|
|
488
490
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -499,7 +501,7 @@ registerAction2(class extends ViewAction {
|
|
|
499
501
|
constructor() {
|
|
500
502
|
super({
|
|
501
503
|
id: `workbench.actions.treeView.${Markers.MARKERS_VIEW_ID}.collapseAll`,
|
|
502
|
-
title: ( localize(
|
|
504
|
+
title: ( localize(9789, "Collapse All")),
|
|
503
505
|
menu: {
|
|
504
506
|
id: MenuId.ViewTitle,
|
|
505
507
|
when: ( ContextKeyExpr.and(( ContextKeyExpr.equals("view", Markers.MARKERS_VIEW_ID)), ( MarkersContextKeys.MarkersViewModeContextKey.isEqualTo(MarkersViewMode.Tree)))),
|
|
@@ -574,7 +576,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
574
576
|
const markersStatistics = this.markerService.getStatistics();
|
|
575
577
|
const tooltip = this.getMarkersTooltip(markersStatistics);
|
|
576
578
|
return {
|
|
577
|
-
name: ( localize(
|
|
579
|
+
name: ( localize(9790, "Problems")),
|
|
578
580
|
text: this.getMarkersText(markersStatistics),
|
|
579
581
|
ariaLabel: tooltip,
|
|
580
582
|
tooltip,
|
|
@@ -585,9 +587,9 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
585
587
|
this.statusbarService.updateEntryVisibility("status.problemsVisibility", true);
|
|
586
588
|
const openSettingsCommand = "workbench.action.openSettings";
|
|
587
589
|
const configureSettingsLabel = "@id:problems.visibility";
|
|
588
|
-
const tooltip = ( localize(
|
|
590
|
+
const tooltip = ( localize(9791, "Problems are turned off. Click to open settings."));
|
|
589
591
|
return {
|
|
590
|
-
name: ( localize(
|
|
592
|
+
name: ( localize(9792, "Problems Visibility")),
|
|
591
593
|
text: "$(whole-word)",
|
|
592
594
|
ariaLabel: tooltip,
|
|
593
595
|
tooltip,
|
|
@@ -600,9 +602,9 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
600
602
|
};
|
|
601
603
|
}
|
|
602
604
|
getMarkersTooltip(stats) {
|
|
603
|
-
const errorTitle = n => ( localize(
|
|
604
|
-
const warningTitle = n => ( localize(
|
|
605
|
-
const infoTitle = n => ( localize(
|
|
605
|
+
const errorTitle = n => ( localize(9793, "Errors: {0}", n));
|
|
606
|
+
const warningTitle = n => ( localize(9794, "Warnings: {0}", n));
|
|
607
|
+
const infoTitle = n => ( localize(9795, "Infos: {0}", n));
|
|
606
608
|
const titles = [];
|
|
607
609
|
if (stats.errors > 0) {
|
|
608
610
|
titles.push(errorTitle(stats.errors));
|
|
@@ -614,7 +616,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
614
616
|
titles.push(infoTitle(stats.infos));
|
|
615
617
|
}
|
|
616
618
|
if (titles.length === 0) {
|
|
617
|
-
return localize(
|
|
619
|
+
return localize(9796, "No Problems");
|
|
618
620
|
}
|
|
619
621
|
return titles.join(", ");
|
|
620
622
|
}
|
|
@@ -628,7 +630,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
628
630
|
return problemsText.join(" ");
|
|
629
631
|
}
|
|
630
632
|
packNumber(n) {
|
|
631
|
-
const manyProblems = ( localize(
|
|
633
|
+
const manyProblems = ( localize(9797, "10K+"));
|
|
632
634
|
return n > 9999 ? manyProblems : n > 999 ? ( n.toString()).charAt(0) + "K" : ( n.toString());
|
|
633
635
|
}
|
|
634
636
|
};
|
|
@@ -656,7 +658,7 @@ let ActivityUpdater = class ActivityUpdater extends Disposable {
|
|
|
656
658
|
} = this.markerService.getStatistics();
|
|
657
659
|
const total = errors + warnings + infos;
|
|
658
660
|
if (total > 0) {
|
|
659
|
-
const message = ( localize(
|
|
661
|
+
const message = ( localize(9798, "Total {0} Problems", total));
|
|
660
662
|
this.activity.value = this.activityService.showViewActivity(Markers.MARKERS_VIEW_ID, {
|
|
661
663
|
badge: ( new NumberBadge(total, () => message))
|
|
662
664
|
});
|
|
@@ -667,3 +669,4 @@ let ActivityUpdater = class ActivityUpdater extends Disposable {
|
|
|
667
669
|
};
|
|
668
670
|
ActivityUpdater = ( __decorate([( __param(0, IActivityService)), ( __param(1, IMarkerService))], ActivityUpdater));
|
|
669
671
|
workbenchRegistry.registerWorkbenchContribution(ActivityUpdater, LifecyclePhase.Restored);
|
|
672
|
+
AccessibleViewRegistry.register(( new ProblemsAccessibilityHelp()));
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { AccessibleViewType, AccessibleContentProvider } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView";
|
|
2
|
+
import { IAccessibleViewImplementation } from "@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleViewRegistry";
|
|
3
|
+
import { ServicesAccessor } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
|
|
4
|
+
export declare class ProblemsAccessibilityHelp implements IAccessibleViewImplementation {
|
|
5
|
+
readonly type = AccessibleViewType.Help;
|
|
6
|
+
readonly priority = 105;
|
|
7
|
+
readonly name = "problemsFilter";
|
|
8
|
+
readonly when: import("@codingame/monaco-vscode-api/vscode/vs/platform/contextkey/common/contextkey").RawContextKey<boolean>;
|
|
9
|
+
getProvider(accessor: ServicesAccessor): AccessibleContentProvider;
|
|
10
|
+
}
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
|
|
2
|
+
import { Disposable } from '@codingame/monaco-vscode-api/vscode/vs/base/common/lifecycle';
|
|
3
|
+
import { AccessibleViewType, AccessibleViewProviderId } from '@codingame/monaco-vscode-api/vscode/vs/platform/accessibility/browser/accessibleView';
|
|
4
|
+
import { IKeybindingService } from '@codingame/monaco-vscode-api/vscode/vs/platform/keybinding/common/keybinding.service';
|
|
5
|
+
import { localize } from '@codingame/monaco-vscode-api/vscode/vs/nls';
|
|
6
|
+
import { AccessibilityVerbositySettingId } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/accessibility/browser/accessibilityConfiguration';
|
|
7
|
+
import { MarkersContextKeys } from '@codingame/monaco-vscode-api/vscode/vs/workbench/contrib/markers/common/markers';
|
|
8
|
+
|
|
9
|
+
class ProblemsAccessibilityHelp {
|
|
10
|
+
constructor() {
|
|
11
|
+
this.type = AccessibleViewType.Help;
|
|
12
|
+
this.priority = 105;
|
|
13
|
+
this.name = "problemsFilter";
|
|
14
|
+
this.when = MarkersContextKeys.MarkerViewFilterFocusContextKey;
|
|
15
|
+
}
|
|
16
|
+
getProvider(accessor) {
|
|
17
|
+
return ( new ProblemsAccessibilityHelpProvider(accessor.get(IKeybindingService)));
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
class ProblemsAccessibilityHelpProvider extends Disposable {
|
|
21
|
+
constructor(_keybindingService) {
|
|
22
|
+
super();
|
|
23
|
+
this._keybindingService = _keybindingService;
|
|
24
|
+
this.id = AccessibleViewProviderId.ProblemsFilterHelp;
|
|
25
|
+
this.verbositySettingKey = AccessibilityVerbositySettingId.Find;
|
|
26
|
+
this.options = {
|
|
27
|
+
type: AccessibleViewType.Help
|
|
28
|
+
};
|
|
29
|
+
}
|
|
30
|
+
provideContent() {
|
|
31
|
+
const lines = [];
|
|
32
|
+
lines.push(( localize(9799, "Accessibility Help: Problems Panel Filter")));
|
|
33
|
+
lines.push(( localize(
|
|
34
|
+
9800,
|
|
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
|
+
)));
|
|
37
|
+
lines.push("");
|
|
38
|
+
lines.push(( localize(9801, "Current Filter Status:")));
|
|
39
|
+
lines.push(( localize(9802, "You are filtering the problems.")));
|
|
40
|
+
lines.push("");
|
|
41
|
+
lines.push(( localize(9803, "Inside the Filter Input (What It Does):")));
|
|
42
|
+
lines.push(( localize(
|
|
43
|
+
9804,
|
|
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
|
+
)));
|
|
46
|
+
lines.push("");
|
|
47
|
+
lines.push(( localize(9805, "What Happens When You Filter:")));
|
|
48
|
+
lines.push(( localize(
|
|
49
|
+
9806,
|
|
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
|
+
)));
|
|
52
|
+
lines.push(( localize(
|
|
53
|
+
9807,
|
|
54
|
+
"The panel searches problem messages, file names, and error codes, so you can filter by any of these details."
|
|
55
|
+
)));
|
|
56
|
+
lines.push("");
|
|
57
|
+
lines.push(( localize(9808, "Focus Behavior (Important):")));
|
|
58
|
+
lines.push(( localize(
|
|
59
|
+
9809,
|
|
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
|
+
)));
|
|
62
|
+
lines.push(( localize(
|
|
63
|
+
9810,
|
|
64
|
+
"If you want to navigate the filtered problems, press Down Arrow to move focus from the filter into the problems list below."
|
|
65
|
+
)));
|
|
66
|
+
lines.push(( localize(
|
|
67
|
+
9811,
|
|
68
|
+
"When a problem is focused, press Enter to navigate to that problem in the editor."
|
|
69
|
+
)));
|
|
70
|
+
lines.push(( localize(
|
|
71
|
+
9812,
|
|
72
|
+
"If you want to clear the filter and see all problems, press Escape or delete all filter text."
|
|
73
|
+
)));
|
|
74
|
+
lines.push("");
|
|
75
|
+
lines.push(( localize(9813, "Filter Syntax and Patterns:")));
|
|
76
|
+
lines.push(( localize(
|
|
77
|
+
9814,
|
|
78
|
+
"- Type text: Shows problems whose message, file path, or code contains that text."
|
|
79
|
+
)));
|
|
80
|
+
lines.push(( localize(
|
|
81
|
+
9815,
|
|
82
|
+
"- !text (exclude): Hides problems containing the text, showing all others."
|
|
83
|
+
)));
|
|
84
|
+
lines.push(( localize(
|
|
85
|
+
9816,
|
|
86
|
+
"Example: typing \"node_modules\" hides all problems in node_modules."
|
|
87
|
+
)));
|
|
88
|
+
lines.push("");
|
|
89
|
+
lines.push(( localize(9817, "Severity and Scope Filtering:")));
|
|
90
|
+
lines.push(( localize(
|
|
91
|
+
9818,
|
|
92
|
+
"Above the filter input are toggle buttons for severity levels and scope:"
|
|
93
|
+
)));
|
|
94
|
+
lines.push(( localize(9819, "- Errors button: Toggle to show or hide error problems.")));
|
|
95
|
+
lines.push(( localize(9820, "- Warnings button: Toggle to show or hide warning problems.")));
|
|
96
|
+
lines.push(( localize(9821, "- Info button: Toggle to show or hide informational problems.")));
|
|
97
|
+
lines.push(( localize(
|
|
98
|
+
9822,
|
|
99
|
+
"- Active File Only button: When enabled, shows only problems in the currently open file."
|
|
100
|
+
)));
|
|
101
|
+
lines.push(( localize(9823, "These buttons work together with your text filter.")));
|
|
102
|
+
lines.push("");
|
|
103
|
+
lines.push(( localize(9824, "Keyboard Navigation Summary:")));
|
|
104
|
+
lines.push(( localize(9825, "- Down Arrow: Move focus from filter into the problems list.")));
|
|
105
|
+
lines.push(( localize(9826, "- Tab: Move to severity and scope toggle buttons.")));
|
|
106
|
+
lines.push(( localize(9827, "- Enter (on a problem): Navigate to that problem in the editor.")));
|
|
107
|
+
lines.push(( localize(
|
|
108
|
+
9828,
|
|
109
|
+
"- {0}: Move to the next problem globally from anywhere in the editor.",
|
|
110
|
+
this._describeCommand("editor.action.marker.nextInFiles") || "F8"
|
|
111
|
+
)));
|
|
112
|
+
lines.push(( localize(
|
|
113
|
+
9829,
|
|
114
|
+
"- {0}: Move to the previous problem globally from anywhere in the editor.",
|
|
115
|
+
this._describeCommand("editor.action.marker.prevInFiles") || "Shift+F8"
|
|
116
|
+
)));
|
|
117
|
+
lines.push(( localize(9830, "- Escape: Clear the filter and return to showing all problems.")));
|
|
118
|
+
lines.push("");
|
|
119
|
+
lines.push(( localize(
|
|
120
|
+
9831,
|
|
121
|
+
"Settings You Can Adjust ({0} opens Settings):",
|
|
122
|
+
this._describeCommand("workbench.action.openSettings") || "Ctrl+,"
|
|
123
|
+
)));
|
|
124
|
+
lines.push(( localize(9832, "These settings affect the Problems panel.")));
|
|
125
|
+
lines.push(( localize(
|
|
126
|
+
9833,
|
|
127
|
+
"- `accessibility.verbosity.find`: Controls whether the filter input announces the Accessibility Help hint."
|
|
128
|
+
)));
|
|
129
|
+
lines.push(( localize(
|
|
130
|
+
9834,
|
|
131
|
+
"- `problems.autoReveal`: Automatically reveal problems in the editor when you select them."
|
|
132
|
+
)));
|
|
133
|
+
lines.push(( localize(9835, "- `problems.defaultViewMode`: Show problems as a table or tree.")));
|
|
134
|
+
lines.push(( localize(9836, "- `problems.sortOrder`: Sort problems by severity or position.")));
|
|
135
|
+
lines.push(( localize(
|
|
136
|
+
9837,
|
|
137
|
+
"- `problems.showCurrentInStatus`: Show the current problem in the status bar."
|
|
138
|
+
)));
|
|
139
|
+
lines.push("");
|
|
140
|
+
lines.push(( localize(9838, "Closing:")));
|
|
141
|
+
lines.push(( localize(
|
|
142
|
+
9839,
|
|
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
|
+
)));
|
|
145
|
+
return lines.join("\n");
|
|
146
|
+
}
|
|
147
|
+
_describeCommand(commandId) {
|
|
148
|
+
const kb = this._keybindingService.lookupKeybinding(commandId);
|
|
149
|
+
return kb?.getAriaLabel() ?? undefined;
|
|
150
|
+
}
|
|
151
|
+
onClose() {}
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
export { ProblemsAccessibilityHelp };
|
|
@@ -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(9840, "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(9841, "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
|
+
9842,
|
|
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(9843, "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(9844, "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(9845, "1 problem in this file")) : ( localize(9846, "{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
|
+
9847,
|
|
102
102
|
"Show Errors & Warnings on files and folder. Overwritten by {0} when it is off.",
|
|
103
103
|
"`#problems.visibility#`"
|
|
104
104
|
)),
|
|
@@ -166,18 +166,21 @@ class MarkersModel {
|
|
|
166
166
|
} else {
|
|
167
167
|
change.updated.add(resourceMarkers);
|
|
168
168
|
}
|
|
169
|
-
const
|
|
170
|
-
const markers =
|
|
171
|
-
|
|
172
|
-
const
|
|
173
|
-
|
|
174
|
-
|
|
169
|
+
const processedMarkerKeys = ( new Set());
|
|
170
|
+
const markers = [];
|
|
171
|
+
for (const rawMarker of rawMarkers) {
|
|
172
|
+
const markerKey = IMarkerData.makeKey(rawMarker) + ( rawMarker.resource.toString());
|
|
173
|
+
if (( processedMarkerKeys.has(markerKey))) {
|
|
174
|
+
continue;
|
|
175
|
+
}
|
|
176
|
+
processedMarkerKeys.add(markerKey);
|
|
177
|
+
const markerId = this.id(resourceMarkers.id, markerKey, 0, ( rawMarker.resource.toString()));
|
|
175
178
|
let relatedInformation = undefined;
|
|
176
179
|
if (rawMarker.relatedInformation) {
|
|
177
180
|
relatedInformation = ( rawMarker.relatedInformation.map((r, index) => ( new RelatedInformation(this.id(markerId, ( r.resource.toString()), r.startLineNumber, r.startColumn, r.endLineNumber, r.endColumn, index), rawMarker, r))));
|
|
178
181
|
}
|
|
179
|
-
|
|
180
|
-
}
|
|
182
|
+
markers.push(( new Marker(markerId, rawMarker, relatedInformation)));
|
|
183
|
+
}
|
|
181
184
|
this._total -= resourceMarkers.total;
|
|
182
185
|
resourceMarkers.set(resource, markers);
|
|
183
186
|
this._total += resourceMarkers.total;
|
|
@@ -47,10 +47,12 @@ let MarkerSeverityColumnRenderer = class MarkerSeverityColumnRenderer {
|
|
|
47
47
|
}));
|
|
48
48
|
return {
|
|
49
49
|
actionBar,
|
|
50
|
-
icon
|
|
50
|
+
icon,
|
|
51
|
+
elementDisposables: ( new DisposableStore())
|
|
51
52
|
};
|
|
52
53
|
}
|
|
53
54
|
renderElement(element, index, templateData) {
|
|
55
|
+
templateData.elementDisposables.clear();
|
|
54
56
|
const toggleQuickFix = enabled => {
|
|
55
57
|
if (!isUndefinedOrNull(enabled)) {
|
|
56
58
|
const container = findParentWithClass(templateData.icon, "monaco-table-td");
|
|
@@ -68,20 +70,23 @@ let MarkerSeverityColumnRenderer = class MarkerSeverityColumnRenderer {
|
|
|
68
70
|
label: false
|
|
69
71
|
});
|
|
70
72
|
toggleQuickFix(viewModel.quickFixAction.enabled);
|
|
71
|
-
quickFixAction.onDidChange((
|
|
73
|
+
templateData.elementDisposables.add(quickFixAction.onDidChange((
|
|
72
74
|
{
|
|
73
75
|
enabled
|
|
74
76
|
}
|
|
75
|
-
) => toggleQuickFix(enabled));
|
|
76
|
-
quickFixAction.onShowQuickFixes(() => {
|
|
77
|
+
) => toggleQuickFix(enabled)));
|
|
78
|
+
templateData.elementDisposables.add(quickFixAction.onShowQuickFixes(() => {
|
|
77
79
|
const quickFixActionViewItem = templateData.actionBar.viewItems[0];
|
|
78
80
|
if (quickFixActionViewItem) {
|
|
79
81
|
quickFixActionViewItem.showQuickFixes();
|
|
80
82
|
}
|
|
81
|
-
});
|
|
83
|
+
}));
|
|
82
84
|
}
|
|
83
85
|
}
|
|
84
|
-
disposeTemplate(templateData) {
|
|
86
|
+
disposeTemplate(templateData) {
|
|
87
|
+
templateData.elementDisposables.dispose();
|
|
88
|
+
templateData.actionBar.dispose();
|
|
89
|
+
}
|
|
85
90
|
};
|
|
86
91
|
MarkerSeverityColumnRenderer = MarkerSeverityColumnRenderer_1 = ( __decorate([( __param(1, IInstantiationService))], MarkerSeverityColumnRenderer));
|
|
87
92
|
let MarkerCodeColumnRenderer = class MarkerCodeColumnRenderer {
|
|
@@ -274,7 +279,7 @@ let MarkersTable = class MarkersTable extends Disposable {
|
|
|
274
279
|
return row;
|
|
275
280
|
}
|
|
276
281
|
}, {
|
|
277
|
-
label: ( localize(
|
|
282
|
+
label: ( localize(9848, "Code")),
|
|
278
283
|
tooltip: "",
|
|
279
284
|
weight: 1,
|
|
280
285
|
minimumWidth: 100,
|
|
@@ -284,7 +289,7 @@ let MarkersTable = class MarkersTable extends Disposable {
|
|
|
284
289
|
return row;
|
|
285
290
|
}
|
|
286
291
|
}, {
|
|
287
|
-
label: ( localize(
|
|
292
|
+
label: ( localize(9849, "Message")),
|
|
288
293
|
tooltip: "",
|
|
289
294
|
weight: 4,
|
|
290
295
|
templateId: MarkerMessageColumnRenderer.TEMPLATE_ID,
|
|
@@ -292,7 +297,7 @@ let MarkersTable = class MarkersTable extends Disposable {
|
|
|
292
297
|
return row;
|
|
293
298
|
}
|
|
294
299
|
}, {
|
|
295
|
-
label: ( localize(
|
|
300
|
+
label: ( localize(9850, "File")),
|
|
296
301
|
tooltip: "",
|
|
297
302
|
weight: 2,
|
|
298
303
|
templateId: MarkerFileColumnRenderer.TEMPLATE_ID,
|
|
@@ -300,7 +305,7 @@ let MarkersTable = class MarkersTable extends Disposable {
|
|
|
300
305
|
return row;
|
|
301
306
|
}
|
|
302
307
|
}, {
|
|
303
|
-
label: ( localize(
|
|
308
|
+
label: ( localize(9851, "Source")),
|
|
304
309
|
tooltip: "",
|
|
305
310
|
weight: 1,
|
|
306
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(9852, "Problems View");
|
|
53
53
|
}
|
|
54
54
|
getAriaLabel(element) {
|
|
55
55
|
if (element instanceof ResourceMarkers) {
|
|
@@ -192,9 +192,9 @@ let MarkerRenderer = class MarkerRenderer {
|
|
|
192
192
|
}
|
|
193
193
|
};
|
|
194
194
|
MarkerRenderer = ( __decorate([( __param(1, IHoverService)), ( __param(2, IInstantiationService)), ( __param(3, IOpenerService))], MarkerRenderer));
|
|
195
|
-
const expandedIcon = registerIcon("markers-view-multi-line-expanded", Codicon.chevronUp, ( localize(
|
|
195
|
+
const expandedIcon = registerIcon("markers-view-multi-line-expanded", Codicon.chevronUp, ( localize(9853, "Icon indicating that multiple lines are shown in the markers view.")));
|
|
196
196
|
const collapsedIcon = registerIcon("markers-view-multi-line-collapsed", Codicon.chevronDown, ( localize(
|
|
197
|
-
|
|
197
|
+
9854,
|
|
198
198
|
"Icon indicating that multiple lines are collapsed in the markers view."
|
|
199
199
|
)));
|
|
200
200
|
const toggleMultilineAction = "problems.action.toggleMultiline";
|
|
@@ -300,7 +300,7 @@ class MarkerWidget extends Disposable {
|
|
|
300
300
|
const multiline = viewModel && viewModel.multiline;
|
|
301
301
|
const action = this.disposables.add(( new Action(toggleMultilineAction)));
|
|
302
302
|
action.enabled = !!viewModel && marker.lines.length > 1;
|
|
303
|
-
action.tooltip = multiline ? ( localize(
|
|
303
|
+
action.tooltip = multiline ? ( localize(9855, "Show message in single line")) : ( localize(9856, "Show message in multiple lines"));
|
|
304
304
|
action.class = ThemeIcon.asClassName(multiline ? expandedIcon : collapsedIcon);
|
|
305
305
|
action.run = () => {
|
|
306
306
|
if (viewModel) {
|
|
@@ -659,7 +659,7 @@ let MarkersViewModel = class MarkersViewModel extends Disposable {
|
|
|
659
659
|
this.markersPerResource = ( new Map());
|
|
660
660
|
this.bulkUpdate = false;
|
|
661
661
|
this.hoveredMarker = null;
|
|
662
|
-
this.hoverDelayer = ( new Delayer(300));
|
|
662
|
+
this.hoverDelayer = this._register(( new Delayer(300)));
|
|
663
663
|
this._multiline = true;
|
|
664
664
|
this._viewMode = MarkersViewMode.Tree;
|
|
665
665
|
this._multiline = multiline;
|
|
@@ -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(9857, "Showing {0} of {1}", filtered, total)));
|
|
214
214
|
}
|
|
215
215
|
checkMoreFilters() {
|
|
216
216
|
this.filterWidget.checkMoreFilters(
|
|
@@ -275,7 +275,7 @@ let MarkersView = class MarkersView extends FilterViewPane {
|
|
|
275
275
|
if (markerOrChange instanceof Marker) {
|
|
276
276
|
this.widget.updateMarker(markerOrChange);
|
|
277
277
|
} else {
|
|
278
|
-
if (markerOrChange.added.size || markerOrChange.removed.size) {
|
|
278
|
+
if (markerOrChange.added.size || markerOrChange.removed.size || this.filters.activeFile) {
|
|
279
279
|
this.resetWidget();
|
|
280
280
|
} else {
|
|
281
281
|
this.widget.update([...markerOrChange.updated]);
|
|
@@ -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(9858, "Showing {0} problems", total)));
|
|
642
642
|
} else {
|
|
643
|
-
this.setAriaLabel(( localize(
|
|
643
|
+
this.setAriaLabel(( localize(9859, "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(9860, "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(9861, "Toggle Problems (Errors, Warnings, Infos)"));
|
|
9
9
|
}
|
|
10
10
|
static {
|
|
11
|
-
this.MARKERS_PANEL_SHOW_LABEL = ( localize2(
|
|
11
|
+
this.MARKERS_PANEL_SHOW_LABEL = ( localize2(9862, "Focus Problems (Errors, Warnings, Infos)"));
|
|
12
12
|
}
|
|
13
13
|
static {
|
|
14
|
-
this.PROBLEMS_PANEL_CONFIGURATION_TITLE = ( localize(
|
|
14
|
+
this.PROBLEMS_PANEL_CONFIGURATION_TITLE = ( localize(9863, "Problems View"));
|
|
15
15
|
}
|
|
16
16
|
static {
|
|
17
17
|
this.PROBLEMS_PANEL_CONFIGURATION_AUTO_REVEAL = ( localize(
|
|
18
|
-
|
|
18
|
+
9864,
|
|
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(9865, "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(9866, "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(9867, "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(9868, "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(9869, "Navigate problems ordered by position"));
|
|
36
36
|
}
|
|
37
37
|
static {
|
|
38
|
-
this.MARKERS_PANEL_TITLE_PROBLEMS = ( localize2(
|
|
38
|
+
this.MARKERS_PANEL_TITLE_PROBLEMS = ( localize2(9870, "Problems"));
|
|
39
39
|
}
|
|
40
40
|
static {
|
|
41
|
-
this.MARKERS_PANEL_NO_PROBLEMS_BUILT = ( localize(
|
|
41
|
+
this.MARKERS_PANEL_NO_PROBLEMS_BUILT = ( localize(9871, "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(9872, "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(9873, "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(9874, "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(9875, "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(9876, "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(9877, "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(9878, "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(9879, "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(9880, "Filter Problems"));
|
|
69
69
|
}
|
|
70
70
|
static {
|
|
71
|
-
this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = ( localize(
|
|
71
|
+
this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = ( localize(9881, "Show fixes"));
|
|
72
72
|
}
|
|
73
73
|
static {
|
|
74
|
-
this.MARKERS_PANEL_FILTER_ARIA_LABEL = ( localize(
|
|
74
|
+
this.MARKERS_PANEL_FILTER_ARIA_LABEL = ( localize(9882, "Filter Problems"));
|
|
75
75
|
}
|
|
76
76
|
static {
|
|
77
|
-
this.MARKERS_PANEL_FILTER_PLACEHOLDER = ( localize(
|
|
77
|
+
this.MARKERS_PANEL_FILTER_PLACEHOLDER = ( localize(9883, "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(9884, "errors"));
|
|
81
81
|
}
|
|
82
82
|
static {
|
|
83
|
-
this.MARKERS_PANEL_FILTER_WARNINGS = ( localize(
|
|
83
|
+
this.MARKERS_PANEL_FILTER_WARNINGS = ( localize(9885, "warnings"));
|
|
84
84
|
}
|
|
85
85
|
static {
|
|
86
|
-
this.MARKERS_PANEL_FILTER_INFOS = ( localize(
|
|
86
|
+
this.MARKERS_PANEL_FILTER_INFOS = ( localize(9886, "infos"));
|
|
87
87
|
}
|
|
88
88
|
static {
|
|
89
|
-
this.MARKERS_PANEL_SINGLE_ERROR_LABEL = ( localize(
|
|
89
|
+
this.MARKERS_PANEL_SINGLE_ERROR_LABEL = ( localize(9887, "1 Error"));
|
|
90
90
|
}
|
|
91
91
|
static {
|
|
92
92
|
this.MARKERS_PANEL_MULTIPLE_ERRORS_LABEL = noOfErrors => {
|
|
93
|
-
return localize(
|
|
93
|
+
return localize(9888, "{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(9889, "1 Warning"));
|
|
98
98
|
}
|
|
99
99
|
static {
|
|
100
100
|
this.MARKERS_PANEL_MULTIPLE_WARNINGS_LABEL = noOfWarnings => {
|
|
101
|
-
return localize(
|
|
101
|
+
return localize(9890, "{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(9891, "1 Info"));
|
|
106
106
|
}
|
|
107
107
|
static {
|
|
108
108
|
this.MARKERS_PANEL_MULTIPLE_INFOS_LABEL = noOfInfos => {
|
|
109
|
-
return localize(
|
|
109
|
+
return localize(9892, "{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(9893, "1 Unknown"));
|
|
114
114
|
}
|
|
115
115
|
static {
|
|
116
116
|
this.MARKERS_PANEL_MULTIPLE_UNKNOWNS_LABEL = noOfUnknowns => {
|
|
117
|
-
return localize(
|
|
117
|
+
return localize(9894, "{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(9895, "[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
|
+
9896,
|
|
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
|
+
9897,
|
|
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
|
+
9898,
|
|
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
|
+
9899,
|
|
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
|
+
9900,
|
|
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
|
+
9901,
|
|
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
|
+
9902,
|
|
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
|
+
9903,
|
|
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
|
+
9904,
|
|
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
|
+
9905,
|
|
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
|
+
9906,
|
|
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(9907, "Show Errors and Warnings"));
|
|
229
229
|
}
|
|
230
230
|
}
|
|
231
231
|
|