@codingame/monaco-vscode-markers-service-override 7.1.1 → 8.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 +35 -35
- 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": "8.0.0",
|
|
4
4
|
"keywords": [],
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "CodinGame",
|
|
@@ -26,6 +26,6 @@
|
|
|
26
26
|
}
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"vscode": "npm:@codingame/monaco-vscode-api@
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@8.0.0"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -113,7 +113,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
|
113
113
|
},
|
|
114
114
|
}
|
|
115
115
|
});
|
|
116
|
-
const markersViewIcon = registerIcon('markers-view-icon', Codicon.warning, ( localize(
|
|
116
|
+
const markersViewIcon = registerIcon('markers-view-icon', Codicon.warning, ( localize(1764, 'View icon of the markers view.')));
|
|
117
117
|
const VIEW_CONTAINER = ( (Registry.as(Extensions$1.ViewContainersRegistry))).registerViewContainer({
|
|
118
118
|
id: Markers.MARKERS_CONTAINER_ID,
|
|
119
119
|
title: Messages.MARKERS_PANEL_TITLE_PROBLEMS,
|
|
@@ -135,7 +135,7 @@ const VIEW_CONTAINER = ( (Registry.as(Extensions$1.ViewContainersRegistry))).reg
|
|
|
135
135
|
ctorDescriptor: ( (new SyncDescriptor(MarkersView))),
|
|
136
136
|
openCommandActionDescriptor: {
|
|
137
137
|
id: 'workbench.actions.view.problems',
|
|
138
|
-
mnemonicTitle: ( localize(
|
|
138
|
+
mnemonicTitle: ( localize(1765, "&&Problems")),
|
|
139
139
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyM },
|
|
140
140
|
order: 0,
|
|
141
141
|
}
|
|
@@ -145,7 +145,7 @@ registerAction2(class extends ViewAction {
|
|
|
145
145
|
constructor() {
|
|
146
146
|
super({
|
|
147
147
|
id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTree`,
|
|
148
|
-
title: ( localize(
|
|
148
|
+
title: ( localize(1766, "View as Tree")),
|
|
149
149
|
menu: {
|
|
150
150
|
id: MenuId.ViewTitle,
|
|
151
151
|
when: ( (ContextKeyExpr.and(
|
|
@@ -167,7 +167,7 @@ registerAction2(class extends ViewAction {
|
|
|
167
167
|
constructor() {
|
|
168
168
|
super({
|
|
169
169
|
id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTable`,
|
|
170
|
-
title: ( localize(
|
|
170
|
+
title: ( localize(1767, "View as Table")),
|
|
171
171
|
menu: {
|
|
172
172
|
id: MenuId.ViewTitle,
|
|
173
173
|
when: ( (ContextKeyExpr.and(
|
|
@@ -189,8 +189,8 @@ registerAction2(class extends ViewAction {
|
|
|
189
189
|
constructor() {
|
|
190
190
|
super({
|
|
191
191
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleErrors`,
|
|
192
|
-
title: ( localize(
|
|
193
|
-
category: ( localize(
|
|
192
|
+
title: ( localize(1768, "Show Errors")),
|
|
193
|
+
category: ( localize(1769, "Problems")),
|
|
194
194
|
toggled: MarkersContextKeys.ShowErrorsFilterContextKey,
|
|
195
195
|
menu: {
|
|
196
196
|
id: viewFilterSubmenu,
|
|
@@ -209,8 +209,8 @@ registerAction2(class extends ViewAction {
|
|
|
209
209
|
constructor() {
|
|
210
210
|
super({
|
|
211
211
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleWarnings`,
|
|
212
|
-
title: ( localize(
|
|
213
|
-
category: ( localize(
|
|
212
|
+
title: ( localize(1770, "Show Warnings")),
|
|
213
|
+
category: ( localize(1770, "Problems")),
|
|
214
214
|
toggled: MarkersContextKeys.ShowWarningsFilterContextKey,
|
|
215
215
|
menu: {
|
|
216
216
|
id: viewFilterSubmenu,
|
|
@@ -229,8 +229,8 @@ registerAction2(class extends ViewAction {
|
|
|
229
229
|
constructor() {
|
|
230
230
|
super({
|
|
231
231
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleInfos`,
|
|
232
|
-
title: ( localize(
|
|
233
|
-
category: ( localize(
|
|
232
|
+
title: ( localize(1771, "Show Infos")),
|
|
233
|
+
category: ( localize(1771, "Problems")),
|
|
234
234
|
toggled: MarkersContextKeys.ShowInfoFilterContextKey,
|
|
235
235
|
menu: {
|
|
236
236
|
id: viewFilterSubmenu,
|
|
@@ -249,8 +249,8 @@ registerAction2(class extends ViewAction {
|
|
|
249
249
|
constructor() {
|
|
250
250
|
super({
|
|
251
251
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleActiveFile`,
|
|
252
|
-
title: ( localize(
|
|
253
|
-
category: ( localize(
|
|
252
|
+
title: ( localize(1772, "Show Active File Only")),
|
|
253
|
+
category: ( localize(1772, "Problems")),
|
|
254
254
|
toggled: MarkersContextKeys.ShowActiveFileFilterContextKey,
|
|
255
255
|
menu: {
|
|
256
256
|
id: viewFilterSubmenu,
|
|
@@ -269,8 +269,8 @@ registerAction2(class extends ViewAction {
|
|
|
269
269
|
constructor() {
|
|
270
270
|
super({
|
|
271
271
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleExcludedFiles`,
|
|
272
|
-
title: ( localize(
|
|
273
|
-
category: ( localize(
|
|
272
|
+
title: ( localize(1773, "Show Excluded Files")),
|
|
273
|
+
category: ( localize(1773, "Problems")),
|
|
274
274
|
toggled: ( (MarkersContextKeys.ShowExcludedFilesFilterContextKey.negate())),
|
|
275
275
|
menu: {
|
|
276
276
|
id: viewFilterSubmenu,
|
|
@@ -307,7 +307,7 @@ registerAction2(class extends ViewAction {
|
|
|
307
307
|
)));
|
|
308
308
|
super({
|
|
309
309
|
id: Markers.MARKER_COPY_ACTION_ID,
|
|
310
|
-
title: ( localize2(
|
|
310
|
+
title: ( localize2(1774, 'Copy')),
|
|
311
311
|
menu: {
|
|
312
312
|
id: MenuId.ProblemsPanelContext,
|
|
313
313
|
when,
|
|
@@ -347,7 +347,7 @@ registerAction2(class extends ViewAction {
|
|
|
347
347
|
constructor() {
|
|
348
348
|
super({
|
|
349
349
|
id: Markers.MARKER_COPY_MESSAGE_ACTION_ID,
|
|
350
|
-
title: ( localize2(
|
|
350
|
+
title: ( localize2(1775, 'Copy Message')),
|
|
351
351
|
menu: {
|
|
352
352
|
id: MenuId.ProblemsPanelContext,
|
|
353
353
|
when: MarkersContextKeys.MarkerFocusContextKey,
|
|
@@ -368,7 +368,7 @@ registerAction2(class extends ViewAction {
|
|
|
368
368
|
constructor() {
|
|
369
369
|
super({
|
|
370
370
|
id: Markers.RELATED_INFORMATION_COPY_MESSAGE_ACTION_ID,
|
|
371
|
-
title: ( localize2(
|
|
371
|
+
title: ( localize2(1775, 'Copy Message')),
|
|
372
372
|
menu: {
|
|
373
373
|
id: MenuId.ProblemsPanelContext,
|
|
374
374
|
when: MarkersContextKeys.RelatedInformationFocusContextKey,
|
|
@@ -389,7 +389,7 @@ registerAction2(class extends ViewAction {
|
|
|
389
389
|
constructor() {
|
|
390
390
|
super({
|
|
391
391
|
id: Markers.FOCUS_PROBLEMS_FROM_FILTER,
|
|
392
|
-
title: ( localize(
|
|
392
|
+
title: ( localize(1776, "Focus problems view")),
|
|
393
393
|
keybinding: {
|
|
394
394
|
when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
|
|
395
395
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -406,7 +406,7 @@ registerAction2(class extends ViewAction {
|
|
|
406
406
|
constructor() {
|
|
407
407
|
super({
|
|
408
408
|
id: Markers.MARKERS_VIEW_FOCUS_FILTER,
|
|
409
|
-
title: ( localize(
|
|
409
|
+
title: ( localize(1777, "Focus problems filter")),
|
|
410
410
|
keybinding: {
|
|
411
411
|
when: ( (FocusedViewContext.isEqualTo(Markers.MARKERS_VIEW_ID))),
|
|
412
412
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -423,8 +423,8 @@ registerAction2(class extends ViewAction {
|
|
|
423
423
|
constructor() {
|
|
424
424
|
super({
|
|
425
425
|
id: Markers.MARKERS_VIEW_SHOW_MULTILINE_MESSAGE,
|
|
426
|
-
title: ( localize2(
|
|
427
|
-
category: ( localize(
|
|
426
|
+
title: ( localize2(1778, "Show message in multiple lines")),
|
|
427
|
+
category: ( localize(1778, "Problems")),
|
|
428
428
|
menu: {
|
|
429
429
|
id: MenuId.CommandPalette,
|
|
430
430
|
when: ( (ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID))))
|
|
@@ -440,8 +440,8 @@ registerAction2(class extends ViewAction {
|
|
|
440
440
|
constructor() {
|
|
441
441
|
super({
|
|
442
442
|
id: Markers.MARKERS_VIEW_SHOW_SINGLELINE_MESSAGE,
|
|
443
|
-
title: ( localize2(
|
|
444
|
-
category: ( localize(
|
|
443
|
+
title: ( localize2(1779, "Show message in single line")),
|
|
444
|
+
category: ( localize(1779, "Problems")),
|
|
445
445
|
menu: {
|
|
446
446
|
id: MenuId.CommandPalette,
|
|
447
447
|
when: ( (ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID))))
|
|
@@ -457,8 +457,8 @@ registerAction2(class extends ViewAction {
|
|
|
457
457
|
constructor() {
|
|
458
458
|
super({
|
|
459
459
|
id: Markers.MARKERS_VIEW_CLEAR_FILTER_TEXT,
|
|
460
|
-
title: ( localize(
|
|
461
|
-
category: ( localize(
|
|
460
|
+
title: ( localize(1780, "Clear filters text")),
|
|
461
|
+
category: ( localize(1780, "Problems")),
|
|
462
462
|
keybinding: {
|
|
463
463
|
when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
|
|
464
464
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -475,7 +475,7 @@ registerAction2(class extends ViewAction {
|
|
|
475
475
|
constructor() {
|
|
476
476
|
super({
|
|
477
477
|
id: `workbench.actions.treeView.${Markers.MARKERS_VIEW_ID}.collapseAll`,
|
|
478
|
-
title: ( localize(
|
|
478
|
+
title: ( localize(1781, "Collapse All")),
|
|
479
479
|
menu: {
|
|
480
480
|
id: MenuId.ViewTitle,
|
|
481
481
|
when: ( (ContextKeyExpr.and(
|
|
@@ -545,7 +545,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
545
545
|
const markersStatistics = this.markerService.getStatistics();
|
|
546
546
|
const tooltip = this.getMarkersTooltip(markersStatistics);
|
|
547
547
|
return {
|
|
548
|
-
name: ( localize(
|
|
548
|
+
name: ( localize(1782, "Problems")),
|
|
549
549
|
text: this.getMarkersText(markersStatistics),
|
|
550
550
|
ariaLabel: tooltip,
|
|
551
551
|
tooltip,
|
|
@@ -556,9 +556,9 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
556
556
|
this.statusbarService.updateEntryVisibility('status.problemsVisibility', true);
|
|
557
557
|
const openSettingsCommand = 'workbench.action.openSettings';
|
|
558
558
|
const configureSettingsLabel = '@id:problems.visibility';
|
|
559
|
-
const tooltip = ( localize(
|
|
559
|
+
const tooltip = ( localize(1783, "Problems are turned off. Click to open settings."));
|
|
560
560
|
return {
|
|
561
|
-
name: ( localize(
|
|
561
|
+
name: ( localize(1784, "Problems Visibility")),
|
|
562
562
|
text: '$(whole-word)',
|
|
563
563
|
ariaLabel: tooltip,
|
|
564
564
|
tooltip,
|
|
@@ -567,9 +567,9 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
567
567
|
};
|
|
568
568
|
}
|
|
569
569
|
getMarkersTooltip(stats) {
|
|
570
|
-
const errorTitle = (n) => ( localize(
|
|
571
|
-
const warningTitle = (n) => ( localize(
|
|
572
|
-
const infoTitle = (n) => ( localize(
|
|
570
|
+
const errorTitle = (n) => ( localize(1785, "Errors: {0}", n));
|
|
571
|
+
const warningTitle = (n) => ( localize(1786, "Warnings: {0}", n));
|
|
572
|
+
const infoTitle = (n) => ( localize(1787, "Infos: {0}", n));
|
|
573
573
|
const titles = [];
|
|
574
574
|
if (stats.errors > 0) {
|
|
575
575
|
titles.push(errorTitle(stats.errors));
|
|
@@ -581,7 +581,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
581
581
|
titles.push(infoTitle(stats.infos));
|
|
582
582
|
}
|
|
583
583
|
if (titles.length === 0) {
|
|
584
|
-
return ( localize(
|
|
584
|
+
return ( localize(1788, "No Problems"));
|
|
585
585
|
}
|
|
586
586
|
return titles.join(', ');
|
|
587
587
|
}
|
|
@@ -595,7 +595,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
595
595
|
return problemsText.join(' ');
|
|
596
596
|
}
|
|
597
597
|
packNumber(n) {
|
|
598
|
-
const manyProblems = ( localize(
|
|
598
|
+
const manyProblems = ( localize(1789, "10K+"));
|
|
599
599
|
return n > 9999 ? manyProblems : n > 999 ? ( (n.toString())).charAt(0) + 'K' : ( (n.toString()));
|
|
600
600
|
}
|
|
601
601
|
};
|
|
@@ -618,7 +618,7 @@ let ActivityUpdater = class ActivityUpdater extends Disposable {
|
|
|
618
618
|
const { errors, warnings, infos } = this.markerService.getStatistics();
|
|
619
619
|
const total = errors + warnings + infos;
|
|
620
620
|
if (total > 0) {
|
|
621
|
-
const message = ( localize(
|
|
621
|
+
const message = ( localize(1790, 'Total {0} Problems', total));
|
|
622
622
|
this.activity.value = this.activityService.showViewActivity(Markers.MARKERS_VIEW_ID, { badge: ( (new NumberBadge(total, () => message))) });
|
|
623
623
|
}
|
|
624
624
|
else {
|
|
@@ -24,7 +24,7 @@ import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/co
|
|
|
24
24
|
class MarkersDecorationsProvider {
|
|
25
25
|
constructor(_markerService) {
|
|
26
26
|
this._markerService = _markerService;
|
|
27
|
-
this.label = ( localize(
|
|
27
|
+
this.label = ( localize(5515, "Problems"));
|
|
28
28
|
this.onDidChange = _markerService.onMarkerChanged;
|
|
29
29
|
}
|
|
30
30
|
provideDecorations(resource) {
|
|
@@ -44,7 +44,7 @@ class MarkersDecorationsProvider {
|
|
|
44
44
|
return {
|
|
45
45
|
weight: 100 * first.severity,
|
|
46
46
|
bubble: true,
|
|
47
|
-
tooltip: markers.length === 1 ? ( localize(
|
|
47
|
+
tooltip: markers.length === 1 ? ( localize(5516, "1 problem in this file")) : ( localize(5517, "{0} problems in this file", markers.length)),
|
|
48
48
|
letter: markers.length < 10 ? ( (markers.length.toString())) : '9+',
|
|
49
49
|
color: first.severity === MarkerSeverity.Error ? listErrorForeground : listWarningForeground,
|
|
50
50
|
};
|
|
@@ -104,7 +104,7 @@ MarkersFileDecorations = ( (__decorate([
|
|
|
104
104
|
'properties': {
|
|
105
105
|
'problems.decorations.enabled': {
|
|
106
106
|
'markdownDescription': ( localize(
|
|
107
|
-
|
|
107
|
+
5518,
|
|
108
108
|
"Show Errors & Warnings on files and folder. Overwritten by {0} when it is off.",
|
|
109
109
|
'`#problems.visibility#`'
|
|
110
110
|
)),
|
|
@@ -227,7 +227,7 @@ let MarkersTable = class MarkersTable extends Disposable {
|
|
|
227
227
|
project(row) { return row; }
|
|
228
228
|
},
|
|
229
229
|
{
|
|
230
|
-
label: ( localize(
|
|
230
|
+
label: ( localize(10087, "Code")),
|
|
231
231
|
tooltip: '',
|
|
232
232
|
weight: 1,
|
|
233
233
|
minimumWidth: 100,
|
|
@@ -236,21 +236,21 @@ let MarkersTable = class MarkersTable extends Disposable {
|
|
|
236
236
|
project(row) { return row; }
|
|
237
237
|
},
|
|
238
238
|
{
|
|
239
|
-
label: ( localize(
|
|
239
|
+
label: ( localize(10088, "Message")),
|
|
240
240
|
tooltip: '',
|
|
241
241
|
weight: 4,
|
|
242
242
|
templateId: MarkerMessageColumnRenderer.TEMPLATE_ID,
|
|
243
243
|
project(row) { return row; }
|
|
244
244
|
},
|
|
245
245
|
{
|
|
246
|
-
label: ( localize(
|
|
246
|
+
label: ( localize(10089, "File")),
|
|
247
247
|
tooltip: '',
|
|
248
248
|
weight: 2,
|
|
249
249
|
templateId: MarkerFileColumnRenderer.TEMPLATE_ID,
|
|
250
250
|
project(row) { return row; }
|
|
251
251
|
},
|
|
252
252
|
{
|
|
253
|
-
label: ( localize(
|
|
253
|
+
label: ( localize(10090, "Source")),
|
|
254
254
|
tooltip: '',
|
|
255
255
|
weight: 1,
|
|
256
256
|
minimumWidth: 100,
|
|
@@ -48,7 +48,7 @@ let MarkersWidgetAccessibilityProvider = class MarkersWidgetAccessibilityProvide
|
|
|
48
48
|
this.labelService = labelService;
|
|
49
49
|
}
|
|
50
50
|
getWidgetAriaLabel() {
|
|
51
|
-
return ( localize(
|
|
51
|
+
return ( localize(10082, "Problems View"));
|
|
52
52
|
}
|
|
53
53
|
getAriaLabel(element) {
|
|
54
54
|
if (element instanceof ResourceMarkers) {
|
|
@@ -189,11 +189,11 @@ MarkerRenderer = ( (__decorate([
|
|
|
189
189
|
( (__param(3, IOpenerService)))
|
|
190
190
|
], MarkerRenderer)));
|
|
191
191
|
const expandedIcon = registerIcon('markers-view-multi-line-expanded', Codicon.chevronUp, ( localize(
|
|
192
|
-
|
|
192
|
+
10083,
|
|
193
193
|
'Icon indicating that multiple lines are shown in the markers view.'
|
|
194
194
|
)));
|
|
195
195
|
const collapsedIcon = registerIcon('markers-view-multi-line-collapsed', Codicon.chevronDown, ( localize(
|
|
196
|
-
|
|
196
|
+
10084,
|
|
197
197
|
'Icon indicating that multiple lines are collapsed in the markers view.'
|
|
198
198
|
)));
|
|
199
199
|
const toggleMultilineAction = 'problems.action.toggleMultiline';
|
|
@@ -272,7 +272,7 @@ class MarkerWidget extends Disposable {
|
|
|
272
272
|
const multiline = viewModel && viewModel.multiline;
|
|
273
273
|
const action = ( (new Action(toggleMultilineAction)));
|
|
274
274
|
action.enabled = !!viewModel && marker.lines.length > 1;
|
|
275
|
-
action.tooltip = multiline ? ( localize(
|
|
275
|
+
action.tooltip = multiline ? ( localize(10085, "Show message in single line")) : ( localize(10086, "Show message in multiple lines"));
|
|
276
276
|
action.class = ThemeIcon.asClassName(multiline ? expandedIcon : collapsedIcon);
|
|
277
277
|
action.run = () => { if (viewModel) {
|
|
278
278
|
viewModel.multiline = !viewModel.multiline;
|
|
@@ -178,7 +178,7 @@ let MarkersView = class MarkersView extends FilterViewPane {
|
|
|
178
178
|
this.filterWidget.focus();
|
|
179
179
|
}
|
|
180
180
|
updateBadge(total, filtered) {
|
|
181
|
-
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(
|
|
181
|
+
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(5519, "Showing {0} of {1}", filtered, total)));
|
|
182
182
|
}
|
|
183
183
|
checkMoreFilters() {
|
|
184
184
|
this.filterWidget.checkMoreFilters(!this.filters.showErrors || !this.filters.showWarnings || !this.filters.showInfos || this.filters.excludedFiles || this.filters.activeFile);
|
|
@@ -560,10 +560,10 @@ let MarkersView = class MarkersView extends FilterViewPane {
|
|
|
560
560
|
else {
|
|
561
561
|
this.messageBoxContainer.style.display = 'none';
|
|
562
562
|
if (filtered === total) {
|
|
563
|
-
this.setAriaLabel(( localize(
|
|
563
|
+
this.setAriaLabel(( localize(5520, "Showing {0} problems", total)));
|
|
564
564
|
}
|
|
565
565
|
else {
|
|
566
|
-
this.setAriaLabel(( localize(
|
|
566
|
+
this.setAriaLabel(( localize(5521, "Showing {0} of {1} problems", filtered, total)));
|
|
567
567
|
}
|
|
568
568
|
this.messageBoxContainer.removeAttribute('tabIndex');
|
|
569
569
|
}
|
|
@@ -580,7 +580,7 @@ let MarkersView = class MarkersView extends FilterViewPane {
|
|
|
580
580
|
const span1 = append(container, $('span'));
|
|
581
581
|
span1.textContent = Messages.MARKERS_PANEL_NO_PROBLEMS_FILTERS;
|
|
582
582
|
const link = append(container, $('a.messageAction'));
|
|
583
|
-
link.textContent = ( localize(
|
|
583
|
+
link.textContent = ( localize(5522, "Clear Filters"));
|
|
584
584
|
link.setAttribute('tabIndex', '0');
|
|
585
585
|
const span2 = append(container, $('span'));
|
|
586
586
|
span2.textContent = '.';
|
|
@@ -3,46 +3,46 @@ import { basename } from 'vscode/vscode/vs/base/common/resources';
|
|
|
3
3
|
import { MarkerSeverity } from 'vscode/vscode/vs/platform/markers/common/markers';
|
|
4
4
|
|
|
5
5
|
class Messages {
|
|
6
|
-
static { this.MARKERS_PANEL_TOGGLE_LABEL = ( localize(
|
|
7
|
-
static { this.MARKERS_PANEL_SHOW_LABEL = ( localize2(
|
|
8
|
-
static { this.PROBLEMS_PANEL_CONFIGURATION_TITLE = ( localize(
|
|
6
|
+
static { this.MARKERS_PANEL_TOGGLE_LABEL = ( localize(5523, "Toggle Problems (Errors, Warnings, Infos)")); }
|
|
7
|
+
static { this.MARKERS_PANEL_SHOW_LABEL = ( localize2(5524, "Focus Problems (Errors, Warnings, Infos)")); }
|
|
8
|
+
static { this.PROBLEMS_PANEL_CONFIGURATION_TITLE = ( localize(5525, "Problems View")); }
|
|
9
9
|
static { this.PROBLEMS_PANEL_CONFIGURATION_AUTO_REVEAL = ( localize(
|
|
10
|
-
|
|
10
|
+
5526,
|
|
11
11
|
"Controls whether Problems view should automatically reveal files when opening them."
|
|
12
12
|
)); }
|
|
13
|
-
static { this.PROBLEMS_PANEL_CONFIGURATION_VIEW_MODE = ( localize(
|
|
14
|
-
static { this.PROBLEMS_PANEL_CONFIGURATION_SHOW_CURRENT_STATUS = ( localize(
|
|
15
|
-
static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER = ( localize(
|
|
16
|
-
static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_SEVERITY = ( localize(
|
|
17
|
-
static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_POSITION = ( localize(
|
|
18
|
-
static { this.MARKERS_PANEL_TITLE_PROBLEMS = ( localize2(
|
|
19
|
-
static { this.MARKERS_PANEL_NO_PROBLEMS_BUILT = ( localize(
|
|
20
|
-
static { this.MARKERS_PANEL_NO_PROBLEMS_ACTIVE_FILE_BUILT = ( localize(
|
|
21
|
-
static { this.MARKERS_PANEL_NO_PROBLEMS_FILTERS = ( localize(
|
|
22
|
-
static { this.MARKERS_PANEL_ACTION_TOOLTIP_MORE_FILTERS = ( localize(
|
|
23
|
-
static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_ERRORS = ( localize(
|
|
24
|
-
static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_WARNINGS = ( localize(
|
|
25
|
-
static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_INFOS = ( localize(
|
|
26
|
-
static { this.MARKERS_PANEL_FILTER_LABEL_EXCLUDED_FILES = ( localize(
|
|
27
|
-
static { this.MARKERS_PANEL_FILTER_LABEL_ACTIVE_FILE = ( localize(
|
|
28
|
-
static { this.MARKERS_PANEL_ACTION_TOOLTIP_FILTER = ( localize(
|
|
29
|
-
static { this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = ( localize(
|
|
30
|
-
static { this.MARKERS_PANEL_FILTER_ARIA_LABEL = ( localize(
|
|
31
|
-
static { this.MARKERS_PANEL_FILTER_PLACEHOLDER = ( localize(
|
|
32
|
-
static { this.MARKERS_PANEL_FILTER_ERRORS = ( localize(
|
|
33
|
-
static { this.MARKERS_PANEL_FILTER_WARNINGS = ( localize(
|
|
34
|
-
static { this.MARKERS_PANEL_FILTER_INFOS = ( localize(
|
|
35
|
-
static { this.MARKERS_PANEL_SINGLE_ERROR_LABEL = ( localize(
|
|
36
|
-
static { this.MARKERS_PANEL_MULTIPLE_ERRORS_LABEL = (noOfErrors) => { return ( localize(
|
|
37
|
-
static { this.MARKERS_PANEL_SINGLE_WARNING_LABEL = ( localize(
|
|
38
|
-
static { this.MARKERS_PANEL_MULTIPLE_WARNINGS_LABEL = (noOfWarnings) => { return ( localize(
|
|
39
|
-
static { this.MARKERS_PANEL_SINGLE_INFO_LABEL = ( localize(
|
|
40
|
-
static { this.MARKERS_PANEL_MULTIPLE_INFOS_LABEL = (noOfInfos) => { return ( localize(
|
|
41
|
-
static { this.MARKERS_PANEL_SINGLE_UNKNOWN_LABEL = ( localize(
|
|
42
|
-
static { this.MARKERS_PANEL_MULTIPLE_UNKNOWNS_LABEL = (noOfUnknowns) => { return ( localize(
|
|
43
|
-
static { this.MARKERS_PANEL_AT_LINE_COL_NUMBER = (ln, col) => { return ( localize(
|
|
13
|
+
static { this.PROBLEMS_PANEL_CONFIGURATION_VIEW_MODE = ( localize(5527, "Controls the default view mode of the Problems view.")); }
|
|
14
|
+
static { this.PROBLEMS_PANEL_CONFIGURATION_SHOW_CURRENT_STATUS = ( localize(5528, "When enabled shows the current problem in the status bar.")); }
|
|
15
|
+
static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER = ( localize(5529, "Controls the order in which problems are navigated.")); }
|
|
16
|
+
static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_SEVERITY = ( localize(5530, "Navigate problems ordered by severity")); }
|
|
17
|
+
static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_POSITION = ( localize(5531, "Navigate problems ordered by position")); }
|
|
18
|
+
static { this.MARKERS_PANEL_TITLE_PROBLEMS = ( localize2(5532, "Problems")); }
|
|
19
|
+
static { this.MARKERS_PANEL_NO_PROBLEMS_BUILT = ( localize(5533, "No problems have been detected in the workspace.")); }
|
|
20
|
+
static { this.MARKERS_PANEL_NO_PROBLEMS_ACTIVE_FILE_BUILT = ( localize(5534, "No problems have been detected in the current file.")); }
|
|
21
|
+
static { this.MARKERS_PANEL_NO_PROBLEMS_FILTERS = ( localize(5535, "No results found with provided filter criteria.")); }
|
|
22
|
+
static { this.MARKERS_PANEL_ACTION_TOOLTIP_MORE_FILTERS = ( localize(5536, "More Filters...")); }
|
|
23
|
+
static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_ERRORS = ( localize(5537, "Show Errors")); }
|
|
24
|
+
static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_WARNINGS = ( localize(5538, "Show Warnings")); }
|
|
25
|
+
static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_INFOS = ( localize(5539, "Show Infos")); }
|
|
26
|
+
static { this.MARKERS_PANEL_FILTER_LABEL_EXCLUDED_FILES = ( localize(5540, "Hide Excluded Files")); }
|
|
27
|
+
static { this.MARKERS_PANEL_FILTER_LABEL_ACTIVE_FILE = ( localize(5541, "Show Active File Only")); }
|
|
28
|
+
static { this.MARKERS_PANEL_ACTION_TOOLTIP_FILTER = ( localize(5542, "Filter Problems")); }
|
|
29
|
+
static { this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = ( localize(5543, "Show fixes")); }
|
|
30
|
+
static { this.MARKERS_PANEL_FILTER_ARIA_LABEL = ( localize(5544, "Filter Problems")); }
|
|
31
|
+
static { this.MARKERS_PANEL_FILTER_PLACEHOLDER = ( localize(5545, "Filter (e.g. text, **/*.ts, !**/node_modules/**)")); }
|
|
32
|
+
static { this.MARKERS_PANEL_FILTER_ERRORS = ( localize(5546, "errors")); }
|
|
33
|
+
static { this.MARKERS_PANEL_FILTER_WARNINGS = ( localize(5547, "warnings")); }
|
|
34
|
+
static { this.MARKERS_PANEL_FILTER_INFOS = ( localize(5548, "infos")); }
|
|
35
|
+
static { this.MARKERS_PANEL_SINGLE_ERROR_LABEL = ( localize(5549, "1 Error")); }
|
|
36
|
+
static { this.MARKERS_PANEL_MULTIPLE_ERRORS_LABEL = (noOfErrors) => { return ( localize(5550, "{0} Errors", '' + noOfErrors)); }; }
|
|
37
|
+
static { this.MARKERS_PANEL_SINGLE_WARNING_LABEL = ( localize(5551, "1 Warning")); }
|
|
38
|
+
static { this.MARKERS_PANEL_MULTIPLE_WARNINGS_LABEL = (noOfWarnings) => { return ( localize(5552, "{0} Warnings", '' + noOfWarnings)); }; }
|
|
39
|
+
static { this.MARKERS_PANEL_SINGLE_INFO_LABEL = ( localize(5553, "1 Info")); }
|
|
40
|
+
static { this.MARKERS_PANEL_MULTIPLE_INFOS_LABEL = (noOfInfos) => { return ( localize(5554, "{0} Infos", '' + noOfInfos)); }; }
|
|
41
|
+
static { this.MARKERS_PANEL_SINGLE_UNKNOWN_LABEL = ( localize(5555, "1 Unknown")); }
|
|
42
|
+
static { this.MARKERS_PANEL_MULTIPLE_UNKNOWNS_LABEL = (noOfUnknowns) => { return ( localize(5556, "{0} Unknowns", '' + noOfUnknowns)); }; }
|
|
43
|
+
static { this.MARKERS_PANEL_AT_LINE_COL_NUMBER = (ln, col) => { return ( localize(5557, "[Ln {0}, Col {1}]", '' + ln, '' + col)); }; }
|
|
44
44
|
static { this.MARKERS_TREE_ARIA_LABEL_RESOURCE = (noOfProblems, fileName, folder) => { return ( localize(
|
|
45
|
-
|
|
45
|
+
5558,
|
|
46
46
|
"{0} problems in file {1} of folder {2}",
|
|
47
47
|
noOfProblems,
|
|
48
48
|
fileName,
|
|
@@ -50,14 +50,14 @@ class Messages {
|
|
|
50
50
|
)); }; }
|
|
51
51
|
static { this.MARKERS_TREE_ARIA_LABEL_MARKER = (marker) => {
|
|
52
52
|
const relatedInformationMessage = marker.relatedInformation.length ? ( localize(
|
|
53
|
-
|
|
53
|
+
5559,
|
|
54
54
|
" This problem has references to {0} locations.",
|
|
55
55
|
marker.relatedInformation.length
|
|
56
56
|
)) : '';
|
|
57
57
|
switch (marker.marker.severity) {
|
|
58
58
|
case MarkerSeverity.Error:
|
|
59
59
|
return marker.marker.source ? ( localize(
|
|
60
|
-
|
|
60
|
+
5560,
|
|
61
61
|
"Error: {0} at line {1} and character {2}.{3} generated by {4}",
|
|
62
62
|
marker.marker.message,
|
|
63
63
|
marker.marker.startLineNumber,
|
|
@@ -66,7 +66,7 @@ class Messages {
|
|
|
66
66
|
marker.marker.source
|
|
67
67
|
))
|
|
68
68
|
: ( localize(
|
|
69
|
-
|
|
69
|
+
5561,
|
|
70
70
|
"Error: {0} at line {1} and character {2}.{3}",
|
|
71
71
|
marker.marker.message,
|
|
72
72
|
marker.marker.startLineNumber,
|
|
@@ -75,7 +75,7 @@ class Messages {
|
|
|
75
75
|
));
|
|
76
76
|
case MarkerSeverity.Warning:
|
|
77
77
|
return marker.marker.source ? ( localize(
|
|
78
|
-
|
|
78
|
+
5562,
|
|
79
79
|
"Warning: {0} at line {1} and character {2}.{3} generated by {4}",
|
|
80
80
|
marker.marker.message,
|
|
81
81
|
marker.marker.startLineNumber,
|
|
@@ -84,7 +84,7 @@ class Messages {
|
|
|
84
84
|
marker.marker.source
|
|
85
85
|
))
|
|
86
86
|
: ( localize(
|
|
87
|
-
|
|
87
|
+
5563,
|
|
88
88
|
"Warning: {0} at line {1} and character {2}.{3}",
|
|
89
89
|
marker.marker.message,
|
|
90
90
|
marker.marker.startLineNumber,
|
|
@@ -94,7 +94,7 @@ class Messages {
|
|
|
94
94
|
));
|
|
95
95
|
case MarkerSeverity.Info:
|
|
96
96
|
return marker.marker.source ? ( localize(
|
|
97
|
-
|
|
97
|
+
5564,
|
|
98
98
|
"Info: {0} at line {1} and character {2}.{3} generated by {4}",
|
|
99
99
|
marker.marker.message,
|
|
100
100
|
marker.marker.startLineNumber,
|
|
@@ -103,7 +103,7 @@ class Messages {
|
|
|
103
103
|
marker.marker.source
|
|
104
104
|
))
|
|
105
105
|
: ( localize(
|
|
106
|
-
|
|
106
|
+
5565,
|
|
107
107
|
"Info: {0} at line {1} and character {2}.{3}",
|
|
108
108
|
marker.marker.message,
|
|
109
109
|
marker.marker.startLineNumber,
|
|
@@ -112,7 +112,7 @@ class Messages {
|
|
|
112
112
|
));
|
|
113
113
|
default:
|
|
114
114
|
return marker.marker.source ? ( localize(
|
|
115
|
-
|
|
115
|
+
5566,
|
|
116
116
|
"Problem: {0} at line {1} and character {2}.{3} generated by {4}",
|
|
117
117
|
marker.marker.source,
|
|
118
118
|
marker.marker.message,
|
|
@@ -122,7 +122,7 @@ class Messages {
|
|
|
122
122
|
marker.marker.source
|
|
123
123
|
))
|
|
124
124
|
: ( localize(
|
|
125
|
-
|
|
125
|
+
5567,
|
|
126
126
|
"Problem: {0} at line {1} and character {2}.{3}",
|
|
127
127
|
marker.marker.message,
|
|
128
128
|
marker.marker.startLineNumber,
|
|
@@ -132,14 +132,14 @@ class Messages {
|
|
|
132
132
|
}
|
|
133
133
|
}; }
|
|
134
134
|
static { this.MARKERS_TREE_ARIA_LABEL_RELATED_INFORMATION = (relatedInformation) => ( localize(
|
|
135
|
-
|
|
135
|
+
5568,
|
|
136
136
|
"{0} at line {1} and character {2} in {3}",
|
|
137
137
|
relatedInformation.message,
|
|
138
138
|
relatedInformation.startLineNumber,
|
|
139
139
|
relatedInformation.startColumn,
|
|
140
140
|
basename(relatedInformation.resource)
|
|
141
141
|
)); }
|
|
142
|
-
static { this.SHOW_ERRORS_WARNINGS_ACTION_LABEL = ( localize(
|
|
142
|
+
static { this.SHOW_ERRORS_WARNINGS_ACTION_LABEL = ( localize(5569, "Show Errors and Warnings")); }
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
export { Messages as default };
|