@codingame/monaco-vscode-markers-service-override 10.0.0 → 10.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 +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": "10.0.
|
|
3
|
+
"version": "10.0.1",
|
|
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@10.0.
|
|
29
|
+
"vscode": "npm:@codingame/monaco-vscode-api@10.0.1"
|
|
30
30
|
}
|
|
31
31
|
}
|
|
@@ -110,7 +110,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
|
110
110
|
},
|
|
111
111
|
}
|
|
112
112
|
});
|
|
113
|
-
const markersViewIcon = registerIcon('markers-view-icon', Codicon.warning, ( localize(
|
|
113
|
+
const markersViewIcon = registerIcon('markers-view-icon', Codicon.warning, ( localize(2366, 'View icon of the markers view.')));
|
|
114
114
|
const VIEW_CONTAINER = ( (Registry.as(Extensions$1.ViewContainersRegistry))).registerViewContainer({
|
|
115
115
|
id: Markers.MARKERS_CONTAINER_ID,
|
|
116
116
|
title: Messages.MARKERS_PANEL_TITLE_PROBLEMS,
|
|
@@ -132,7 +132,7 @@ const VIEW_CONTAINER = ( (Registry.as(Extensions$1.ViewContainersRegistry))).reg
|
|
|
132
132
|
ctorDescriptor: ( (new SyncDescriptor(MarkersView))),
|
|
133
133
|
openCommandActionDescriptor: {
|
|
134
134
|
id: 'workbench.actions.view.problems',
|
|
135
|
-
mnemonicTitle: ( localize(
|
|
135
|
+
mnemonicTitle: ( localize(2367, "&&Problems")),
|
|
136
136
|
keybindings: { primary: 2048 | 1024 | 43 },
|
|
137
137
|
order: 0,
|
|
138
138
|
}
|
|
@@ -142,7 +142,7 @@ registerAction2(class extends ViewAction {
|
|
|
142
142
|
constructor() {
|
|
143
143
|
super({
|
|
144
144
|
id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTree`,
|
|
145
|
-
title: ( localize(
|
|
145
|
+
title: ( localize(2368, "View as Tree")),
|
|
146
146
|
menu: {
|
|
147
147
|
id: MenuId.ViewTitle,
|
|
148
148
|
when: ( (ContextKeyExpr.and(
|
|
@@ -164,7 +164,7 @@ registerAction2(class extends ViewAction {
|
|
|
164
164
|
constructor() {
|
|
165
165
|
super({
|
|
166
166
|
id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTable`,
|
|
167
|
-
title: ( localize(
|
|
167
|
+
title: ( localize(2369, "View as Table")),
|
|
168
168
|
menu: {
|
|
169
169
|
id: MenuId.ViewTitle,
|
|
170
170
|
when: ( (ContextKeyExpr.and(
|
|
@@ -186,8 +186,8 @@ registerAction2(class extends ViewAction {
|
|
|
186
186
|
constructor() {
|
|
187
187
|
super({
|
|
188
188
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleErrors`,
|
|
189
|
-
title: ( localize(
|
|
190
|
-
category: ( localize(
|
|
189
|
+
title: ( localize(2370, "Show Errors")),
|
|
190
|
+
category: ( localize(2371, "Problems")),
|
|
191
191
|
toggled: MarkersContextKeys.ShowErrorsFilterContextKey,
|
|
192
192
|
menu: {
|
|
193
193
|
id: viewFilterSubmenu,
|
|
@@ -206,8 +206,8 @@ registerAction2(class extends ViewAction {
|
|
|
206
206
|
constructor() {
|
|
207
207
|
super({
|
|
208
208
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleWarnings`,
|
|
209
|
-
title: ( localize(
|
|
210
|
-
category: ( localize(
|
|
209
|
+
title: ( localize(2372, "Show Warnings")),
|
|
210
|
+
category: ( localize(2371, "Problems")),
|
|
211
211
|
toggled: MarkersContextKeys.ShowWarningsFilterContextKey,
|
|
212
212
|
menu: {
|
|
213
213
|
id: viewFilterSubmenu,
|
|
@@ -226,8 +226,8 @@ registerAction2(class extends ViewAction {
|
|
|
226
226
|
constructor() {
|
|
227
227
|
super({
|
|
228
228
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleInfos`,
|
|
229
|
-
title: ( localize(
|
|
230
|
-
category: ( localize(
|
|
229
|
+
title: ( localize(2373, "Show Infos")),
|
|
230
|
+
category: ( localize(2371, "Problems")),
|
|
231
231
|
toggled: MarkersContextKeys.ShowInfoFilterContextKey,
|
|
232
232
|
menu: {
|
|
233
233
|
id: viewFilterSubmenu,
|
|
@@ -246,8 +246,8 @@ registerAction2(class extends ViewAction {
|
|
|
246
246
|
constructor() {
|
|
247
247
|
super({
|
|
248
248
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleActiveFile`,
|
|
249
|
-
title: ( localize(
|
|
250
|
-
category: ( localize(
|
|
249
|
+
title: ( localize(2374, "Show Active File Only")),
|
|
250
|
+
category: ( localize(2371, "Problems")),
|
|
251
251
|
toggled: MarkersContextKeys.ShowActiveFileFilterContextKey,
|
|
252
252
|
menu: {
|
|
253
253
|
id: viewFilterSubmenu,
|
|
@@ -266,8 +266,8 @@ registerAction2(class extends ViewAction {
|
|
|
266
266
|
constructor() {
|
|
267
267
|
super({
|
|
268
268
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleExcludedFiles`,
|
|
269
|
-
title: ( localize(
|
|
270
|
-
category: ( localize(
|
|
269
|
+
title: ( localize(2375, "Show Excluded Files")),
|
|
270
|
+
category: ( localize(2371, "Problems")),
|
|
271
271
|
toggled: ( (MarkersContextKeys.ShowExcludedFilesFilterContextKey.negate())),
|
|
272
272
|
menu: {
|
|
273
273
|
id: viewFilterSubmenu,
|
|
@@ -304,7 +304,7 @@ registerAction2(class extends ViewAction {
|
|
|
304
304
|
)));
|
|
305
305
|
super({
|
|
306
306
|
id: Markers.MARKER_COPY_ACTION_ID,
|
|
307
|
-
title: ( localize2(
|
|
307
|
+
title: ( localize2(2376, 'Copy')),
|
|
308
308
|
menu: {
|
|
309
309
|
id: MenuId.ProblemsPanelContext,
|
|
310
310
|
when,
|
|
@@ -344,7 +344,7 @@ registerAction2(class extends ViewAction {
|
|
|
344
344
|
constructor() {
|
|
345
345
|
super({
|
|
346
346
|
id: Markers.MARKER_COPY_MESSAGE_ACTION_ID,
|
|
347
|
-
title: ( localize2(
|
|
347
|
+
title: ( localize2(2377, 'Copy Message')),
|
|
348
348
|
menu: {
|
|
349
349
|
id: MenuId.ProblemsPanelContext,
|
|
350
350
|
when: MarkersContextKeys.MarkerFocusContextKey,
|
|
@@ -365,7 +365,7 @@ registerAction2(class extends ViewAction {
|
|
|
365
365
|
constructor() {
|
|
366
366
|
super({
|
|
367
367
|
id: Markers.RELATED_INFORMATION_COPY_MESSAGE_ACTION_ID,
|
|
368
|
-
title: ( localize2(
|
|
368
|
+
title: ( localize2(2377, 'Copy Message')),
|
|
369
369
|
menu: {
|
|
370
370
|
id: MenuId.ProblemsPanelContext,
|
|
371
371
|
when: MarkersContextKeys.RelatedInformationFocusContextKey,
|
|
@@ -386,7 +386,7 @@ registerAction2(class extends ViewAction {
|
|
|
386
386
|
constructor() {
|
|
387
387
|
super({
|
|
388
388
|
id: Markers.FOCUS_PROBLEMS_FROM_FILTER,
|
|
389
|
-
title: ( localize(
|
|
389
|
+
title: ( localize(2378, "Focus problems view")),
|
|
390
390
|
keybinding: {
|
|
391
391
|
when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
|
|
392
392
|
weight: 200 ,
|
|
@@ -403,7 +403,7 @@ registerAction2(class extends ViewAction {
|
|
|
403
403
|
constructor() {
|
|
404
404
|
super({
|
|
405
405
|
id: Markers.MARKERS_VIEW_FOCUS_FILTER,
|
|
406
|
-
title: ( localize(
|
|
406
|
+
title: ( localize(2379, "Focus problems filter")),
|
|
407
407
|
keybinding: {
|
|
408
408
|
when: ( (FocusedViewContext.isEqualTo(Markers.MARKERS_VIEW_ID))),
|
|
409
409
|
weight: 200 ,
|
|
@@ -420,8 +420,8 @@ registerAction2(class extends ViewAction {
|
|
|
420
420
|
constructor() {
|
|
421
421
|
super({
|
|
422
422
|
id: Markers.MARKERS_VIEW_SHOW_MULTILINE_MESSAGE,
|
|
423
|
-
title: ( localize2(
|
|
424
|
-
category: ( localize(
|
|
423
|
+
title: ( localize2(2380, "Show message in multiple lines")),
|
|
424
|
+
category: ( localize(2371, "Problems")),
|
|
425
425
|
menu: {
|
|
426
426
|
id: MenuId.CommandPalette,
|
|
427
427
|
when: ( (ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID))))
|
|
@@ -437,8 +437,8 @@ registerAction2(class extends ViewAction {
|
|
|
437
437
|
constructor() {
|
|
438
438
|
super({
|
|
439
439
|
id: Markers.MARKERS_VIEW_SHOW_SINGLELINE_MESSAGE,
|
|
440
|
-
title: ( localize2(
|
|
441
|
-
category: ( localize(
|
|
440
|
+
title: ( localize2(2381, "Show message in single line")),
|
|
441
|
+
category: ( localize(2371, "Problems")),
|
|
442
442
|
menu: {
|
|
443
443
|
id: MenuId.CommandPalette,
|
|
444
444
|
when: ( (ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID))))
|
|
@@ -454,8 +454,8 @@ registerAction2(class extends ViewAction {
|
|
|
454
454
|
constructor() {
|
|
455
455
|
super({
|
|
456
456
|
id: Markers.MARKERS_VIEW_CLEAR_FILTER_TEXT,
|
|
457
|
-
title: ( localize(
|
|
458
|
-
category: ( localize(
|
|
457
|
+
title: ( localize(2382, "Clear filters text")),
|
|
458
|
+
category: ( localize(2371, "Problems")),
|
|
459
459
|
keybinding: {
|
|
460
460
|
when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
|
|
461
461
|
weight: 200 ,
|
|
@@ -472,7 +472,7 @@ registerAction2(class extends ViewAction {
|
|
|
472
472
|
constructor() {
|
|
473
473
|
super({
|
|
474
474
|
id: `workbench.actions.treeView.${Markers.MARKERS_VIEW_ID}.collapseAll`,
|
|
475
|
-
title: ( localize(
|
|
475
|
+
title: ( localize(2383, "Collapse All")),
|
|
476
476
|
menu: {
|
|
477
477
|
id: MenuId.ViewTitle,
|
|
478
478
|
when: ( (ContextKeyExpr.and(
|
|
@@ -542,7 +542,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
542
542
|
const markersStatistics = this.markerService.getStatistics();
|
|
543
543
|
const tooltip = this.getMarkersTooltip(markersStatistics);
|
|
544
544
|
return {
|
|
545
|
-
name: ( localize(
|
|
545
|
+
name: ( localize(2384, "Problems")),
|
|
546
546
|
text: this.getMarkersText(markersStatistics),
|
|
547
547
|
ariaLabel: tooltip,
|
|
548
548
|
tooltip,
|
|
@@ -553,9 +553,9 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
553
553
|
this.statusbarService.updateEntryVisibility('status.problemsVisibility', true);
|
|
554
554
|
const openSettingsCommand = 'workbench.action.openSettings';
|
|
555
555
|
const configureSettingsLabel = '@id:problems.visibility';
|
|
556
|
-
const tooltip = ( localize(
|
|
556
|
+
const tooltip = ( localize(2385, "Problems are turned off. Click to open settings."));
|
|
557
557
|
return {
|
|
558
|
-
name: ( localize(
|
|
558
|
+
name: ( localize(2386, "Problems Visibility")),
|
|
559
559
|
text: '$(whole-word)',
|
|
560
560
|
ariaLabel: tooltip,
|
|
561
561
|
tooltip,
|
|
@@ -564,9 +564,9 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
564
564
|
};
|
|
565
565
|
}
|
|
566
566
|
getMarkersTooltip(stats) {
|
|
567
|
-
const errorTitle = (n) => ( localize(
|
|
568
|
-
const warningTitle = (n) => ( localize(
|
|
569
|
-
const infoTitle = (n) => ( localize(
|
|
567
|
+
const errorTitle = (n) => ( localize(2387, "Errors: {0}", n));
|
|
568
|
+
const warningTitle = (n) => ( localize(2388, "Warnings: {0}", n));
|
|
569
|
+
const infoTitle = (n) => ( localize(2389, "Infos: {0}", n));
|
|
570
570
|
const titles = [];
|
|
571
571
|
if (stats.errors > 0) {
|
|
572
572
|
titles.push(errorTitle(stats.errors));
|
|
@@ -578,7 +578,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
578
578
|
titles.push(infoTitle(stats.infos));
|
|
579
579
|
}
|
|
580
580
|
if (titles.length === 0) {
|
|
581
|
-
return ( localize(
|
|
581
|
+
return ( localize(2390, "No Problems"));
|
|
582
582
|
}
|
|
583
583
|
return titles.join(', ');
|
|
584
584
|
}
|
|
@@ -592,7 +592,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
592
592
|
return problemsText.join(' ');
|
|
593
593
|
}
|
|
594
594
|
packNumber(n) {
|
|
595
|
-
const manyProblems = ( localize(
|
|
595
|
+
const manyProblems = ( localize(2391, "10K+"));
|
|
596
596
|
return n > 9999 ? manyProblems : n > 999 ? ( (n.toString())).charAt(0) + 'K' : ( (n.toString()));
|
|
597
597
|
}
|
|
598
598
|
};
|
|
@@ -615,7 +615,7 @@ let ActivityUpdater = class ActivityUpdater extends Disposable {
|
|
|
615
615
|
const { errors, warnings, infos } = this.markerService.getStatistics();
|
|
616
616
|
const total = errors + warnings + infos;
|
|
617
617
|
if (total > 0) {
|
|
618
|
-
const message = ( localize(
|
|
618
|
+
const message = ( localize(2392, 'Total {0} Problems', total));
|
|
619
619
|
this.activity.value = this.activityService.showViewActivity(Markers.MARKERS_VIEW_ID, { badge: ( (new NumberBadge(total, () => message))) });
|
|
620
620
|
}
|
|
621
621
|
else {
|
|
@@ -23,7 +23,7 @@ import { Extensions } from 'vscode/vscode/vs/platform/configuration/common/confi
|
|
|
23
23
|
class MarkersDecorationsProvider {
|
|
24
24
|
constructor(_markerService) {
|
|
25
25
|
this._markerService = _markerService;
|
|
26
|
-
this.label = ( localize(
|
|
26
|
+
this.label = ( localize(5654, "Problems"));
|
|
27
27
|
this.onDidChange = _markerService.onMarkerChanged;
|
|
28
28
|
}
|
|
29
29
|
provideDecorations(resource) {
|
|
@@ -43,7 +43,7 @@ class MarkersDecorationsProvider {
|
|
|
43
43
|
return {
|
|
44
44
|
weight: 100 * first.severity,
|
|
45
45
|
bubble: true,
|
|
46
|
-
tooltip: markers.length === 1 ? ( localize(
|
|
46
|
+
tooltip: markers.length === 1 ? ( localize(5655, "1 problem in this file")) : ( localize(5656, "{0} problems in this file", markers.length)),
|
|
47
47
|
letter: markers.length < 10 ? ( (markers.length.toString())) : '9+',
|
|
48
48
|
color: first.severity === MarkerSeverity.Error ? listErrorForeground : listWarningForeground,
|
|
49
49
|
};
|
|
@@ -103,7 +103,7 @@ MarkersFileDecorations = ( (__decorate([
|
|
|
103
103
|
'properties': {
|
|
104
104
|
'problems.decorations.enabled': {
|
|
105
105
|
'markdownDescription': ( localize(
|
|
106
|
-
|
|
106
|
+
5657,
|
|
107
107
|
"Show Errors & Warnings on files and folder. Overwritten by {0} when it is off.",
|
|
108
108
|
'`#problems.visibility#`'
|
|
109
109
|
)),
|
|
@@ -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(10257, "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(10258, "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(10259, "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(10260, "Source")),
|
|
254
254
|
tooltip: '',
|
|
255
255
|
weight: 1,
|
|
256
256
|
minimumWidth: 100,
|
|
@@ -46,7 +46,7 @@ let MarkersWidgetAccessibilityProvider = class MarkersWidgetAccessibilityProvide
|
|
|
46
46
|
this.labelService = labelService;
|
|
47
47
|
}
|
|
48
48
|
getWidgetAriaLabel() {
|
|
49
|
-
return ( localize(
|
|
49
|
+
return ( localize(10252, "Problems View"));
|
|
50
50
|
}
|
|
51
51
|
getAriaLabel(element) {
|
|
52
52
|
if (element instanceof ResourceMarkers) {
|
|
@@ -175,11 +175,11 @@ MarkerRenderer = ( (__decorate([
|
|
|
175
175
|
( (__param(3, IOpenerService)))
|
|
176
176
|
], MarkerRenderer)));
|
|
177
177
|
const expandedIcon = registerIcon('markers-view-multi-line-expanded', Codicon.chevronUp, ( localize(
|
|
178
|
-
|
|
178
|
+
10253,
|
|
179
179
|
'Icon indicating that multiple lines are shown in the markers view.'
|
|
180
180
|
)));
|
|
181
181
|
const collapsedIcon = registerIcon('markers-view-multi-line-collapsed', Codicon.chevronDown, ( localize(
|
|
182
|
-
|
|
182
|
+
10254,
|
|
183
183
|
'Icon indicating that multiple lines are collapsed in the markers view.'
|
|
184
184
|
)));
|
|
185
185
|
const toggleMultilineAction = 'problems.action.toggleMultiline';
|
|
@@ -258,7 +258,7 @@ class MarkerWidget extends Disposable {
|
|
|
258
258
|
const multiline = viewModel && viewModel.multiline;
|
|
259
259
|
const action = ( (new Action(toggleMultilineAction)));
|
|
260
260
|
action.enabled = !!viewModel && marker.lines.length > 1;
|
|
261
|
-
action.tooltip = multiline ? ( localize(
|
|
261
|
+
action.tooltip = multiline ? ( localize(10255, "Show message in single line")) : ( localize(10256, "Show message in multiple lines"));
|
|
262
262
|
action.class = ThemeIcon.asClassName(multiline ? expandedIcon : collapsedIcon);
|
|
263
263
|
action.run = () => { if (viewModel) {
|
|
264
264
|
viewModel.multiline = !viewModel.multiline;
|
|
@@ -175,7 +175,7 @@ let MarkersView = class MarkersView extends FilterViewPane {
|
|
|
175
175
|
this.filterWidget.focus();
|
|
176
176
|
}
|
|
177
177
|
updateBadge(total, filtered) {
|
|
178
|
-
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(
|
|
178
|
+
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(5658, "Showing {0} of {1}", filtered, total)));
|
|
179
179
|
}
|
|
180
180
|
checkMoreFilters() {
|
|
181
181
|
this.filterWidget.checkMoreFilters(!this.filters.showErrors || !this.filters.showWarnings || !this.filters.showInfos || this.filters.excludedFiles || this.filters.activeFile);
|
|
@@ -557,10 +557,10 @@ let MarkersView = class MarkersView extends FilterViewPane {
|
|
|
557
557
|
else {
|
|
558
558
|
this.messageBoxContainer.style.display = 'none';
|
|
559
559
|
if (filtered === total) {
|
|
560
|
-
this.setAriaLabel(( localize(
|
|
560
|
+
this.setAriaLabel(( localize(5659, "Showing {0} problems", total)));
|
|
561
561
|
}
|
|
562
562
|
else {
|
|
563
|
-
this.setAriaLabel(( localize(
|
|
563
|
+
this.setAriaLabel(( localize(5660, "Showing {0} of {1} problems", filtered, total)));
|
|
564
564
|
}
|
|
565
565
|
this.messageBoxContainer.removeAttribute('tabIndex');
|
|
566
566
|
}
|
|
@@ -577,7 +577,7 @@ let MarkersView = class MarkersView extends FilterViewPane {
|
|
|
577
577
|
const span1 = append(container, $('span'));
|
|
578
578
|
span1.textContent = Messages.MARKERS_PANEL_NO_PROBLEMS_FILTERS;
|
|
579
579
|
const link = append(container, $('a.messageAction'));
|
|
580
|
-
link.textContent = ( localize(
|
|
580
|
+
link.textContent = ( localize(5661, "Clear Filters"));
|
|
581
581
|
link.setAttribute('tabIndex', '0');
|
|
582
582
|
const span2 = append(container, $('span'));
|
|
583
583
|
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(5662, "Toggle Problems (Errors, Warnings, Infos)")); }
|
|
7
|
+
static { this.MARKERS_PANEL_SHOW_LABEL = ( localize2(5663, "Focus Problems (Errors, Warnings, Infos)")); }
|
|
8
|
+
static { this.PROBLEMS_PANEL_CONFIGURATION_TITLE = ( localize(5664, "Problems View")); }
|
|
9
9
|
static { this.PROBLEMS_PANEL_CONFIGURATION_AUTO_REVEAL = ( localize(
|
|
10
|
-
|
|
10
|
+
5665,
|
|
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(5666, "Controls the default view mode of the Problems view.")); }
|
|
14
|
+
static { this.PROBLEMS_PANEL_CONFIGURATION_SHOW_CURRENT_STATUS = ( localize(5667, "When enabled shows the current problem in the status bar.")); }
|
|
15
|
+
static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER = ( localize(5668, "Controls the order in which problems are navigated.")); }
|
|
16
|
+
static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_SEVERITY = ( localize(5669, "Navigate problems ordered by severity")); }
|
|
17
|
+
static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_POSITION = ( localize(5670, "Navigate problems ordered by position")); }
|
|
18
|
+
static { this.MARKERS_PANEL_TITLE_PROBLEMS = ( localize2(5671, "Problems")); }
|
|
19
|
+
static { this.MARKERS_PANEL_NO_PROBLEMS_BUILT = ( localize(5672, "No problems have been detected in the workspace.")); }
|
|
20
|
+
static { this.MARKERS_PANEL_NO_PROBLEMS_ACTIVE_FILE_BUILT = ( localize(5673, "No problems have been detected in the current file.")); }
|
|
21
|
+
static { this.MARKERS_PANEL_NO_PROBLEMS_FILTERS = ( localize(5674, "No results found with provided filter criteria.")); }
|
|
22
|
+
static { this.MARKERS_PANEL_ACTION_TOOLTIP_MORE_FILTERS = ( localize(5675, "More Filters...")); }
|
|
23
|
+
static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_ERRORS = ( localize(5676, "Show Errors")); }
|
|
24
|
+
static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_WARNINGS = ( localize(5677, "Show Warnings")); }
|
|
25
|
+
static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_INFOS = ( localize(5678, "Show Infos")); }
|
|
26
|
+
static { this.MARKERS_PANEL_FILTER_LABEL_EXCLUDED_FILES = ( localize(5679, "Hide Excluded Files")); }
|
|
27
|
+
static { this.MARKERS_PANEL_FILTER_LABEL_ACTIVE_FILE = ( localize(5680, "Show Active File Only")); }
|
|
28
|
+
static { this.MARKERS_PANEL_ACTION_TOOLTIP_FILTER = ( localize(5681, "Filter Problems")); }
|
|
29
|
+
static { this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = ( localize(5682, "Show fixes")); }
|
|
30
|
+
static { this.MARKERS_PANEL_FILTER_ARIA_LABEL = ( localize(5683, "Filter Problems")); }
|
|
31
|
+
static { this.MARKERS_PANEL_FILTER_PLACEHOLDER = ( localize(5684, "Filter (e.g. text, **/*.ts, !**/node_modules/**)")); }
|
|
32
|
+
static { this.MARKERS_PANEL_FILTER_ERRORS = ( localize(5685, "errors")); }
|
|
33
|
+
static { this.MARKERS_PANEL_FILTER_WARNINGS = ( localize(5686, "warnings")); }
|
|
34
|
+
static { this.MARKERS_PANEL_FILTER_INFOS = ( localize(5687, "infos")); }
|
|
35
|
+
static { this.MARKERS_PANEL_SINGLE_ERROR_LABEL = ( localize(5688, "1 Error")); }
|
|
36
|
+
static { this.MARKERS_PANEL_MULTIPLE_ERRORS_LABEL = (noOfErrors) => { return ( localize(5689, "{0} Errors", '' + noOfErrors)); }; }
|
|
37
|
+
static { this.MARKERS_PANEL_SINGLE_WARNING_LABEL = ( localize(5690, "1 Warning")); }
|
|
38
|
+
static { this.MARKERS_PANEL_MULTIPLE_WARNINGS_LABEL = (noOfWarnings) => { return ( localize(5691, "{0} Warnings", '' + noOfWarnings)); }; }
|
|
39
|
+
static { this.MARKERS_PANEL_SINGLE_INFO_LABEL = ( localize(5692, "1 Info")); }
|
|
40
|
+
static { this.MARKERS_PANEL_MULTIPLE_INFOS_LABEL = (noOfInfos) => { return ( localize(5693, "{0} Infos", '' + noOfInfos)); }; }
|
|
41
|
+
static { this.MARKERS_PANEL_SINGLE_UNKNOWN_LABEL = ( localize(5694, "1 Unknown")); }
|
|
42
|
+
static { this.MARKERS_PANEL_MULTIPLE_UNKNOWNS_LABEL = (noOfUnknowns) => { return ( localize(5695, "{0} Unknowns", '' + noOfUnknowns)); }; }
|
|
43
|
+
static { this.MARKERS_PANEL_AT_LINE_COL_NUMBER = (ln, col) => { return ( localize(5696, "[Ln {0}, Col {1}]", '' + ln, '' + col)); }; }
|
|
44
44
|
static { this.MARKERS_TREE_ARIA_LABEL_RESOURCE = (noOfProblems, fileName, folder) => { return ( localize(
|
|
45
|
-
|
|
45
|
+
5697,
|
|
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
|
+
5698,
|
|
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
|
+
5699,
|
|
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
|
+
5700,
|
|
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
|
+
5701,
|
|
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
|
+
5702,
|
|
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
|
+
5703,
|
|
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
|
+
5704,
|
|
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
|
+
5705,
|
|
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
|
+
5706,
|
|
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
|
+
5707,
|
|
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(5708, "Show Errors and Warnings")); }
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
export { Messages as default };
|