@codingame/monaco-vscode-markers-service-override 16.1.1 → 17.1.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-markers-service-override",
3
- "version": "16.1.1",
3
+ "version": "17.1.0",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - markers service-override",
6
6
  "keywords": [],
@@ -15,14 +15,14 @@
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common": "16.1.1",
19
- "@codingame/monaco-vscode-3e369455-cc41-54c6-86fb-8b7cd999a5da-common": "16.1.1",
20
- "@codingame/monaco-vscode-4893679b-56e5-52c5-a8fb-c366cce9660f-common": "16.1.1",
21
- "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "16.1.1",
22
- "@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "16.1.1",
23
- "@codingame/monaco-vscode-ab07af84-42e8-5a0f-8aef-b83fb90ede21-common": "16.1.1",
24
- "@codingame/monaco-vscode-api": "16.1.1",
25
- "@codingame/monaco-vscode-e67a0dae-5b2c-54e6-8d61-90102c78362d-common": "16.1.1"
18
+ "@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common": "17.1.0",
19
+ "@codingame/monaco-vscode-a7c9ae3c-16d2-5d17-86b2-981be7094566-common": "17.1.0",
20
+ "@codingame/monaco-vscode-ab07af84-42e8-5a0f-8aef-b83fb90ede21-common": "17.1.0",
21
+ "@codingame/monaco-vscode-api": "17.1.0",
22
+ "@codingame/monaco-vscode-b4efa70b-52b9-5670-ab5c-f10b10b6834e-common": "17.1.0",
23
+ "@codingame/monaco-vscode-bed2b49f-41ae-5ed2-b61a-1105500a3f8a-common": "17.1.0",
24
+ "@codingame/monaco-vscode-c8227507-8e59-53d6-b50b-71c0ab384cf4-common": "17.1.0",
25
+ "@codingame/monaco-vscode-e67a0dae-5b2c-54e6-8d61-90102c78362d-common": "17.1.0"
26
26
  },
27
27
  "main": "index.js",
28
28
  "module": "index.js",
@@ -114,7 +114,7 @@ KeybindingsRegistry.registerCommandAndKeybindingRule({
114
114
  },
115
115
  }
116
116
  });
117
- const markersViewIcon = registerIcon('markers-view-icon', Codicon.warning, ( localize(7452, 'View icon of the markers view.')));
117
+ const markersViewIcon = registerIcon('markers-view-icon', Codicon.warning, ( localize(7533, 'View icon of the markers view.')));
118
118
  const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).registerViewContainer({
119
119
  id: Markers.MARKERS_CONTAINER_ID,
120
120
  title: Messages.MARKERS_PANEL_TITLE_PROBLEMS,
@@ -136,7 +136,7 @@ const VIEW_CONTAINER = ( Registry.as(Extensions$1.ViewContainersRegistry)).regis
136
136
  ctorDescriptor: ( new SyncDescriptor(MarkersView)),
137
137
  openCommandActionDescriptor: {
138
138
  id: 'workbench.actions.view.problems',
139
- mnemonicTitle: ( localize(7453, "&&Problems")),
139
+ mnemonicTitle: ( localize(7534, "&&Problems")),
140
140
  keybindings: { primary: KeyMod.CtrlCmd | KeyMod.Shift | KeyCode.KeyM },
141
141
  order: 0,
142
142
  }
@@ -146,9 +146,9 @@ registerAction2(class extends ViewAction {
146
146
  constructor() {
147
147
  super({
148
148
  id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTree`,
149
- title: ( localize(7454, "View as Tree")),
149
+ title: ( localize(7535, "View as Tree")),
150
150
  metadata: {
151
- description: ( localize2(7455, "Show the problems view as a tree."))
151
+ description: ( localize2(7536, "Show the problems view as a tree."))
152
152
  },
153
153
  menu: {
154
154
  id: MenuId.ViewTitle,
@@ -168,9 +168,9 @@ registerAction2(class extends ViewAction {
168
168
  constructor() {
169
169
  super({
170
170
  id: `workbench.actions.table.${Markers.MARKERS_VIEW_ID}.viewAsTable`,
171
- title: ( localize(7456, "View as Table")),
171
+ title: ( localize(7537, "View as Table")),
172
172
  metadata: {
173
- description: ( localize2(7457, "Show the problems view as a table."))
173
+ description: ( localize2(7538, "Show the problems view as a table."))
174
174
  },
175
175
  menu: {
176
176
  id: MenuId.ViewTitle,
@@ -190,11 +190,11 @@ registerAction2(class extends ViewAction {
190
190
  constructor() {
191
191
  super({
192
192
  id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleErrors`,
193
- title: ( localize(7458, "Show Errors")),
193
+ title: ( localize(7539, "Show Errors")),
194
194
  metadata: {
195
- description: ( localize2(7459, "Show or hide errors in the problems view."))
195
+ description: ( localize2(7540, "Show or hide errors in the problems view."))
196
196
  },
197
- category: ( localize(7460, "Problems")),
197
+ category: ( localize(7541, "Problems")),
198
198
  toggled: MarkersContextKeys.ShowErrorsFilterContextKey,
199
199
  menu: {
200
200
  id: viewFilterSubmenu,
@@ -213,11 +213,11 @@ registerAction2(class extends ViewAction {
213
213
  constructor() {
214
214
  super({
215
215
  id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleWarnings`,
216
- title: ( localize(7461, "Show Warnings")),
216
+ title: ( localize(7542, "Show Warnings")),
217
217
  metadata: {
218
- description: ( localize2(7462, "Show or hide warnings in the problems view."))
218
+ description: ( localize2(7543, "Show or hide warnings in the problems view."))
219
219
  },
220
- category: ( localize(7460, "Problems")),
220
+ category: ( localize(7541, "Problems")),
221
221
  toggled: MarkersContextKeys.ShowWarningsFilterContextKey,
222
222
  menu: {
223
223
  id: viewFilterSubmenu,
@@ -236,11 +236,11 @@ registerAction2(class extends ViewAction {
236
236
  constructor() {
237
237
  super({
238
238
  id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleInfos`,
239
- title: ( localize(7463, "Show Infos")),
240
- category: ( localize(7460, "Problems")),
239
+ title: ( localize(7544, "Show Infos")),
240
+ category: ( localize(7541, "Problems")),
241
241
  toggled: MarkersContextKeys.ShowInfoFilterContextKey,
242
242
  metadata: {
243
- description: ( localize2(7464, "Show or hide infos in the problems view."))
243
+ description: ( localize2(7545, "Show or hide infos in the problems view."))
244
244
  },
245
245
  menu: {
246
246
  id: viewFilterSubmenu,
@@ -259,14 +259,14 @@ registerAction2(class extends ViewAction {
259
259
  constructor() {
260
260
  super({
261
261
  id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleActiveFile`,
262
- title: ( localize(7465, "Show Active File Only")),
262
+ title: ( localize(7546, "Show Active File Only")),
263
263
  metadata: {
264
264
  description: ( localize2(
265
- 7466,
265
+ 7547,
266
266
  "Show or hide problems (errors, warnings, info) only from the active file in the problems view."
267
267
  ))
268
268
  },
269
- category: ( localize(7460, "Problems")),
269
+ category: ( localize(7541, "Problems")),
270
270
  toggled: MarkersContextKeys.ShowActiveFileFilterContextKey,
271
271
  menu: {
272
272
  id: viewFilterSubmenu,
@@ -285,11 +285,11 @@ registerAction2(class extends ViewAction {
285
285
  constructor() {
286
286
  super({
287
287
  id: `workbench.actions.${Markers.MARKERS_VIEW_ID}.toggleExcludedFiles`,
288
- title: ( localize(7467, "Show Excluded Files")),
288
+ title: ( localize(7548, "Show Excluded Files")),
289
289
  metadata: {
290
- description: ( localize2(7468, "Show or hide excluded files in the problems view."))
290
+ description: ( localize2(7549, "Show or hide excluded files in the problems view."))
291
291
  },
292
- category: ( localize(7460, "Problems")),
292
+ category: ( localize(7541, "Problems")),
293
293
  toggled: ( MarkersContextKeys.ShowExcludedFilesFilterContextKey.negate()),
294
294
  menu: {
295
295
  id: viewFilterSubmenu,
@@ -322,7 +322,7 @@ registerAction2(class extends ViewAction {
322
322
  const when = ( ContextKeyExpr.and(( FocusedViewContext.isEqualTo(Markers.MARKERS_VIEW_ID)), MarkersContextKeys.MarkersTreeVisibilityContextKey, ( MarkersContextKeys.RelatedInformationFocusContextKey.toNegated())));
323
323
  super({
324
324
  id: Markers.MARKER_COPY_ACTION_ID,
325
- title: ( localize2(7469, 'Copy')),
325
+ title: ( localize2(7550, 'Copy')),
326
326
  menu: {
327
327
  id: MenuId.ProblemsPanelContext,
328
328
  when,
@@ -362,7 +362,7 @@ registerAction2(class extends ViewAction {
362
362
  constructor() {
363
363
  super({
364
364
  id: Markers.MARKER_COPY_MESSAGE_ACTION_ID,
365
- title: ( localize2(7470, 'Copy Message')),
365
+ title: ( localize2(7551, 'Copy Message')),
366
366
  menu: {
367
367
  id: MenuId.ProblemsPanelContext,
368
368
  when: MarkersContextKeys.MarkerFocusContextKey,
@@ -383,7 +383,7 @@ registerAction2(class extends ViewAction {
383
383
  constructor() {
384
384
  super({
385
385
  id: Markers.RELATED_INFORMATION_COPY_MESSAGE_ACTION_ID,
386
- title: ( localize2(7470, 'Copy Message')),
386
+ title: ( localize2(7551, 'Copy Message')),
387
387
  menu: {
388
388
  id: MenuId.ProblemsPanelContext,
389
389
  when: MarkersContextKeys.RelatedInformationFocusContextKey,
@@ -404,7 +404,7 @@ registerAction2(class extends ViewAction {
404
404
  constructor() {
405
405
  super({
406
406
  id: Markers.FOCUS_PROBLEMS_FROM_FILTER,
407
- title: ( localize(7471, "Focus problems view")),
407
+ title: ( localize(7552, "Focus problems view")),
408
408
  keybinding: {
409
409
  when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
410
410
  weight: KeybindingWeight.WorkbenchContrib,
@@ -421,7 +421,7 @@ registerAction2(class extends ViewAction {
421
421
  constructor() {
422
422
  super({
423
423
  id: Markers.MARKERS_VIEW_FOCUS_FILTER,
424
- title: ( localize(7472, "Focus problems filter")),
424
+ title: ( localize(7553, "Focus problems filter")),
425
425
  keybinding: {
426
426
  when: ( FocusedViewContext.isEqualTo(Markers.MARKERS_VIEW_ID)),
427
427
  weight: KeybindingWeight.WorkbenchContrib,
@@ -438,8 +438,8 @@ registerAction2(class extends ViewAction {
438
438
  constructor() {
439
439
  super({
440
440
  id: Markers.MARKERS_VIEW_SHOW_MULTILINE_MESSAGE,
441
- title: ( localize2(7473, "Show message in multiple lines")),
442
- category: ( localize(7460, "Problems")),
441
+ title: ( localize2(7554, "Show message in multiple lines")),
442
+ category: ( localize(7541, "Problems")),
443
443
  menu: {
444
444
  id: MenuId.CommandPalette,
445
445
  when: ( ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID)))
@@ -455,8 +455,8 @@ registerAction2(class extends ViewAction {
455
455
  constructor() {
456
456
  super({
457
457
  id: Markers.MARKERS_VIEW_SHOW_SINGLELINE_MESSAGE,
458
- title: ( localize2(7474, "Show message in single line")),
459
- category: ( localize(7460, "Problems")),
458
+ title: ( localize2(7555, "Show message in single line")),
459
+ category: ( localize(7541, "Problems")),
460
460
  menu: {
461
461
  id: MenuId.CommandPalette,
462
462
  when: ( ContextKeyExpr.has(getVisbileViewContextKey(Markers.MARKERS_VIEW_ID)))
@@ -472,8 +472,8 @@ registerAction2(class extends ViewAction {
472
472
  constructor() {
473
473
  super({
474
474
  id: Markers.MARKERS_VIEW_CLEAR_FILTER_TEXT,
475
- title: ( localize(7475, "Clear filters text")),
476
- category: ( localize(7460, "Problems")),
475
+ title: ( localize(7556, "Clear filters text")),
476
+ category: ( localize(7541, "Problems")),
477
477
  keybinding: {
478
478
  when: MarkersContextKeys.MarkerViewFilterFocusContextKey,
479
479
  weight: KeybindingWeight.WorkbenchContrib,
@@ -490,7 +490,7 @@ registerAction2(class extends ViewAction {
490
490
  constructor() {
491
491
  super({
492
492
  id: `workbench.actions.treeView.${Markers.MARKERS_VIEW_ID}.collapseAll`,
493
- title: ( localize(7476, "Collapse All")),
493
+ title: ( localize(7557, "Collapse All")),
494
494
  menu: {
495
495
  id: MenuId.ViewTitle,
496
496
  when: ( ContextKeyExpr.and(( ContextKeyExpr.equals('view', Markers.MARKERS_VIEW_ID)), ( MarkersContextKeys.MarkersViewModeContextKey.isEqualTo(MarkersViewMode.Tree)))),
@@ -557,7 +557,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
557
557
  const markersStatistics = this.markerService.getStatistics();
558
558
  const tooltip = this.getMarkersTooltip(markersStatistics);
559
559
  return {
560
- name: ( localize(7477, "Problems")),
560
+ name: ( localize(7558, "Problems")),
561
561
  text: this.getMarkersText(markersStatistics),
562
562
  ariaLabel: tooltip,
563
563
  tooltip,
@@ -568,9 +568,9 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
568
568
  this.statusbarService.updateEntryVisibility('status.problemsVisibility', true);
569
569
  const openSettingsCommand = 'workbench.action.openSettings';
570
570
  const configureSettingsLabel = '@id:problems.visibility';
571
- const tooltip = ( localize(7478, "Problems are turned off. Click to open settings."));
571
+ const tooltip = ( localize(7559, "Problems are turned off. Click to open settings."));
572
572
  return {
573
- name: ( localize(7479, "Problems Visibility")),
573
+ name: ( localize(7560, "Problems Visibility")),
574
574
  text: '$(whole-word)',
575
575
  ariaLabel: tooltip,
576
576
  tooltip,
@@ -579,9 +579,9 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
579
579
  };
580
580
  }
581
581
  getMarkersTooltip(stats) {
582
- const errorTitle = (n) => ( localize(7480, "Errors: {0}", n));
583
- const warningTitle = (n) => ( localize(7481, "Warnings: {0}", n));
584
- const infoTitle = (n) => ( localize(7482, "Infos: {0}", n));
582
+ const errorTitle = (n) => ( localize(7561, "Errors: {0}", n));
583
+ const warningTitle = (n) => ( localize(7562, "Warnings: {0}", n));
584
+ const infoTitle = (n) => ( localize(7563, "Infos: {0}", n));
585
585
  const titles = [];
586
586
  if (stats.errors > 0) {
587
587
  titles.push(errorTitle(stats.errors));
@@ -593,7 +593,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
593
593
  titles.push(infoTitle(stats.infos));
594
594
  }
595
595
  if (titles.length === 0) {
596
- return localize(7483, "No Problems");
596
+ return localize(7564, "No Problems");
597
597
  }
598
598
  return titles.join(', ');
599
599
  }
@@ -607,7 +607,7 @@ let MarkersStatusBarContributions = class MarkersStatusBarContributions extends
607
607
  return problemsText.join(' ');
608
608
  }
609
609
  packNumber(n) {
610
- const manyProblems = ( localize(7484, "10K+"));
610
+ const manyProblems = ( localize(7565, "10K+"));
611
611
  return n > 9999 ? manyProblems : n > 999 ? ( n.toString()).charAt(0) + 'K' : ( n.toString());
612
612
  }
613
613
  };
@@ -630,7 +630,7 @@ let ActivityUpdater = class ActivityUpdater extends Disposable {
630
630
  const { errors, warnings, infos } = this.markerService.getStatistics();
631
631
  const total = errors + warnings + infos;
632
632
  if (total > 0) {
633
- const message = ( localize(7485, 'Total {0} Problems', total));
633
+ const message = ( localize(7566, 'Total {0} Problems', total));
634
634
  this.activity.value = this.activityService.showViewActivity(Markers.MARKERS_VIEW_ID, { badge: ( new NumberBadge(total, () => message)) });
635
635
  }
636
636
  else {
@@ -25,7 +25,7 @@ import { LifecyclePhase } from '@codingame/monaco-vscode-api/vscode/vs/workbench
25
25
  class MarkersDecorationsProvider {
26
26
  constructor(_markerService) {
27
27
  this._markerService = _markerService;
28
- this.label = ( localize(7486, "Problems"));
28
+ this.label = ( localize(7567, "Problems"));
29
29
  this.onDidChange = _markerService.onMarkerChanged;
30
30
  }
31
31
  provideDecorations(resource) {
@@ -45,7 +45,7 @@ class MarkersDecorationsProvider {
45
45
  return {
46
46
  weight: 100 * first.severity,
47
47
  bubble: true,
48
- tooltip: markers.length === 1 ? ( localize(7487, "1 problem in this file")) : ( localize(7488, "{0} problems in this file", markers.length)),
48
+ tooltip: markers.length === 1 ? ( localize(7568, "1 problem in this file")) : ( localize(7569, "{0} problems in this file", markers.length)),
49
49
  letter: markers.length < 10 ? ( markers.length.toString()) : '9+',
50
50
  color: first.severity === MarkerSeverity.Error ? listErrorForeground : listWarningForeground,
51
51
  };
@@ -105,7 +105,7 @@ MarkersFileDecorations = ( __decorate([
105
105
  'properties': {
106
106
  'problems.decorations.enabled': {
107
107
  'markdownDescription': ( localize(
108
- 7489,
108
+ 7570,
109
109
  "Show Errors & Warnings on files and folder. Overwritten by {0} when it is off.",
110
110
  '`#problems.visibility#`'
111
111
  )),
@@ -228,7 +228,7 @@ let MarkersTable = class MarkersTable extends Disposable {
228
228
  project(row) { return row; }
229
229
  },
230
230
  {
231
- label: ( localize(7490, "Code")),
231
+ label: ( localize(7571, "Code")),
232
232
  tooltip: '',
233
233
  weight: 1,
234
234
  minimumWidth: 100,
@@ -237,21 +237,21 @@ let MarkersTable = class MarkersTable extends Disposable {
237
237
  project(row) { return row; }
238
238
  },
239
239
  {
240
- label: ( localize(7491, "Message")),
240
+ label: ( localize(7572, "Message")),
241
241
  tooltip: '',
242
242
  weight: 4,
243
243
  templateId: MarkerMessageColumnRenderer.TEMPLATE_ID,
244
244
  project(row) { return row; }
245
245
  },
246
246
  {
247
- label: ( localize(7492, "File")),
247
+ label: ( localize(7573, "File")),
248
248
  tooltip: '',
249
249
  weight: 2,
250
250
  templateId: MarkerFileColumnRenderer.TEMPLATE_ID,
251
251
  project(row) { return row; }
252
252
  },
253
253
  {
254
- label: ( localize(7493, "Source")),
254
+ label: ( localize(7574, "Source")),
255
255
  tooltip: '',
256
256
  weight: 1,
257
257
  minimumWidth: 100,
@@ -1,5 +1,5 @@
1
1
  import { CountBadge } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/countBadge/countBadge";
2
- import { ResourceLabels, IResourceLabel } from "@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common/vscode/vs/workbench/browser/labels";
2
+ import { ResourceLabels, IResourceLabel } from "@codingame/monaco-vscode-bed2b49f-41ae-5ed2-b61a-1105500a3f8a-common/vscode/vs/workbench/browser/labels";
3
3
  import { HighlightedLabel } from "@codingame/monaco-vscode-api/vscode/vs/base/browser/ui/highlightedlabel/highlightedLabel";
4
4
  import { ResourceMarkers, Marker, RelatedInformation, MarkerElement, MarkerTableItem } from "./markersModel.js";
5
5
  import { IInstantiationService } from "@codingame/monaco-vscode-api/vscode/vs/platform/instantiation/common/instantiation";
@@ -49,7 +49,7 @@ let MarkersWidgetAccessibilityProvider = class MarkersWidgetAccessibilityProvide
49
49
  this.labelService = labelService;
50
50
  }
51
51
  getWidgetAriaLabel() {
52
- return localize(7494, "Problems View");
52
+ return localize(7575, "Problems View");
53
53
  }
54
54
  getAriaLabel(element) {
55
55
  if (element instanceof ResourceMarkers) {
@@ -190,9 +190,9 @@ MarkerRenderer = ( __decorate([
190
190
  ( __param(2, IInstantiationService)),
191
191
  ( __param(3, IOpenerService))
192
192
  ], MarkerRenderer));
193
- const expandedIcon = registerIcon('markers-view-multi-line-expanded', Codicon.chevronUp, ( localize(7495, 'Icon indicating that multiple lines are shown in the markers view.')));
193
+ const expandedIcon = registerIcon('markers-view-multi-line-expanded', Codicon.chevronUp, ( localize(7576, 'Icon indicating that multiple lines are shown in the markers view.')));
194
194
  const collapsedIcon = registerIcon('markers-view-multi-line-collapsed', Codicon.chevronDown, ( localize(
195
- 7496,
195
+ 7577,
196
196
  'Icon indicating that multiple lines are collapsed in the markers view.'
197
197
  )));
198
198
  const toggleMultilineAction = 'problems.action.toggleMultiline';
@@ -269,7 +269,7 @@ class MarkerWidget extends Disposable {
269
269
  const multiline = viewModel && viewModel.multiline;
270
270
  const action = this.disposables.add(( new Action(toggleMultilineAction)));
271
271
  action.enabled = !!viewModel && marker.lines.length > 1;
272
- action.tooltip = multiline ? ( localize(7497, "Show message in single line")) : ( localize(7498, "Show message in multiple lines"));
272
+ action.tooltip = multiline ? ( localize(7578, "Show message in single line")) : ( localize(7579, "Show message in multiple lines"));
273
273
  action.class = ThemeIcon.asClassName(multiline ? expandedIcon : collapsedIcon);
274
274
  action.run = () => { if (viewModel) {
275
275
  viewModel.multiline = !viewModel.multiline;
@@ -35,13 +35,13 @@ import { IStorageService } from '@codingame/monaco-vscode-api/vscode/vs/platform
35
35
  import { IThemeService } from '@codingame/monaco-vscode-api/vscode/vs/platform/theme/common/themeService.service';
36
36
  import { IUriIdentityService } from '@codingame/monaco-vscode-api/vscode/vs/platform/uriIdentity/common/uriIdentity.service';
37
37
  import { IWorkspaceContextService } from '@codingame/monaco-vscode-api/vscode/vs/platform/workspace/common/workspace.service';
38
- import { registerNavigableContainer } from '@codingame/monaco-vscode-3e369455-cc41-54c6-86fb-8b7cd999a5da-common/vscode/vs/workbench/browser/actions/widgetNavigationCommands';
38
+ import { registerNavigableContainer } from '@codingame/monaco-vscode-b4efa70b-52b9-5670-ab5c-f10b10b6834e-common/vscode/vs/workbench/browser/actions/widgetNavigationCommands';
39
39
  import { RangeHighlightDecorations } from '@codingame/monaco-vscode-api/vscode/vs/workbench/browser/codeeditor';
40
- import { ResourceListDnDHandler } from '@codingame/monaco-vscode-4893679b-56e5-52c5-a8fb-c366cce9660f-common/vscode/vs/workbench/browser/dnd';
41
- import { ResourceLabels } from '@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common/vscode/vs/workbench/browser/labels';
40
+ import { ResourceListDnDHandler } from '@codingame/monaco-vscode-c8227507-8e59-53d6-b50b-71c0ab384cf4-common/vscode/vs/workbench/browser/dnd';
41
+ import { ResourceLabels } from '@codingame/monaco-vscode-bed2b49f-41ae-5ed2-b61a-1105500a3f8a-common/vscode/vs/workbench/browser/labels';
42
42
  import { FilterViewPane } from '@codingame/monaco-vscode-65619f8f-0eab-5d8b-855a-43b6353fe527-common/vscode/vs/workbench/browser/parts/views/viewPane';
43
43
  import { EditorResourceAccessor, SideBySideEditor } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/editor';
44
- import { Memento } from '@codingame/monaco-vscode-12c5f9eb-72d3-57ca-babd-5bef7aa9de3b-common/vscode/vs/workbench/common/memento';
44
+ import { Memento } from '@codingame/monaco-vscode-c8227507-8e59-53d6-b50b-71c0ab384cf4-common/vscode/vs/workbench/common/memento';
45
45
  import { IViewDescriptorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/common/views.service';
46
46
  import { SIDE_GROUP, ACTIVE_GROUP } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService';
47
47
  import { IEditorService } from '@codingame/monaco-vscode-api/vscode/vs/workbench/services/editor/common/editorService.service';
@@ -180,7 +180,7 @@ let MarkersView = class MarkersView extends FilterViewPane {
180
180
  this.filterWidget.focus();
181
181
  }
182
182
  updateBadge(total, filtered) {
183
- this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(7499, "Showing {0} of {1}", filtered, total)));
183
+ this.filterWidget.updateBadge(total === filtered || total === 0 ? undefined : ( localize(7580, "Showing {0} of {1}", filtered, total)));
184
184
  }
185
185
  checkMoreFilters() {
186
186
  this.filterWidget.checkMoreFilters(!this.filters.showErrors || !this.filters.showWarnings || !this.filters.showInfos || this.filters.excludedFiles || this.filters.activeFile);
@@ -547,10 +547,10 @@ let MarkersView = class MarkersView extends FilterViewPane {
547
547
  else {
548
548
  this.messageBoxContainer.style.display = 'none';
549
549
  if (filtered === total) {
550
- this.setAriaLabel(( localize(7500, "Showing {0} problems", total)));
550
+ this.setAriaLabel(( localize(7581, "Showing {0} problems", total)));
551
551
  }
552
552
  else {
553
- this.setAriaLabel(( localize(7501, "Showing {0} of {1} problems", filtered, total)));
553
+ this.setAriaLabel(( localize(7582, "Showing {0} of {1} problems", filtered, total)));
554
554
  }
555
555
  this.messageBoxContainer.removeAttribute('tabIndex');
556
556
  }
@@ -567,7 +567,7 @@ let MarkersView = class MarkersView extends FilterViewPane {
567
567
  const span1 = append(container, $('span'));
568
568
  span1.textContent = Messages.MARKERS_PANEL_NO_PROBLEMS_FILTERS;
569
569
  const link = append(container, $('a.messageAction'));
570
- link.textContent = ( localize(7502, "Clear Filters"));
570
+ link.textContent = ( localize(7583, "Clear Filters"));
571
571
  link.setAttribute('tabIndex', '0');
572
572
  const span2 = append(container, $('span'));
573
573
  span2.textContent = '.';
@@ -22,7 +22,6 @@ export interface IMarkersFiltersOptions {
22
22
  activeFile: boolean;
23
23
  }
24
24
  export declare class MarkersFilters extends Disposable {
25
- private readonly contextKeyService;
26
25
  private readonly _onDidChange;
27
26
  readonly onDidChange: Event<IMarkersFiltersChangeEvent>;
28
27
  constructor(options: IMarkersFiltersOptions, contextKeyService: IContextKeyService);
@@ -17,19 +17,18 @@ registerCss(markersViewActions);
17
17
  class MarkersFilters extends Disposable {
18
18
  constructor(options, contextKeyService) {
19
19
  super();
20
- this.contextKeyService = contextKeyService;
21
20
  this._onDidChange = this._register(( new Emitter()));
22
21
  this.onDidChange = this._onDidChange.event;
23
- this._excludedFiles = MarkersContextKeys.ShowExcludedFilesFilterContextKey.bindTo(this.contextKeyService);
24
- this._activeFile = MarkersContextKeys.ShowActiveFileFilterContextKey.bindTo(this.contextKeyService);
25
- this._showWarnings = MarkersContextKeys.ShowWarningsFilterContextKey.bindTo(this.contextKeyService);
26
- this._showErrors = MarkersContextKeys.ShowErrorsFilterContextKey.bindTo(this.contextKeyService);
27
- this._showInfos = MarkersContextKeys.ShowInfoFilterContextKey.bindTo(this.contextKeyService);
28
- this._showErrors.set(options.showErrors);
29
- this._showWarnings.set(options.showWarnings);
30
- this._showInfos.set(options.showInfos);
22
+ this._excludedFiles = MarkersContextKeys.ShowExcludedFilesFilterContextKey.bindTo(contextKeyService);
31
23
  this._excludedFiles.set(options.excludedFiles);
24
+ this._activeFile = MarkersContextKeys.ShowActiveFileFilterContextKey.bindTo(contextKeyService);
32
25
  this._activeFile.set(options.activeFile);
26
+ this._showWarnings = MarkersContextKeys.ShowWarningsFilterContextKey.bindTo(contextKeyService);
27
+ this._showWarnings.set(options.showWarnings);
28
+ this._showInfos = MarkersContextKeys.ShowInfoFilterContextKey.bindTo(contextKeyService);
29
+ this._showInfos.set(options.showInfos);
30
+ this._showErrors = MarkersContextKeys.ShowErrorsFilterContextKey.bindTo(contextKeyService);
31
+ this._showErrors.set(options.showErrors);
33
32
  this.filterHistory = options.filterHistory;
34
33
  }
35
34
  get excludedFiles() {
@@ -4,46 +4,46 @@ import { basename } from '@codingame/monaco-vscode-api/vscode/vs/base/common/res
4
4
  import { MarkerSeverity } from '@codingame/monaco-vscode-api/vscode/vs/platform/markers/common/markers';
5
5
 
6
6
  class Messages {
7
- static { this.MARKERS_PANEL_TOGGLE_LABEL = ( localize(7503, "Toggle Problems (Errors, Warnings, Infos)")); }
8
- static { this.MARKERS_PANEL_SHOW_LABEL = ( localize2(7504, "Focus Problems (Errors, Warnings, Infos)")); }
9
- static { this.PROBLEMS_PANEL_CONFIGURATION_TITLE = ( localize(7505, "Problems View")); }
7
+ static { this.MARKERS_PANEL_TOGGLE_LABEL = ( localize(7584, "Toggle Problems (Errors, Warnings, Infos)")); }
8
+ static { this.MARKERS_PANEL_SHOW_LABEL = ( localize2(7585, "Focus Problems (Errors, Warnings, Infos)")); }
9
+ static { this.PROBLEMS_PANEL_CONFIGURATION_TITLE = ( localize(7586, "Problems View")); }
10
10
  static { this.PROBLEMS_PANEL_CONFIGURATION_AUTO_REVEAL = ( localize(
11
- 7506,
11
+ 7587,
12
12
  "Controls whether Problems view should automatically reveal files when opening them."
13
13
  )); }
14
- static { this.PROBLEMS_PANEL_CONFIGURATION_VIEW_MODE = ( localize(7507, "Controls the default view mode of the Problems view.")); }
15
- static { this.PROBLEMS_PANEL_CONFIGURATION_SHOW_CURRENT_STATUS = ( localize(7508, "When enabled shows the current problem in the status bar.")); }
16
- static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER = ( localize(7509, "Controls the order in which problems are navigated.")); }
17
- static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_SEVERITY = ( localize(7510, "Navigate problems ordered by severity")); }
18
- static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_POSITION = ( localize(7511, "Navigate problems ordered by position")); }
19
- static { this.MARKERS_PANEL_TITLE_PROBLEMS = ( localize2(7512, "Problems")); }
20
- static { this.MARKERS_PANEL_NO_PROBLEMS_BUILT = ( localize(7513, "No problems have been detected in the workspace.")); }
21
- static { this.MARKERS_PANEL_NO_PROBLEMS_ACTIVE_FILE_BUILT = ( localize(7514, "No problems have been detected in the current file.")); }
22
- static { this.MARKERS_PANEL_NO_PROBLEMS_FILTERS = ( localize(7515, "No results found with provided filter criteria.")); }
23
- static { this.MARKERS_PANEL_ACTION_TOOLTIP_MORE_FILTERS = ( localize(7516, "More Filters...")); }
24
- static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_ERRORS = ( localize(7517, "Show Errors")); }
25
- static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_WARNINGS = ( localize(7518, "Show Warnings")); }
26
- static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_INFOS = ( localize(7519, "Show Infos")); }
27
- static { this.MARKERS_PANEL_FILTER_LABEL_EXCLUDED_FILES = ( localize(7520, "Hide Excluded Files")); }
28
- static { this.MARKERS_PANEL_FILTER_LABEL_ACTIVE_FILE = ( localize(7521, "Show Active File Only")); }
29
- static { this.MARKERS_PANEL_ACTION_TOOLTIP_FILTER = ( localize(7522, "Filter Problems")); }
30
- static { this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = ( localize(7523, "Show fixes")); }
31
- static { this.MARKERS_PANEL_FILTER_ARIA_LABEL = ( localize(7524, "Filter Problems")); }
32
- static { this.MARKERS_PANEL_FILTER_PLACEHOLDER = ( localize(7525, "Filter (e.g. text, **/*.ts, !**/node_modules/**)")); }
33
- static { this.MARKERS_PANEL_FILTER_ERRORS = ( localize(7526, "errors")); }
34
- static { this.MARKERS_PANEL_FILTER_WARNINGS = ( localize(7527, "warnings")); }
35
- static { this.MARKERS_PANEL_FILTER_INFOS = ( localize(7528, "infos")); }
36
- static { this.MARKERS_PANEL_SINGLE_ERROR_LABEL = ( localize(7529, "1 Error")); }
37
- static { this.MARKERS_PANEL_MULTIPLE_ERRORS_LABEL = (noOfErrors) => { return localize(7530, "{0} Errors", '' + noOfErrors); }; }
38
- static { this.MARKERS_PANEL_SINGLE_WARNING_LABEL = ( localize(7531, "1 Warning")); }
39
- static { this.MARKERS_PANEL_MULTIPLE_WARNINGS_LABEL = (noOfWarnings) => { return localize(7532, "{0} Warnings", '' + noOfWarnings); }; }
40
- static { this.MARKERS_PANEL_SINGLE_INFO_LABEL = ( localize(7533, "1 Info")); }
41
- static { this.MARKERS_PANEL_MULTIPLE_INFOS_LABEL = (noOfInfos) => { return localize(7534, "{0} Infos", '' + noOfInfos); }; }
42
- static { this.MARKERS_PANEL_SINGLE_UNKNOWN_LABEL = ( localize(7535, "1 Unknown")); }
43
- static { this.MARKERS_PANEL_MULTIPLE_UNKNOWNS_LABEL = (noOfUnknowns) => { return localize(7536, "{0} Unknowns", '' + noOfUnknowns); }; }
44
- static { this.MARKERS_PANEL_AT_LINE_COL_NUMBER = (ln, col) => { return localize(7537, "[Ln {0}, Col {1}]", '' + ln, '' + col); }; }
14
+ static { this.PROBLEMS_PANEL_CONFIGURATION_VIEW_MODE = ( localize(7588, "Controls the default view mode of the Problems view.")); }
15
+ static { this.PROBLEMS_PANEL_CONFIGURATION_SHOW_CURRENT_STATUS = ( localize(7589, "When enabled shows the current problem in the status bar.")); }
16
+ static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER = ( localize(7590, "Controls the order in which problems are navigated.")); }
17
+ static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_SEVERITY = ( localize(7591, "Navigate problems ordered by severity")); }
18
+ static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_POSITION = ( localize(7592, "Navigate problems ordered by position")); }
19
+ static { this.MARKERS_PANEL_TITLE_PROBLEMS = ( localize2(7593, "Problems")); }
20
+ static { this.MARKERS_PANEL_NO_PROBLEMS_BUILT = ( localize(7594, "No problems have been detected in the workspace.")); }
21
+ static { this.MARKERS_PANEL_NO_PROBLEMS_ACTIVE_FILE_BUILT = ( localize(7595, "No problems have been detected in the current file.")); }
22
+ static { this.MARKERS_PANEL_NO_PROBLEMS_FILTERS = ( localize(7596, "No results found with provided filter criteria.")); }
23
+ static { this.MARKERS_PANEL_ACTION_TOOLTIP_MORE_FILTERS = ( localize(7597, "More Filters...")); }
24
+ static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_ERRORS = ( localize(7598, "Show Errors")); }
25
+ static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_WARNINGS = ( localize(7599, "Show Warnings")); }
26
+ static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_INFOS = ( localize(7600, "Show Infos")); }
27
+ static { this.MARKERS_PANEL_FILTER_LABEL_EXCLUDED_FILES = ( localize(7601, "Hide Excluded Files")); }
28
+ static { this.MARKERS_PANEL_FILTER_LABEL_ACTIVE_FILE = ( localize(7602, "Show Active File Only")); }
29
+ static { this.MARKERS_PANEL_ACTION_TOOLTIP_FILTER = ( localize(7603, "Filter Problems")); }
30
+ static { this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = ( localize(7604, "Show fixes")); }
31
+ static { this.MARKERS_PANEL_FILTER_ARIA_LABEL = ( localize(7605, "Filter Problems")); }
32
+ static { this.MARKERS_PANEL_FILTER_PLACEHOLDER = ( localize(7606, "Filter (e.g. text, **/*.ts, !**/node_modules/**)")); }
33
+ static { this.MARKERS_PANEL_FILTER_ERRORS = ( localize(7607, "errors")); }
34
+ static { this.MARKERS_PANEL_FILTER_WARNINGS = ( localize(7608, "warnings")); }
35
+ static { this.MARKERS_PANEL_FILTER_INFOS = ( localize(7609, "infos")); }
36
+ static { this.MARKERS_PANEL_SINGLE_ERROR_LABEL = ( localize(7610, "1 Error")); }
37
+ static { this.MARKERS_PANEL_MULTIPLE_ERRORS_LABEL = (noOfErrors) => { return localize(7611, "{0} Errors", '' + noOfErrors); }; }
38
+ static { this.MARKERS_PANEL_SINGLE_WARNING_LABEL = ( localize(7612, "1 Warning")); }
39
+ static { this.MARKERS_PANEL_MULTIPLE_WARNINGS_LABEL = (noOfWarnings) => { return localize(7613, "{0} Warnings", '' + noOfWarnings); }; }
40
+ static { this.MARKERS_PANEL_SINGLE_INFO_LABEL = ( localize(7614, "1 Info")); }
41
+ static { this.MARKERS_PANEL_MULTIPLE_INFOS_LABEL = (noOfInfos) => { return localize(7615, "{0} Infos", '' + noOfInfos); }; }
42
+ static { this.MARKERS_PANEL_SINGLE_UNKNOWN_LABEL = ( localize(7616, "1 Unknown")); }
43
+ static { this.MARKERS_PANEL_MULTIPLE_UNKNOWNS_LABEL = (noOfUnknowns) => { return localize(7617, "{0} Unknowns", '' + noOfUnknowns); }; }
44
+ static { this.MARKERS_PANEL_AT_LINE_COL_NUMBER = (ln, col) => { return localize(7618, "[Ln {0}, Col {1}]", '' + ln, '' + col); }; }
45
45
  static { this.MARKERS_TREE_ARIA_LABEL_RESOURCE = (noOfProblems, fileName, folder) => { return localize(
46
- 7538,
46
+ 7619,
47
47
  "{0} problems in file {1} of folder {2}",
48
48
  noOfProblems,
49
49
  fileName,
@@ -51,14 +51,14 @@ class Messages {
51
51
  ); }; }
52
52
  static { this.MARKERS_TREE_ARIA_LABEL_MARKER = (marker) => {
53
53
  const relatedInformationMessage = marker.relatedInformation.length ? ( localize(
54
- 7539,
54
+ 7620,
55
55
  " This problem has references to {0} locations.",
56
56
  marker.relatedInformation.length
57
57
  )) : '';
58
58
  switch (marker.marker.severity) {
59
59
  case MarkerSeverity.Error:
60
60
  return marker.marker.source ? ( localize(
61
- 7540,
61
+ 7621,
62
62
  "Error: {0} at line {1} and character {2}.{3} generated by {4}",
63
63
  marker.marker.message,
64
64
  marker.marker.startLineNumber,
@@ -67,7 +67,7 @@ class Messages {
67
67
  marker.marker.source
68
68
  ))
69
69
  : ( localize(
70
- 7541,
70
+ 7622,
71
71
  "Error: {0} at line {1} and character {2}.{3}",
72
72
  marker.marker.message,
73
73
  marker.marker.startLineNumber,
@@ -76,7 +76,7 @@ class Messages {
76
76
  ));
77
77
  case MarkerSeverity.Warning:
78
78
  return marker.marker.source ? ( localize(
79
- 7542,
79
+ 7623,
80
80
  "Warning: {0} at line {1} and character {2}.{3} generated by {4}",
81
81
  marker.marker.message,
82
82
  marker.marker.startLineNumber,
@@ -85,7 +85,7 @@ class Messages {
85
85
  marker.marker.source
86
86
  ))
87
87
  : ( localize(
88
- 7543,
88
+ 7624,
89
89
  "Warning: {0} at line {1} and character {2}.{3}",
90
90
  marker.marker.message,
91
91
  marker.marker.startLineNumber,
@@ -95,7 +95,7 @@ class Messages {
95
95
  ));
96
96
  case MarkerSeverity.Info:
97
97
  return marker.marker.source ? ( localize(
98
- 7544,
98
+ 7625,
99
99
  "Info: {0} at line {1} and character {2}.{3} generated by {4}",
100
100
  marker.marker.message,
101
101
  marker.marker.startLineNumber,
@@ -104,7 +104,7 @@ class Messages {
104
104
  marker.marker.source
105
105
  ))
106
106
  : ( localize(
107
- 7545,
107
+ 7626,
108
108
  "Info: {0} at line {1} and character {2}.{3}",
109
109
  marker.marker.message,
110
110
  marker.marker.startLineNumber,
@@ -113,7 +113,7 @@ class Messages {
113
113
  ));
114
114
  default:
115
115
  return marker.marker.source ? ( localize(
116
- 7546,
116
+ 7627,
117
117
  "Problem: {0} at line {1} and character {2}.{3} generated by {4}",
118
118
  marker.marker.source,
119
119
  marker.marker.message,
@@ -123,7 +123,7 @@ class Messages {
123
123
  marker.marker.source
124
124
  ))
125
125
  : ( localize(
126
- 7547,
126
+ 7628,
127
127
  "Problem: {0} at line {1} and character {2}.{3}",
128
128
  marker.marker.message,
129
129
  marker.marker.startLineNumber,
@@ -133,14 +133,14 @@ class Messages {
133
133
  }
134
134
  }; }
135
135
  static { this.MARKERS_TREE_ARIA_LABEL_RELATED_INFORMATION = (relatedInformation) => ( localize(
136
- 7548,
136
+ 7629,
137
137
  "{0} at line {1} and character {2} in {3}",
138
138
  relatedInformation.message,
139
139
  relatedInformation.startLineNumber,
140
140
  relatedInformation.startColumn,
141
141
  basename(relatedInformation.resource)
142
142
  )); }
143
- static { this.SHOW_ERRORS_WARNINGS_ACTION_LABEL = ( localize(7549, "Show Errors and Warnings")); }
143
+ static { this.SHOW_ERRORS_WARNINGS_ACTION_LABEL = ( localize(7630, "Show Errors and Warnings")); }
144
144
  }
145
145
 
146
146
  export { Messages as default };