@codingame/monaco-vscode-markers-service-override 7.1.0 → 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 +36 -37
- package/vscode/src/vs/workbench/contrib/markers/browser/markersFileDecorations.js +5 -7
- package/vscode/src/vs/workbench/contrib/markers/browser/markersTable.js +5 -6
- package/vscode/src/vs/workbench/contrib/markers/browser/markersTreeViewer.js +7 -10
- package/vscode/src/vs/workbench/contrib/markers/browser/markersView.js +5 -6
- package/vscode/src/vs/workbench/contrib/markers/browser/messages.js +60 -73
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
|
}
|
|
@@ -5,7 +5,7 @@ import { Extensions } from 'vscode/vscode/vs/platform/configuration/common/confi
|
|
|
5
5
|
import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
|
|
6
6
|
import { KeybindingsRegistry, KeybindingWeight } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
|
|
7
7
|
import { KeyCode, KeyMod } from 'vscode/vscode/vs/base/common/keyCodes';
|
|
8
|
-
import {
|
|
8
|
+
import { localize, localize2 } from 'vscode/vscode/vs/nls';
|
|
9
9
|
import { Marker, ResourceMarkers, RelatedInformation } from './markersModel.js';
|
|
10
10
|
import { MarkersView } from './markersView.js';
|
|
11
11
|
import { registerAction2, MenuId, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
|
|
@@ -33,7 +33,6 @@ import { viewFilterSubmenu } from 'vscode/vscode/vs/workbench/browser/parts/view
|
|
|
33
33
|
import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration.service';
|
|
34
34
|
import { problemsConfigurationNodeBase } from 'vscode/vscode/vs/workbench/common/configuration';
|
|
35
35
|
|
|
36
|
-
const _moduleId = "vs/workbench/contrib/markers/browser/markers.contribution";
|
|
37
36
|
KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
38
37
|
id: Markers.MARKER_OPEN_ACTION_ID,
|
|
39
38
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -114,7 +113,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
|
|
|
114
113
|
},
|
|
115
114
|
}
|
|
116
115
|
});
|
|
117
|
-
const markersViewIcon = registerIcon('markers-view-icon', Codicon.warning, (
|
|
116
|
+
const markersViewIcon = registerIcon('markers-view-icon', Codicon.warning, ( localize(1764, 'View icon of the markers view.')));
|
|
118
117
|
const VIEW_CONTAINER = ( (Registry.as(Extensions$1.ViewContainersRegistry))).registerViewContainer({
|
|
119
118
|
id: Markers.MARKERS_CONTAINER_ID,
|
|
120
119
|
title: Messages.MARKERS_PANEL_TITLE_PROBLEMS,
|
|
@@ -136,7 +135,7 @@ const VIEW_CONTAINER = ( (Registry.as(Extensions$1.ViewContainersRegistry))).reg
|
|
|
136
135
|
ctorDescriptor: ( (new SyncDescriptor(MarkersView))),
|
|
137
136
|
openCommandActionDescriptor: {
|
|
138
137
|
id: 'workbench.actions.view.problems',
|
|
139
|
-
mnemonicTitle: (
|
|
138
|
+
mnemonicTitle: ( localize(1765, "&&Problems")),
|
|
140
139
|
keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyM },
|
|
141
140
|
order: 0,
|
|
142
141
|
}
|
|
@@ -146,7 +145,7 @@ registerAction2(class extends ViewAction {
|
|
|
146
145
|
constructor() {
|
|
147
146
|
super({
|
|
148
147
|
id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTree`,
|
|
149
|
-
title: (
|
|
148
|
+
title: ( localize(1766, "View as Tree")),
|
|
150
149
|
menu: {
|
|
151
150
|
id: MenuId.ViewTitle,
|
|
152
151
|
when: ( (ContextKeyExpr.and(
|
|
@@ -168,7 +167,7 @@ registerAction2(class extends ViewAction {
|
|
|
168
167
|
constructor() {
|
|
169
168
|
super({
|
|
170
169
|
id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTable`,
|
|
171
|
-
title: (
|
|
170
|
+
title: ( localize(1767, "View as Table")),
|
|
172
171
|
menu: {
|
|
173
172
|
id: MenuId.ViewTitle,
|
|
174
173
|
when: ( (ContextKeyExpr.and(
|
|
@@ -190,8 +189,8 @@ registerAction2(class extends ViewAction {
|
|
|
190
189
|
constructor() {
|
|
191
190
|
super({
|
|
192
191
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleErrors`,
|
|
193
|
-
title: (
|
|
194
|
-
category: (
|
|
192
|
+
title: ( localize(1768, "Show Errors")),
|
|
193
|
+
category: ( localize(1769, "Problems")),
|
|
195
194
|
toggled: MarkersContextKeys.ShowErrorsFilterContextKey,
|
|
196
195
|
menu: {
|
|
197
196
|
id: viewFilterSubmenu,
|
|
@@ -210,8 +209,8 @@ registerAction2(class extends ViewAction {
|
|
|
210
209
|
constructor() {
|
|
211
210
|
super({
|
|
212
211
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleWarnings`,
|
|
213
|
-
title: (
|
|
214
|
-
category: (
|
|
212
|
+
title: ( localize(1770, "Show Warnings")),
|
|
213
|
+
category: ( localize(1770, "Problems")),
|
|
215
214
|
toggled: MarkersContextKeys.ShowWarningsFilterContextKey,
|
|
216
215
|
menu: {
|
|
217
216
|
id: viewFilterSubmenu,
|
|
@@ -230,8 +229,8 @@ registerAction2(class extends ViewAction {
|
|
|
230
229
|
constructor() {
|
|
231
230
|
super({
|
|
232
231
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleInfos`,
|
|
233
|
-
title: (
|
|
234
|
-
category: (
|
|
232
|
+
title: ( localize(1771, "Show Infos")),
|
|
233
|
+
category: ( localize(1771, "Problems")),
|
|
235
234
|
toggled: MarkersContextKeys.ShowInfoFilterContextKey,
|
|
236
235
|
menu: {
|
|
237
236
|
id: viewFilterSubmenu,
|
|
@@ -250,8 +249,8 @@ registerAction2(class extends ViewAction {
|
|
|
250
249
|
constructor() {
|
|
251
250
|
super({
|
|
252
251
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleActiveFile`,
|
|
253
|
-
title: (
|
|
254
|
-
category: (
|
|
252
|
+
title: ( localize(1772, "Show Active File Only")),
|
|
253
|
+
category: ( localize(1772, "Problems")),
|
|
255
254
|
toggled: MarkersContextKeys.ShowActiveFileFilterContextKey,
|
|
256
255
|
menu: {
|
|
257
256
|
id: viewFilterSubmenu,
|
|
@@ -270,8 +269,8 @@ registerAction2(class extends ViewAction {
|
|
|
270
269
|
constructor() {
|
|
271
270
|
super({
|
|
272
271
|
id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleExcludedFiles`,
|
|
273
|
-
title: (
|
|
274
|
-
category: (
|
|
272
|
+
title: ( localize(1773, "Show Excluded Files")),
|
|
273
|
+
category: ( localize(1773, "Problems")),
|
|
275
274
|
toggled: ( (MarkersContextKeys.ShowExcludedFilesFilterContextKey.negate())),
|
|
276
275
|
menu: {
|
|
277
276
|
id: viewFilterSubmenu,
|
|
@@ -308,7 +307,7 @@ registerAction2(class extends ViewAction {
|
|
|
308
307
|
)));
|
|
309
308
|
super({
|
|
310
309
|
id: Markers.MARKER_COPY_ACTION_ID,
|
|
311
|
-
title: (
|
|
310
|
+
title: ( localize2(1774, 'Copy')),
|
|
312
311
|
menu: {
|
|
313
312
|
id: MenuId.ProblemsPanelContext,
|
|
314
313
|
when,
|
|
@@ -348,7 +347,7 @@ registerAction2(class extends ViewAction {
|
|
|
348
347
|
constructor() {
|
|
349
348
|
super({
|
|
350
349
|
id: Markers.MARKER_COPY_MESSAGE_ACTION_ID,
|
|
351
|
-
title: (
|
|
350
|
+
title: ( localize2(1775, 'Copy Message')),
|
|
352
351
|
menu: {
|
|
353
352
|
id: MenuId.ProblemsPanelContext,
|
|
354
353
|
when: MarkersContextKeys.MarkerFocusContextKey,
|
|
@@ -369,7 +368,7 @@ registerAction2(class extends ViewAction {
|
|
|
369
368
|
constructor() {
|
|
370
369
|
super({
|
|
371
370
|
id: Markers.RELATED_INFORMATION_COPY_MESSAGE_ACTION_ID,
|
|
372
|
-
title: (
|
|
371
|
+
title: ( localize2(1775, 'Copy Message')),
|
|
373
372
|
menu: {
|
|
374
373
|
id: MenuId.ProblemsPanelContext,
|
|
375
374
|
when: MarkersContextKeys.RelatedInformationFocusContextKey,
|
|
@@ -390,7 +389,7 @@ registerAction2(class extends ViewAction {
|
|
|
390
389
|
constructor() {
|
|
391
390
|
super({
|
|
392
391
|
id: Markers.FOCUS_PROBLEMS_FROM_FILTER,
|
|
393
|
-
title: (
|
|
392
|
+
title: ( localize(1776, "Focus problems view")),
|
|
394
393
|
keybinding: {
|
|
395
394
|
when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
|
|
396
395
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -407,7 +406,7 @@ registerAction2(class extends ViewAction {
|
|
|
407
406
|
constructor() {
|
|
408
407
|
super({
|
|
409
408
|
id: Markers.MARKERS_VIEW_FOCUS_FILTER,
|
|
410
|
-
title: (
|
|
409
|
+
title: ( localize(1777, "Focus problems filter")),
|
|
411
410
|
keybinding: {
|
|
412
411
|
when: ( (FocusedViewContext.isEqualTo(Markers.MARKERS_VIEW_ID))),
|
|
413
412
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -424,8 +423,8 @@ registerAction2(class extends ViewAction {
|
|
|
424
423
|
constructor() {
|
|
425
424
|
super({
|
|
426
425
|
id: Markers.MARKERS_VIEW_SHOW_MULTILINE_MESSAGE,
|
|
427
|
-
title: (
|
|
428
|
-
category: (
|
|
426
|
+
title: ( localize2(1778, "Show message in multiple lines")),
|
|
427
|
+
category: ( localize(1778, "Problems")),
|
|
429
428
|
menu: {
|
|
430
429
|
id: MenuId.CommandPalette,
|
|
431
430
|
when: ( (ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID))))
|
|
@@ -441,8 +440,8 @@ registerAction2(class extends ViewAction {
|
|
|
441
440
|
constructor() {
|
|
442
441
|
super({
|
|
443
442
|
id: Markers.MARKERS_VIEW_SHOW_SINGLELINE_MESSAGE,
|
|
444
|
-
title: (
|
|
445
|
-
category: (
|
|
443
|
+
title: ( localize2(1779, "Show message in single line")),
|
|
444
|
+
category: ( localize(1779, "Problems")),
|
|
446
445
|
menu: {
|
|
447
446
|
id: MenuId.CommandPalette,
|
|
448
447
|
when: ( (ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID))))
|
|
@@ -458,8 +457,8 @@ registerAction2(class extends ViewAction {
|
|
|
458
457
|
constructor() {
|
|
459
458
|
super({
|
|
460
459
|
id: Markers.MARKERS_VIEW_CLEAR_FILTER_TEXT,
|
|
461
|
-
title: (
|
|
462
|
-
category: (
|
|
460
|
+
title: ( localize(1780, "Clear filters text")),
|
|
461
|
+
category: ( localize(1780, "Problems")),
|
|
463
462
|
keybinding: {
|
|
464
463
|
when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
|
|
465
464
|
weight: KeybindingWeight.WorkbenchContrib,
|
|
@@ -476,7 +475,7 @@ registerAction2(class extends ViewAction {
|
|
|
476
475
|
constructor() {
|
|
477
476
|
super({
|
|
478
477
|
id: `workbench.actions.treeView.${Markers.MARKERS_VIEW_ID}.collapseAll`,
|
|
479
|
-
title: (
|
|
478
|
+
title: ( localize(1781, "Collapse All")),
|
|
480
479
|
menu: {
|
|
481
480
|
id: MenuId.ViewTitle,
|
|
482
481
|
when: ( (ContextKeyExpr.and(
|
|
@@ -546,7 +545,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
546
545
|
const markersStatistics = this.markerService.getStatistics();
|
|
547
546
|
const tooltip = this.getMarkersTooltip(markersStatistics);
|
|
548
547
|
return {
|
|
549
|
-
name: (
|
|
548
|
+
name: ( localize(1782, "Problems")),
|
|
550
549
|
text: this.getMarkersText(markersStatistics),
|
|
551
550
|
ariaLabel: tooltip,
|
|
552
551
|
tooltip,
|
|
@@ -557,9 +556,9 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
557
556
|
this.statusbarService.updateEntryVisibility('status.problemsVisibility', true);
|
|
558
557
|
const openSettingsCommand = 'workbench.action.openSettings';
|
|
559
558
|
const configureSettingsLabel = '@id:problems.visibility';
|
|
560
|
-
const tooltip = (
|
|
559
|
+
const tooltip = ( localize(1783, "Problems are turned off. Click to open settings."));
|
|
561
560
|
return {
|
|
562
|
-
name: (
|
|
561
|
+
name: ( localize(1784, "Problems Visibility")),
|
|
563
562
|
text: '$(whole-word)',
|
|
564
563
|
ariaLabel: tooltip,
|
|
565
564
|
tooltip,
|
|
@@ -568,9 +567,9 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
568
567
|
};
|
|
569
568
|
}
|
|
570
569
|
getMarkersTooltip(stats) {
|
|
571
|
-
const errorTitle = (n) => (
|
|
572
|
-
const warningTitle = (n) => (
|
|
573
|
-
const infoTitle = (n) => (
|
|
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));
|
|
574
573
|
const titles = [];
|
|
575
574
|
if (stats.errors > 0) {
|
|
576
575
|
titles.push(errorTitle(stats.errors));
|
|
@@ -582,7 +581,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
582
581
|
titles.push(infoTitle(stats.infos));
|
|
583
582
|
}
|
|
584
583
|
if (titles.length === 0) {
|
|
585
|
-
return (
|
|
584
|
+
return ( localize(1788, "No Problems"));
|
|
586
585
|
}
|
|
587
586
|
return titles.join(', ');
|
|
588
587
|
}
|
|
@@ -596,7 +595,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
|
|
|
596
595
|
return problemsText.join(' ');
|
|
597
596
|
}
|
|
598
597
|
packNumber(n) {
|
|
599
|
-
const manyProblems = (
|
|
598
|
+
const manyProblems = ( localize(1789, "10K+"));
|
|
600
599
|
return n > 9999 ? manyProblems : n > 999 ? ( (n.toString())).charAt(0) + 'K' : ( (n.toString()));
|
|
601
600
|
}
|
|
602
601
|
};
|
|
@@ -619,7 +618,7 @@ let ActivityUpdater = class ActivityUpdater extends Disposable {
|
|
|
619
618
|
const { errors, warnings, infos } = this.markerService.getStatistics();
|
|
620
619
|
const total = errors + warnings + infos;
|
|
621
620
|
if (total > 0) {
|
|
622
|
-
const message = (
|
|
621
|
+
const message = ( localize(1790, 'Total {0} Problems', total));
|
|
623
622
|
this.activity.value = this.activityService.showViewActivity(Markers.MARKERS_VIEW_ID, { badge: ( (new NumberBadge(total, () => message))) });
|
|
624
623
|
}
|
|
625
624
|
else {
|
|
@@ -4,7 +4,7 @@ import { MarkerSeverity } from 'vscode/vscode/vs/platform/markers/common/markers
|
|
|
4
4
|
import { IMarkerService } from 'vscode/vscode/vs/platform/markers/common/markers.service';
|
|
5
5
|
import { IDecorationsService } from 'vscode/vscode/vs/workbench/services/decorations/common/decorations.service';
|
|
6
6
|
import { dispose } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
7
|
-
import {
|
|
7
|
+
import { localize } from 'vscode/vscode/vs/nls';
|
|
8
8
|
import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
|
|
9
9
|
import 'vscode/vscode/vs/platform/theme/common/colorUtils';
|
|
10
10
|
import 'vscode/vscode/vs/platform/theme/common/colors/baseColors';
|
|
@@ -21,11 +21,10 @@ import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/c
|
|
|
21
21
|
import { Extensions } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
|
|
22
22
|
import { LifecyclePhase } from 'vscode/vscode/vs/workbench/services/lifecycle/common/lifecycle';
|
|
23
23
|
|
|
24
|
-
const _moduleId = "vs/workbench/contrib/markers/browser/markersFileDecorations";
|
|
25
24
|
class MarkersDecorationsProvider {
|
|
26
25
|
constructor(_markerService) {
|
|
27
26
|
this._markerService = _markerService;
|
|
28
|
-
this.label = (
|
|
27
|
+
this.label = ( localize(5515, "Problems"));
|
|
29
28
|
this.onDidChange = _markerService.onMarkerChanged;
|
|
30
29
|
}
|
|
31
30
|
provideDecorations(resource) {
|
|
@@ -45,7 +44,7 @@ class MarkersDecorationsProvider {
|
|
|
45
44
|
return {
|
|
46
45
|
weight: 100 * first.severity,
|
|
47
46
|
bubble: true,
|
|
48
|
-
tooltip: markers.length === 1 ? (
|
|
47
|
+
tooltip: markers.length === 1 ? ( localize(5516, "1 problem in this file")) : ( localize(5517, "{0} problems in this file", markers.length)),
|
|
49
48
|
letter: markers.length < 10 ? ( (markers.length.toString())) : '9+',
|
|
50
49
|
color: first.severity === MarkerSeverity.Error ? listErrorForeground : listWarningForeground,
|
|
51
50
|
};
|
|
@@ -104,9 +103,8 @@ MarkersFileDecorations = ( (__decorate([
|
|
|
104
103
|
'type': 'object',
|
|
105
104
|
'properties': {
|
|
106
105
|
'problems.decorations.enabled': {
|
|
107
|
-
'markdownDescription': (
|
|
108
|
-
|
|
109
|
-
3,
|
|
106
|
+
'markdownDescription': ( localize(
|
|
107
|
+
5518,
|
|
110
108
|
"Show Errors & Warnings on files and folder. Overwritten by {0} when it is off.",
|
|
111
109
|
'`#problems.visibility#`'
|
|
112
110
|
)),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { __decorate, __param } from 'vscode/external/tslib/tslib.es6.js';
|
|
2
|
-
import {
|
|
2
|
+
import { localize } from 'vscode/vscode/vs/nls';
|
|
3
3
|
import { $ as $$1, append, findParentWithClass } from 'vscode/vscode/vs/base/browser/dom';
|
|
4
4
|
import { Event } from 'vscode/vscode/vs/base/common/event';
|
|
5
5
|
import { DisposableStore, Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
|
|
@@ -24,7 +24,6 @@ import Severity$1 from 'vscode/vscode/vs/base/common/severity';
|
|
|
24
24
|
import { IHoverService } from 'vscode/vscode/vs/platform/hover/browser/hover.service';
|
|
25
25
|
|
|
26
26
|
var MarkerSeverityColumnRenderer_1, MarkerCodeColumnRenderer_1, MarkerFileColumnRenderer_1;
|
|
27
|
-
const _moduleId = "vs/workbench/contrib/markers/browser/markersTable";
|
|
28
27
|
const $ = $$1;
|
|
29
28
|
let MarkerSeverityColumnRenderer = class MarkerSeverityColumnRenderer {
|
|
30
29
|
static { MarkerSeverityColumnRenderer_1 = this; }
|
|
@@ -228,7 +227,7 @@ let MarkersTable = class MarkersTable extends Disposable {
|
|
|
228
227
|
project(row) { return row; }
|
|
229
228
|
},
|
|
230
229
|
{
|
|
231
|
-
label: (
|
|
230
|
+
label: ( localize(10087, "Code")),
|
|
232
231
|
tooltip: '',
|
|
233
232
|
weight: 1,
|
|
234
233
|
minimumWidth: 100,
|
|
@@ -237,21 +236,21 @@ let MarkersTable = class MarkersTable extends Disposable {
|
|
|
237
236
|
project(row) { return row; }
|
|
238
237
|
},
|
|
239
238
|
{
|
|
240
|
-
label: (
|
|
239
|
+
label: ( localize(10088, "Message")),
|
|
241
240
|
tooltip: '',
|
|
242
241
|
weight: 4,
|
|
243
242
|
templateId: MarkerMessageColumnRenderer.TEMPLATE_ID,
|
|
244
243
|
project(row) { return row; }
|
|
245
244
|
},
|
|
246
245
|
{
|
|
247
|
-
label: (
|
|
246
|
+
label: ( localize(10089, "File")),
|
|
248
247
|
tooltip: '',
|
|
249
248
|
weight: 2,
|
|
250
249
|
templateId: MarkerFileColumnRenderer.TEMPLATE_ID,
|
|
251
250
|
project(row) { return row; }
|
|
252
251
|
},
|
|
253
252
|
{
|
|
254
|
-
label: (
|
|
253
|
+
label: ( localize(10090, "Source")),
|
|
255
254
|
tooltip: '',
|
|
256
255
|
weight: 1,
|
|
257
256
|
minimumWidth: 100,
|
|
@@ -18,7 +18,7 @@ import { FilterOptions } from './markersFilterOptions.js';
|
|
|
18
18
|
import { Emitter } from 'vscode/vscode/vs/base/common/event';
|
|
19
19
|
import { isUndefinedOrNull } from 'vscode/vscode/vs/base/common/types';
|
|
20
20
|
import { Action } from 'vscode/vscode/vs/base/common/actions';
|
|
21
|
-
import {
|
|
21
|
+
import { localize } from 'vscode/vscode/vs/nls';
|
|
22
22
|
import { createCancelablePromise, Delayer } from 'vscode/vscode/vs/base/common/async';
|
|
23
23
|
import { IModelService } from 'vscode/vscode/vs/editor/common/services/model';
|
|
24
24
|
import { Range } from 'vscode/vscode/vs/editor/common/core/range';
|
|
@@ -43,13 +43,12 @@ import Severity$1 from 'vscode/vscode/vs/base/common/severity';
|
|
|
43
43
|
import { getDefaultHoverDelegate } from 'vscode/vscode/vs/base/browser/ui/hover/hoverDelegateFactory';
|
|
44
44
|
import { IHoverService } from 'vscode/vscode/vs/platform/hover/browser/hover.service';
|
|
45
45
|
|
|
46
|
-
const _moduleId = "vs/workbench/contrib/markers/browser/markersTreeViewer";
|
|
47
46
|
let MarkersWidgetAccessibilityProvider = class MarkersWidgetAccessibilityProvider {
|
|
48
47
|
constructor(labelService) {
|
|
49
48
|
this.labelService = labelService;
|
|
50
49
|
}
|
|
51
50
|
getWidgetAriaLabel() {
|
|
52
|
-
return (
|
|
51
|
+
return ( localize(10082, "Problems View"));
|
|
53
52
|
}
|
|
54
53
|
getAriaLabel(element) {
|
|
55
54
|
if (element instanceof ResourceMarkers) {
|
|
@@ -189,14 +188,12 @@ MarkerRenderer = ( (__decorate([
|
|
|
189
188
|
( (__param(2, IInstantiationService))),
|
|
190
189
|
( (__param(3, IOpenerService)))
|
|
191
190
|
], MarkerRenderer)));
|
|
192
|
-
const expandedIcon = registerIcon('markers-view-multi-line-expanded', Codicon.chevronUp, (
|
|
193
|
-
|
|
194
|
-
1,
|
|
191
|
+
const expandedIcon = registerIcon('markers-view-multi-line-expanded', Codicon.chevronUp, ( localize(
|
|
192
|
+
10083,
|
|
195
193
|
'Icon indicating that multiple lines are shown in the markers view.'
|
|
196
194
|
)));
|
|
197
|
-
const collapsedIcon = registerIcon('markers-view-multi-line-collapsed', Codicon.chevronDown, (
|
|
198
|
-
|
|
199
|
-
2,
|
|
195
|
+
const collapsedIcon = registerIcon('markers-view-multi-line-collapsed', Codicon.chevronDown, ( localize(
|
|
196
|
+
10084,
|
|
200
197
|
'Icon indicating that multiple lines are collapsed in the markers view.'
|
|
201
198
|
)));
|
|
202
199
|
const toggleMultilineAction = 'problems.action.toggleMultiline';
|
|
@@ -275,7 +272,7 @@ class MarkerWidget extends Disposable {
|
|
|
275
272
|
const multiline = viewModel && viewModel.multiline;
|
|
276
273
|
const action = ( (new Action(toggleMultilineAction)));
|
|
277
274
|
action.enabled = !!viewModel && marker.lines.length > 1;
|
|
278
|
-
action.tooltip = multiline ? (
|
|
275
|
+
action.tooltip = multiline ? ( localize(10085, "Show message in single line")) : ( localize(10086, "Show message in multiple lines"));
|
|
279
276
|
action.class = ThemeIcon.asClassName(multiline ? expandedIcon : collapsedIcon);
|
|
280
277
|
action.run = () => { if (viewModel) {
|
|
281
278
|
viewModel.multiline = !viewModel.multiline;
|
|
@@ -14,7 +14,7 @@ import { RangeHighlightDecorations } from 'vscode/vscode/vs/workbench/browser/co
|
|
|
14
14
|
import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService.service';
|
|
15
15
|
import { StorageScope, StorageTarget } from 'vscode/vscode/vs/platform/storage/common/storage';
|
|
16
16
|
import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage.service';
|
|
17
|
-
import {
|
|
17
|
+
import { localize } from 'vscode/vscode/vs/nls';
|
|
18
18
|
import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey.service';
|
|
19
19
|
import { Iterable } from 'vscode/vscode/vs/base/common/iterator';
|
|
20
20
|
import { Event, Relay } from 'vscode/vscode/vs/base/common/event';
|
|
@@ -50,7 +50,6 @@ import { registerNavigableContainer } from 'vscode/vscode/vs/workbench/browser/a
|
|
|
50
50
|
import { IHoverService } from 'vscode/vscode/vs/platform/hover/browser/hover.service';
|
|
51
51
|
import { ResultKind } from 'vscode/vscode/vs/platform/keybinding/common/keybindingResolver';
|
|
52
52
|
|
|
53
|
-
const _moduleId = "vs/workbench/contrib/markers/browser/markersView";
|
|
54
53
|
function createResourceMarkersIterator(resourceMarkers) {
|
|
55
54
|
return (
|
|
56
55
|
(Iterable.map(resourceMarkers.markers, m => {
|
|
@@ -179,7 +178,7 @@ let MarkersView = class MarkersView extends FilterViewPane {
|
|
|
179
178
|
this.filterWidget.focus();
|
|
180
179
|
}
|
|
181
180
|
updateBadge(total, filtered) {
|
|
182
|
-
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : (
|
|
181
|
+
this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(5519, "Showing {0} of {1}", filtered, total)));
|
|
183
182
|
}
|
|
184
183
|
checkMoreFilters() {
|
|
185
184
|
this.filterWidget.checkMoreFilters(!this.filters.showErrors || !this.filters.showWarnings || !this.filters.showInfos || this.filters.excludedFiles || this.filters.activeFile);
|
|
@@ -561,10 +560,10 @@ let MarkersView = class MarkersView extends FilterViewPane {
|
|
|
561
560
|
else {
|
|
562
561
|
this.messageBoxContainer.style.display = 'none';
|
|
563
562
|
if (filtered === total) {
|
|
564
|
-
this.setAriaLabel((
|
|
563
|
+
this.setAriaLabel(( localize(5520, "Showing {0} problems", total)));
|
|
565
564
|
}
|
|
566
565
|
else {
|
|
567
|
-
this.setAriaLabel((
|
|
566
|
+
this.setAriaLabel(( localize(5521, "Showing {0} of {1} problems", filtered, total)));
|
|
568
567
|
}
|
|
569
568
|
this.messageBoxContainer.removeAttribute('tabIndex');
|
|
570
569
|
}
|
|
@@ -581,7 +580,7 @@ let MarkersView = class MarkersView extends FilterViewPane {
|
|
|
581
580
|
const span1 = append(container, $('span'));
|
|
582
581
|
span1.textContent = Messages.MARKERS_PANEL_NO_PROBLEMS_FILTERS;
|
|
583
582
|
const link = append(container, $('a.messageAction'));
|
|
584
|
-
link.textContent = (
|
|
583
|
+
link.textContent = ( localize(5522, "Clear Filters"));
|
|
585
584
|
link.setAttribute('tabIndex', '0');
|
|
586
585
|
const span2 = append(container, $('span'));
|
|
587
586
|
span2.textContent = '.';
|
|
@@ -1,68 +1,63 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { localize, localize2 } from 'vscode/vscode/vs/nls';
|
|
2
2
|
import { basename } from 'vscode/vscode/vs/base/common/resources';
|
|
3
3
|
import { MarkerSeverity } from 'vscode/vscode/vs/platform/markers/common/markers';
|
|
4
4
|
|
|
5
|
-
const _moduleId = "vs/workbench/contrib/markers/browser/messages";
|
|
6
5
|
class Messages {
|
|
7
|
-
static { this.MARKERS_PANEL_TOGGLE_LABEL = (
|
|
8
|
-
static { this.MARKERS_PANEL_SHOW_LABEL = (
|
|
9
|
-
static { this.PROBLEMS_PANEL_CONFIGURATION_TITLE = (
|
|
10
|
-
static { this.PROBLEMS_PANEL_CONFIGURATION_AUTO_REVEAL = (
|
|
11
|
-
|
|
12
|
-
3,
|
|
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
|
+
static { this.PROBLEMS_PANEL_CONFIGURATION_AUTO_REVEAL = ( localize(
|
|
10
|
+
5526,
|
|
13
11
|
"Controls whether Problems view should automatically reveal files when opening them."
|
|
14
12
|
)); }
|
|
15
|
-
static { this.PROBLEMS_PANEL_CONFIGURATION_VIEW_MODE = (
|
|
16
|
-
static { this.PROBLEMS_PANEL_CONFIGURATION_SHOW_CURRENT_STATUS = (
|
|
17
|
-
static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER = (
|
|
18
|
-
static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_SEVERITY = (
|
|
19
|
-
static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_POSITION = (
|
|
20
|
-
static { this.MARKERS_PANEL_TITLE_PROBLEMS = (
|
|
21
|
-
static { this.MARKERS_PANEL_NO_PROBLEMS_BUILT = (
|
|
22
|
-
static { this.MARKERS_PANEL_NO_PROBLEMS_ACTIVE_FILE_BUILT = (
|
|
23
|
-
static { this.MARKERS_PANEL_NO_PROBLEMS_FILTERS = (
|
|
24
|
-
static { this.MARKERS_PANEL_ACTION_TOOLTIP_MORE_FILTERS = (
|
|
25
|
-
static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_ERRORS = (
|
|
26
|
-
static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_WARNINGS = (
|
|
27
|
-
static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_INFOS = (
|
|
28
|
-
static { this.MARKERS_PANEL_FILTER_LABEL_EXCLUDED_FILES = (
|
|
29
|
-
static { this.MARKERS_PANEL_FILTER_LABEL_ACTIVE_FILE = (
|
|
30
|
-
static { this.MARKERS_PANEL_ACTION_TOOLTIP_FILTER = (
|
|
31
|
-
static { this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = (
|
|
32
|
-
static { this.MARKERS_PANEL_FILTER_ARIA_LABEL = (
|
|
33
|
-
static { this.MARKERS_PANEL_FILTER_PLACEHOLDER = (
|
|
34
|
-
static { this.MARKERS_PANEL_FILTER_ERRORS = (
|
|
35
|
-
static { this.MARKERS_PANEL_FILTER_WARNINGS = (
|
|
36
|
-
static { this.MARKERS_PANEL_FILTER_INFOS = (
|
|
37
|
-
static { this.MARKERS_PANEL_SINGLE_ERROR_LABEL = (
|
|
38
|
-
static { this.MARKERS_PANEL_MULTIPLE_ERRORS_LABEL = (noOfErrors) => { return (
|
|
39
|
-
static { this.MARKERS_PANEL_SINGLE_WARNING_LABEL = (
|
|
40
|
-
static { this.MARKERS_PANEL_MULTIPLE_WARNINGS_LABEL = (noOfWarnings) => { return (
|
|
41
|
-
static { this.MARKERS_PANEL_SINGLE_INFO_LABEL = (
|
|
42
|
-
static { this.MARKERS_PANEL_MULTIPLE_INFOS_LABEL = (noOfInfos) => { return (
|
|
43
|
-
static { this.MARKERS_PANEL_SINGLE_UNKNOWN_LABEL = (
|
|
44
|
-
static { this.MARKERS_PANEL_MULTIPLE_UNKNOWNS_LABEL = (noOfUnknowns) => { return (
|
|
45
|
-
static { this.MARKERS_PANEL_AT_LINE_COL_NUMBER = (ln, col) => { return (
|
|
46
|
-
static { this.MARKERS_TREE_ARIA_LABEL_RESOURCE = (noOfProblems, fileName, folder) => { return (
|
|
47
|
-
|
|
48
|
-
35,
|
|
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
|
+
static { this.MARKERS_TREE_ARIA_LABEL_RESOURCE = (noOfProblems, fileName, folder) => { return ( localize(
|
|
45
|
+
5558,
|
|
49
46
|
"{0} problems in file {1} of folder {2}",
|
|
50
47
|
noOfProblems,
|
|
51
48
|
fileName,
|
|
52
49
|
folder
|
|
53
50
|
)); }; }
|
|
54
51
|
static { this.MARKERS_TREE_ARIA_LABEL_MARKER = (marker) => {
|
|
55
|
-
const relatedInformationMessage = marker.relatedInformation.length ? (
|
|
56
|
-
|
|
57
|
-
36,
|
|
52
|
+
const relatedInformationMessage = marker.relatedInformation.length ? ( localize(
|
|
53
|
+
5559,
|
|
58
54
|
" This problem has references to {0} locations.",
|
|
59
55
|
marker.relatedInformation.length
|
|
60
56
|
)) : '';
|
|
61
57
|
switch (marker.marker.severity) {
|
|
62
58
|
case MarkerSeverity.Error:
|
|
63
|
-
return marker.marker.source ? (
|
|
64
|
-
|
|
65
|
-
37,
|
|
59
|
+
return marker.marker.source ? ( localize(
|
|
60
|
+
5560,
|
|
66
61
|
"Error: {0} at line {1} and character {2}.{3} generated by {4}",
|
|
67
62
|
marker.marker.message,
|
|
68
63
|
marker.marker.startLineNumber,
|
|
@@ -70,9 +65,8 @@ class Messages {
|
|
|
70
65
|
relatedInformationMessage,
|
|
71
66
|
marker.marker.source
|
|
72
67
|
))
|
|
73
|
-
: (
|
|
74
|
-
|
|
75
|
-
38,
|
|
68
|
+
: ( localize(
|
|
69
|
+
5561,
|
|
76
70
|
"Error: {0} at line {1} and character {2}.{3}",
|
|
77
71
|
marker.marker.message,
|
|
78
72
|
marker.marker.startLineNumber,
|
|
@@ -80,9 +74,8 @@ class Messages {
|
|
|
80
74
|
relatedInformationMessage
|
|
81
75
|
));
|
|
82
76
|
case MarkerSeverity.Warning:
|
|
83
|
-
return marker.marker.source ? (
|
|
84
|
-
|
|
85
|
-
39,
|
|
77
|
+
return marker.marker.source ? ( localize(
|
|
78
|
+
5562,
|
|
86
79
|
"Warning: {0} at line {1} and character {2}.{3} generated by {4}",
|
|
87
80
|
marker.marker.message,
|
|
88
81
|
marker.marker.startLineNumber,
|
|
@@ -90,9 +83,8 @@ class Messages {
|
|
|
90
83
|
relatedInformationMessage,
|
|
91
84
|
marker.marker.source
|
|
92
85
|
))
|
|
93
|
-
: (
|
|
94
|
-
|
|
95
|
-
40,
|
|
86
|
+
: ( localize(
|
|
87
|
+
5563,
|
|
96
88
|
"Warning: {0} at line {1} and character {2}.{3}",
|
|
97
89
|
marker.marker.message,
|
|
98
90
|
marker.marker.startLineNumber,
|
|
@@ -101,9 +93,8 @@ class Messages {
|
|
|
101
93
|
relatedInformationMessage
|
|
102
94
|
));
|
|
103
95
|
case MarkerSeverity.Info:
|
|
104
|
-
return marker.marker.source ? (
|
|
105
|
-
|
|
106
|
-
41,
|
|
96
|
+
return marker.marker.source ? ( localize(
|
|
97
|
+
5564,
|
|
107
98
|
"Info: {0} at line {1} and character {2}.{3} generated by {4}",
|
|
108
99
|
marker.marker.message,
|
|
109
100
|
marker.marker.startLineNumber,
|
|
@@ -111,9 +102,8 @@ class Messages {
|
|
|
111
102
|
relatedInformationMessage,
|
|
112
103
|
marker.marker.source
|
|
113
104
|
))
|
|
114
|
-
: (
|
|
115
|
-
|
|
116
|
-
42,
|
|
105
|
+
: ( localize(
|
|
106
|
+
5565,
|
|
117
107
|
"Info: {0} at line {1} and character {2}.{3}",
|
|
118
108
|
marker.marker.message,
|
|
119
109
|
marker.marker.startLineNumber,
|
|
@@ -121,9 +111,8 @@ class Messages {
|
|
|
121
111
|
relatedInformationMessage
|
|
122
112
|
));
|
|
123
113
|
default:
|
|
124
|
-
return marker.marker.source ? (
|
|
125
|
-
|
|
126
|
-
43,
|
|
114
|
+
return marker.marker.source ? ( localize(
|
|
115
|
+
5566,
|
|
127
116
|
"Problem: {0} at line {1} and character {2}.{3} generated by {4}",
|
|
128
117
|
marker.marker.source,
|
|
129
118
|
marker.marker.message,
|
|
@@ -132,9 +121,8 @@ class Messages {
|
|
|
132
121
|
relatedInformationMessage,
|
|
133
122
|
marker.marker.source
|
|
134
123
|
))
|
|
135
|
-
: (
|
|
136
|
-
|
|
137
|
-
44,
|
|
124
|
+
: ( localize(
|
|
125
|
+
5567,
|
|
138
126
|
"Problem: {0} at line {1} and character {2}.{3}",
|
|
139
127
|
marker.marker.message,
|
|
140
128
|
marker.marker.startLineNumber,
|
|
@@ -143,16 +131,15 @@ class Messages {
|
|
|
143
131
|
));
|
|
144
132
|
}
|
|
145
133
|
}; }
|
|
146
|
-
static { this.MARKERS_TREE_ARIA_LABEL_RELATED_INFORMATION = (relatedInformation) => (
|
|
147
|
-
|
|
148
|
-
45,
|
|
134
|
+
static { this.MARKERS_TREE_ARIA_LABEL_RELATED_INFORMATION = (relatedInformation) => ( localize(
|
|
135
|
+
5568,
|
|
149
136
|
"{0} at line {1} and character {2} in {3}",
|
|
150
137
|
relatedInformation.message,
|
|
151
138
|
relatedInformation.startLineNumber,
|
|
152
139
|
relatedInformation.startColumn,
|
|
153
140
|
basename(relatedInformation.resource)
|
|
154
141
|
)); }
|
|
155
|
-
static { this.SHOW_ERRORS_WARNINGS_ACTION_LABEL = (
|
|
142
|
+
static { this.SHOW_ERRORS_WARNINGS_ACTION_LABEL = ( localize(5569, "Show Errors and Warnings")); }
|
|
156
143
|
}
|
|
157
144
|
|
|
158
145
|
export { Messages as default };
|