@codingame/monaco-vscode-markers-service-override 1.85.6 → 2.0.0-v2.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-markers-service-override",
3
- "version": "1.85.6",
3
+ "version": "2.0.0-v2.1",
4
4
  "keywords": [],
5
5
  "author": {
6
6
  "name": "CodinGame",
@@ -9,7 +9,7 @@
9
9
  "license": "MIT",
10
10
  "repository": {
11
11
  "type": "git",
12
- "url": "git+https://github.com/CodinGame/monaco-vscode-api.git"
12
+ "url": "git@github.com:CodinGame/monaco-vscode-api.git"
13
13
  },
14
14
  "type": "module",
15
15
  "private": false,
@@ -18,7 +18,7 @@
18
18
  "module": "index.js",
19
19
  "types": "index.d.ts",
20
20
  "dependencies": {
21
- "vscode": "npm:@codingame/monaco-vscode-api@1.85.6",
22
- "monaco-editor": "0.45.0"
21
+ "vscode": "npm:@codingame/monaco-vscode-api@2.0.0-v2.1",
22
+ "vscode-marked": "npm:marked@=3.0.2"
23
23
  }
24
24
  }
@@ -1,30 +1,30 @@
1
1
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
- import { ContextKeyExpr } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
3
- import { Extensions } from 'monaco-editor/esm/vs/platform/configuration/common/configurationRegistry.js';
4
- import { Categories } from 'monaco-editor/esm/vs/platform/action/common/actionCommonCategories.js';
5
- import { KeybindingsRegistry } from 'monaco-editor/esm/vs/platform/keybinding/common/keybindingsRegistry.js';
6
- import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
2
+ import { ContextKeyExpr } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
3
+ import { Extensions } from 'vscode/vscode/vs/platform/configuration/common/configurationRegistry';
4
+ import { Categories } from 'vscode/vscode/vs/platform/action/common/actionCommonCategories';
5
+ import { KeybindingsRegistry } from 'vscode/vscode/vs/platform/keybinding/common/keybindingsRegistry';
6
+ import { localizeWithPath } from 'vscode/vscode/vs/nls';
7
7
  import { Marker, ResourceMarkers, RelatedInformation } from './markersModel.js';
8
8
  import { MarkersView } from './markersView.js';
9
- import { registerAction2, MenuId, Action2 } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
10
- import { Registry } from 'monaco-editor/esm/vs/platform/registry/common/platform.js';
9
+ import { registerAction2, MenuId, Action2 } from 'vscode/vscode/vs/platform/actions/common/actions';
10
+ import { Registry } from 'vscode/vscode/vs/platform/registry/common/platform';
11
11
  import { Markers, MarkersContextKeys } from 'vscode/vscode/vs/workbench/contrib/markers/common/markers';
12
12
  import Messages from './messages.js';
13
13
  import { Extensions as Extensions$2 } from 'vscode/vscode/vs/workbench/common/contributions';
14
- import { IClipboardService } from 'monaco-editor/esm/vs/platform/clipboard/common/clipboardService.js';
15
- import { Disposable, MutableDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
14
+ import { IClipboardService } from 'vscode/vscode/vs/platform/clipboard/common/clipboardService';
15
+ import { Disposable, MutableDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
16
16
  import { IStatusbarService } from 'vscode/vscode/vs/workbench/services/statusbar/browser/statusbar';
17
- import { IMarkerService } from 'monaco-editor/esm/vs/platform/markers/common/markers.js';
17
+ import { IMarkerService } from 'vscode/vscode/vs/platform/markers/common/markers';
18
18
  import { IViewsService, Extensions as Extensions$1 } from 'vscode/vscode/vs/workbench/common/views';
19
19
  import { FocusedViewContext, getVisbileViewContextKey } from 'vscode/vscode/vs/workbench/common/contextkeys';
20
20
  import { ViewPaneContainer } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPaneContainer';
21
- import { SyncDescriptor } from 'monaco-editor/esm/vs/platform/instantiation/common/descriptors.js';
22
- import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
23
- import { registerIcon } from 'monaco-editor/esm/vs/platform/theme/common/iconRegistry.js';
21
+ import { SyncDescriptor } from 'vscode/vscode/vs/platform/instantiation/common/descriptors';
22
+ import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
23
+ import { registerIcon } from 'vscode/vscode/vs/platform/theme/common/iconRegistry';
24
24
  import { ViewAction } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPane';
25
25
  import { NumberBadge, IActivityService } from 'vscode/vscode/vs/workbench/services/activity/common/activity';
26
26
  import { viewFilterSubmenu } from 'vscode/vscode/vs/workbench/browser/parts/views/viewFilter';
27
- import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
27
+ import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
28
28
 
29
29
  KeybindingsRegistry.registerCommandAndKeybindingRule({
30
30
  id: Markers.MARKER_OPEN_ACTION_ID,
@@ -1,8 +1,8 @@
1
- import { matchesFuzzy2, matchesFuzzy } from 'monaco-editor/esm/vs/base/common/filters.js';
2
- import { getEmptyExpression, splitGlobAware, parse } from 'monaco-editor/esm/vs/base/common/glob.js';
3
- import * as strings from 'monaco-editor/esm/vs/base/common/strings.js';
4
- import { relativePath } from 'monaco-editor/esm/vs/base/common/resources.js';
5
- import { TernarySearchTree } from 'monaco-editor/esm/vs/base/common/ternarySearchTree.js';
1
+ import { matchesFuzzy2, matchesFuzzy } from 'vscode/vscode/vs/base/common/filters';
2
+ import { getEmptyExpression, splitGlobAware, parse } from 'vscode/vscode/vs/base/common/glob';
3
+ import { rtrim, ltrim } from 'vscode/vscode/vs/base/common/strings';
4
+ import { relativePath } from 'vscode/vscode/vs/base/common/resources';
5
+ import { TernarySearchTree } from 'vscode/vscode/vs/base/common/ternarySearchTree';
6
6
 
7
7
  class ResourceGlobMatcher {
8
8
  constructor(globalExpression, rootExpressions, uriIdentityService) {
@@ -41,18 +41,18 @@ class FilterOptions {
41
41
  for (const { expression } of filesExcludeByRoot) {
42
42
  for (const pattern of ( Object.keys(expression))) {
43
43
  if (!pattern.endsWith('/**')) {
44
- expression[`${strings.rtrim(pattern, '/')}/**`] = expression[pattern];
44
+ expression[`${rtrim(pattern, '/')}/**`] = expression[pattern];
45
45
  }
46
46
  }
47
47
  }
48
48
  const negate = filter.startsWith('!');
49
- this.textFilter = { text: (negate ? strings.ltrim(filter, '!') : filter).trim(), negate };
49
+ this.textFilter = { text: (negate ? ltrim(filter, '!') : filter).trim(), negate };
50
50
  const includeExpression = getEmptyExpression();
51
51
  if (filter) {
52
52
  const filters = ( splitGlobAware(filter, ',').map(s => s.trim())).filter(s => !!s.length);
53
53
  for (const f of filters) {
54
54
  if (f.startsWith('!')) {
55
- const filterText = strings.ltrim(f, '!');
55
+ const filterText = ltrim(f, '!');
56
56
  if (filterText) {
57
57
  this.setPattern(excludesExpression, filterText);
58
58
  }
@@ -1,12 +1,12 @@
1
- import { basename, extUri } from 'monaco-editor/esm/vs/base/common/resources.js';
2
- import { Range } from 'monaco-editor/esm/vs/editor/common/core/range.js';
3
- import { MarkerSeverity, IMarkerData } from 'monaco-editor/esm/vs/platform/markers/common/markers.js';
4
- import { flatten, isNonEmptyArray } from 'monaco-editor/esm/vs/base/common/arrays.js';
5
- import { ResourceMap } from 'monaco-editor/esm/vs/base/common/map.js';
6
- import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
7
- import { Hasher } from 'monaco-editor/esm/vs/base/common/hash.js';
8
- import { splitLines } from 'monaco-editor/esm/vs/base/common/strings.js';
9
- import { unsupportedSchemas } from 'monaco-editor/esm/vs/platform/markers/common/markerService.js';
1
+ import { basename, extUri } from 'vscode/vscode/vs/base/common/resources';
2
+ import { Range } from 'vscode/vscode/vs/editor/common/core/range';
3
+ import { MarkerSeverity, IMarkerData } from 'vscode/vscode/vs/platform/markers/common/markers';
4
+ import { flatten, isNonEmptyArray } from 'vscode/vscode/vs/base/common/arrays';
5
+ import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
6
+ import { Emitter } from 'vscode/vscode/vs/base/common/event';
7
+ import { Hasher } from 'vscode/vscode/vs/base/common/hash';
8
+ import { splitLines } from 'vscode/vscode/vs/base/common/strings';
9
+ import { unsupportedSchemas } from 'vscode/vscode/vs/platform/markers/common/markerService';
10
10
 
11
11
  function compareMarkersByUri(a, b) {
12
12
  return extUri.compare(a.resource, b.resource);
@@ -1,29 +1,29 @@
1
1
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
- import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
3
- import * as dom from 'monaco-editor/esm/vs/base/browser/dom.js';
4
- import { Event } from 'monaco-editor/esm/vs/base/common/event.js';
5
- import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
6
- import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
7
- import { WorkbenchTable } from 'monaco-editor/esm/vs/platform/list/browser/listService.js';
8
- import { HighlightedLabel } from 'monaco-editor/esm/vs/base/browser/ui/highlightedlabel/highlightedLabel.js';
2
+ import { localizeWithPath } from 'vscode/vscode/vs/nls';
3
+ import { append, $ as $$1, findParentWithClass } from 'vscode/vscode/vs/base/browser/dom';
4
+ import { Event } from 'vscode/vscode/vs/base/common/event';
5
+ import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
6
+ import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
7
+ import { WorkbenchTable } from 'vscode/vscode/vs/platform/list/browser/listService';
8
+ import { HighlightedLabel } from 'vscode/vscode/vs/base/browser/ui/highlightedlabel/highlightedLabel';
9
9
  import { MarkerTableItem, compareMarkersByUri, Marker } from './markersModel.js';
10
- import { MarkerSeverity } from 'monaco-editor/esm/vs/platform/markers/common/markers.js';
11
- import { SeverityIcon } from 'monaco-editor/esm/vs/platform/severityIcon/browser/severityIcon.js';
12
- import { ActionBar } from 'monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.js';
13
- import { ILabelService } from 'monaco-editor/esm/vs/platform/label/common/label.js';
10
+ import { MarkerSeverity } from 'vscode/vscode/vs/platform/markers/common/markers';
11
+ import { SeverityIcon } from 'vscode/vscode/vs/platform/severityIcon/browser/severityIcon';
12
+ import { ActionBar } from 'vscode/vscode/vs/base/browser/ui/actionbar/actionbar';
13
+ import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label';
14
14
  import { FilterOptions } from './markersFilterOptions.js';
15
- import { Link } from 'monaco-editor/esm/vs/platform/opener/browser/link.js';
16
- import { IOpenerService } from 'monaco-editor/esm/vs/platform/opener/common/opener.js';
15
+ import { Link } from 'vscode/vscode/vs/platform/opener/browser/link';
16
+ import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
17
17
  import { QuickFixAction, QuickFixActionViewItem } from './markersViewActions.js';
18
- import { DomEmitter } from 'monaco-editor/esm/vs/base/browser/event.js';
18
+ import { DomEmitter } from 'vscode/vscode/vs/base/browser/event';
19
19
  import Messages from './messages.js';
20
- import { isUndefinedOrNull } from 'monaco-editor/esm/vs/base/common/types.js';
21
- import { Range } from 'monaco-editor/esm/vs/editor/common/core/range.js';
22
- import { unsupportedSchemas } from 'monaco-editor/esm/vs/platform/markers/common/markerService.js';
23
- import Severity from 'monaco-editor/esm/vs/base/common/severity.js';
20
+ import { isUndefinedOrNull } from 'vscode/vscode/vs/base/common/types';
21
+ import { Range } from 'vscode/vscode/vs/editor/common/core/range';
22
+ import { unsupportedSchemas } from 'vscode/vscode/vs/platform/markers/common/markerService';
23
+ import Severity from 'vscode/vscode/vs/base/common/severity';
24
24
 
25
25
  var MarkerSeverityColumnRenderer_1, MarkerCodeColumnRenderer_1, MarkerFileColumnRenderer_1;
26
- const $ = dom.$;
26
+ const $ = $$1;
27
27
  let MarkerSeverityColumnRenderer = class MarkerSeverityColumnRenderer {
28
28
  static { MarkerSeverityColumnRenderer_1 = this; }
29
29
  static { this.TEMPLATE_ID = 'severity'; }
@@ -33,9 +33,9 @@ let MarkerSeverityColumnRenderer = class MarkerSeverityColumnRenderer {
33
33
  this.templateId = MarkerSeverityColumnRenderer_1.TEMPLATE_ID;
34
34
  }
35
35
  renderTemplate(container) {
36
- const severityColumn = dom.append(container, $('.severity'));
37
- const icon = dom.append(severityColumn, $(''));
38
- const actionBarColumn = dom.append(container, $('.actions'));
36
+ const severityColumn = append(container, $('.severity'));
37
+ const icon = append(severityColumn, $(''));
38
+ const actionBarColumn = append(container, $('.actions'));
39
39
  const actionBar = ( new ActionBar(actionBarColumn, {
40
40
  actionViewItemProvider: (action) => action.id === QuickFixAction.ID ? this.instantiationService.createInstance(QuickFixActionViewItem, action) : undefined,
41
41
  animated: false
@@ -45,7 +45,7 @@ let MarkerSeverityColumnRenderer = class MarkerSeverityColumnRenderer {
45
45
  renderElement(element, index, templateData, height) {
46
46
  const toggleQuickFix = (enabled) => {
47
47
  if (!isUndefinedOrNull(enabled)) {
48
- const container = dom.findParentWithClass(templateData.icon, 'monaco-table-td');
48
+ const container = findParentWithClass(templateData.icon, 'monaco-table-td');
49
49
  container.classList.toggle('quickFix', enabled);
50
50
  }
51
51
  };
@@ -79,7 +79,7 @@ let MarkerCodeColumnRenderer = class MarkerCodeColumnRenderer {
79
79
  this.templateId = MarkerCodeColumnRenderer_1.TEMPLATE_ID;
80
80
  }
81
81
  renderTemplate(container) {
82
- const codeColumn = dom.append(container, $('.code'));
82
+ const codeColumn = append(container, $('.code'));
83
83
  const sourceLabel = ( new HighlightedLabel(codeColumn));
84
84
  sourceLabel.element.classList.add('source-label');
85
85
  const codeLabel = ( new HighlightedLabel(codeColumn));
@@ -126,7 +126,7 @@ class MarkerMessageColumnRenderer {
126
126
  }
127
127
  static { this.TEMPLATE_ID = 'message'; }
128
128
  renderTemplate(container) {
129
- const columnElement = dom.append(container, $('.message'));
129
+ const columnElement = append(container, $('.message'));
130
130
  const highlightedLabel = ( new HighlightedLabel(columnElement));
131
131
  return { columnElement, highlightedLabel };
132
132
  }
@@ -144,7 +144,7 @@ let MarkerFileColumnRenderer = class MarkerFileColumnRenderer {
144
144
  this.templateId = MarkerFileColumnRenderer_1.TEMPLATE_ID;
145
145
  }
146
146
  renderTemplate(container) {
147
- const columnElement = dom.append(container, $('.file'));
147
+ const columnElement = append(container, $('.file'));
148
148
  const fileLabel = ( new HighlightedLabel(columnElement));
149
149
  fileLabel.element.classList.add('file-label');
150
150
  const positionLabel = ( new HighlightedLabel(columnElement));
@@ -168,7 +168,7 @@ class MarkerOwnerColumnRenderer {
168
168
  }
169
169
  static { this.TEMPLATE_ID = 'owner'; }
170
170
  renderTemplate(container) {
171
- const columnElement = dom.append(container, $('.owner'));
171
+ const columnElement = append(container, $('.owner'));
172
172
  const highlightedLabel = ( new HighlightedLabel(columnElement));
173
173
  return { columnElement, highlightedLabel };
174
174
  }
@@ -265,7 +265,7 @@ let MarkersTable = class MarkersTable extends Disposable {
265
265
  ], options);
266
266
  const list = this.table.domNode.querySelector('.monaco-list-rows');
267
267
  const onRowHover = Event.chain(this._register(( new DomEmitter(list, 'mouseover'))).event, $ => ( ( $.map(
268
- e => dom.findParentWithClass(e.target, 'monaco-list-row', 'monaco-list-rows')
268
+ e => findParentWithClass(e.target, 'monaco-list-row', 'monaco-list-rows')
269
269
  ))
270
270
  .filter(((e) => !!e))
271
271
  .map(e => parseInt(e.getAttribute('data-index')))));
@@ -1,44 +1,44 @@
1
1
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
- import * as dom from 'monaco-editor/esm/vs/base/browser/dom.js';
3
- import * as network from 'monaco-editor/esm/vs/base/common/network.js';
4
- import * as path from 'monaco-editor/esm/vs/base/common/path.js';
5
- import { CountBadge } from 'monaco-editor/esm/vs/base/browser/ui/countBadge/countBadge.js';
6
- import { HighlightedLabel } from 'monaco-editor/esm/vs/base/browser/ui/highlightedlabel/highlightedLabel.js';
7
- import { MarkerSeverity } from 'monaco-editor/esm/vs/platform/markers/common/markers.js';
2
+ import { append, $, clearNode, addDisposableListener, EventType } from 'vscode/vscode/vs/base/browser/dom';
3
+ import { Schemas } from 'vscode/vscode/vs/base/common/network';
4
+ import { dirname, basename as basename$1 } from 'vscode/vscode/vs/base/common/path';
5
+ import { CountBadge } from 'vscode/vscode/vs/base/browser/ui/countBadge/countBadge';
6
+ import { HighlightedLabel } from 'vscode/vscode/vs/base/browser/ui/highlightedlabel/highlightedLabel';
7
+ import { MarkerSeverity } from 'vscode/vscode/vs/platform/markers/common/markers';
8
8
  import { Marker, ResourceMarkers, MarkerTableItem, RelatedInformation } from './markersModel.js';
9
9
  import Messages from './messages.js';
10
- import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
11
- import { ThemeIcon } from 'monaco-editor/esm/vs/base/common/themables.js';
12
- import { DisposableStore, Disposable, toDisposable, dispose } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
13
- import { ActionBar } from 'monaco-editor/esm/vs/base/browser/ui/actionbar/actionbar.js';
10
+ import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
11
+ import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
12
+ import { DisposableStore, Disposable, toDisposable, dispose } from 'vscode/vscode/vs/base/common/lifecycle';
13
+ import { ActionBar } from 'vscode/vscode/vs/base/browser/ui/actionbar/actionbar';
14
14
  import { QuickFixAction, QuickFixActionViewItem } from './markersViewActions.js';
15
- import { ILabelService } from 'monaco-editor/esm/vs/platform/label/common/label.js';
16
- import { dirname, basename, isEqual } from 'monaco-editor/esm/vs/base/common/resources.js';
15
+ import { ILabelService } from 'vscode/vscode/vs/platform/label/common/label';
16
+ import { dirname as dirname$1, basename, isEqual } from 'vscode/vscode/vs/base/common/resources';
17
17
  import { FilterOptions } from './markersFilterOptions.js';
18
- import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
19
- import { isUndefinedOrNull } from 'monaco-editor/esm/vs/base/common/types.js';
20
- import { Action } from 'monaco-editor/esm/vs/base/common/actions.js';
21
- import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
22
- import { createCancelablePromise, Delayer } from 'monaco-editor/esm/vs/base/common/async.js';
23
- import { IModelService } from 'monaco-editor/esm/vs/editor/common/services/model.js';
24
- import { Range } from 'monaco-editor/esm/vs/editor/common/core/range.js';
25
- import { getCodeActions, applyCodeAction, ApplyCodeActionReason } from 'monaco-editor/esm/vs/editor/contrib/codeAction/browser/codeAction.js';
26
- import { CodeActionTriggerSource, CodeActionKind } from 'monaco-editor/esm/vs/editor/contrib/codeAction/common/types.js';
18
+ import { Emitter } from 'vscode/vscode/vs/base/common/event';
19
+ import { isUndefinedOrNull } from 'vscode/vscode/vs/base/common/types';
20
+ import { Action } from 'vscode/vscode/vs/base/common/actions';
21
+ import { localizeWithPath } from 'vscode/vscode/vs/nls';
22
+ import { createCancelablePromise, Delayer } from 'vscode/vscode/vs/base/common/async';
23
+ import { IModelService } from 'vscode/vscode/vs/editor/common/services/model';
24
+ import { Range } from 'vscode/vscode/vs/editor/common/core/range';
25
+ import { getCodeActions, applyCodeAction, ApplyCodeActionReason } from 'vscode/vscode/vs/editor/contrib/codeAction/browser/codeAction';
26
+ import { CodeActionTriggerSource, CodeActionKind } from 'vscode/vscode/vs/editor/contrib/codeAction/common/types';
27
27
  import { ACTIVE_GROUP, IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
28
- import { SeverityIcon } from 'monaco-editor/esm/vs/platform/severityIcon/browser/severityIcon.js';
29
- import { IOpenerService } from 'monaco-editor/esm/vs/platform/opener/common/opener.js';
30
- import { IFileService } from 'monaco-editor/esm/vs/platform/files/common/files.js';
31
- import { Progress } from 'monaco-editor/esm/vs/platform/progress/common/progress.js';
32
- import { ActionViewItem } from 'monaco-editor/esm/vs/base/browser/ui/actionbar/actionViewItems.js';
33
- import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
34
- import { registerIcon } from 'monaco-editor/esm/vs/platform/theme/common/iconRegistry.js';
35
- import { Link } from 'monaco-editor/esm/vs/platform/opener/browser/link.js';
36
- import { ILanguageFeaturesService } from 'monaco-editor/esm/vs/editor/common/services/languageFeatures.js';
37
- import { IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
28
+ import { SeverityIcon } from 'vscode/vscode/vs/platform/severityIcon/browser/severityIcon';
29
+ import { IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
30
+ import { IFileService } from 'vscode/vscode/vs/platform/files/common/files';
31
+ import { Progress } from 'vscode/vscode/vs/platform/progress/common/progress';
32
+ import { ActionViewItem } from 'vscode/vscode/vs/base/browser/ui/actionbar/actionViewItems';
33
+ import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
34
+ import { registerIcon } from 'vscode/vscode/vs/platform/theme/common/iconRegistry';
35
+ import { Link } from 'vscode/vscode/vs/platform/opener/browser/link';
36
+ import { ILanguageFeaturesService } from 'vscode/vscode/vs/editor/common/services/languageFeatures';
37
+ import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
38
38
  import { MarkersContextKeys } from 'vscode/vscode/vs/workbench/contrib/markers/common/markers';
39
- import { unsupportedSchemas } from 'monaco-editor/esm/vs/platform/markers/common/markerService.js';
40
- import { defaultCountBadgeStyles } from 'monaco-editor/esm/vs/platform/theme/browser/defaultStyles.js';
41
- import Severity from 'monaco-editor/esm/vs/base/common/severity.js';
39
+ import { unsupportedSchemas } from 'vscode/vscode/vs/platform/markers/common/markerService';
40
+ import { defaultCountBadgeStyles } from 'vscode/vscode/vs/platform/theme/browser/defaultStyles';
41
+ import Severity from 'vscode/vscode/vs/base/common/severity';
42
42
 
43
43
  let MarkersWidgetAccessibilityProvider = class MarkersWidgetAccessibilityProvider {
44
44
  constructor(labelService) {
@@ -53,8 +53,8 @@ let MarkersWidgetAccessibilityProvider = class MarkersWidgetAccessibilityProvide
53
53
  }
54
54
  getAriaLabel(element) {
55
55
  if (element instanceof ResourceMarkers) {
56
- const path$1 = this.labelService.getUriLabel(element.resource, { relative: true }) || element.resource.fsPath;
57
- return Messages.MARKERS_TREE_ARIA_LABEL_RESOURCE(element.markers.length, element.name, path.dirname(path$1));
56
+ const path = this.labelService.getUriLabel(element.resource, { relative: true }) || element.resource.fsPath;
57
+ return Messages.MARKERS_TREE_ARIA_LABEL_RESOURCE(element.markers.length, element.name, dirname(path));
58
58
  }
59
59
  if (element instanceof Marker || element instanceof MarkerTableItem) {
60
60
  return Messages.MARKERS_TREE_ARIA_LABEL_MARKER(element);
@@ -104,20 +104,20 @@ let ResourceMarkersRenderer = class ResourceMarkersRenderer {
104
104
  onDidChangeRenderNodeCount(this.onDidChangeRenderNodeCount, this, this.disposables);
105
105
  }
106
106
  renderTemplate(container) {
107
- const resourceLabelContainer = dom.append(container, dom.$('.resource-label-container'));
107
+ const resourceLabelContainer = append(container, $('.resource-label-container'));
108
108
  const resourceLabel = this.labels.create(resourceLabelContainer, { supportHighlights: true });
109
- const badgeWrapper = dom.append(container, dom.$('.count-badge-wrapper'));
109
+ const badgeWrapper = append(container, $('.count-badge-wrapper'));
110
110
  const count = ( new CountBadge(badgeWrapper, {}, defaultCountBadgeStyles));
111
111
  return { count, resourceLabel };
112
112
  }
113
113
  renderElement(node, _, templateData) {
114
114
  const resourceMarkers = node.element;
115
115
  const uriMatches = node.filterData && node.filterData.uriMatches || [];
116
- if (this.fileService.hasProvider(resourceMarkers.resource) || resourceMarkers.resource.scheme === network.Schemas.untitled) {
116
+ if (this.fileService.hasProvider(resourceMarkers.resource) || resourceMarkers.resource.scheme === Schemas.untitled) {
117
117
  templateData.resourceLabel.setFile(resourceMarkers.resource, { matches: uriMatches });
118
118
  }
119
119
  else {
120
- templateData.resourceLabel.setResource({ name: resourceMarkers.name, description: this.labelService.getUriLabel(dirname(resourceMarkers.resource), { relative: true }), resource: resourceMarkers.resource }, { matches: uriMatches });
120
+ templateData.resourceLabel.setResource({ name: resourceMarkers.name, description: this.labelService.getUriLabel(dirname$1(resourceMarkers.resource), { relative: true }), resource: resourceMarkers.resource }, { matches: uriMatches });
121
121
  }
122
122
  this.updateCount(node, templateData);
123
123
  const nodeRenders = this.renderedNodes.get(resourceMarkers) ?? [];
@@ -216,23 +216,23 @@ class MarkerWidget extends Disposable {
216
216
  this.markersViewModel = markersViewModel;
217
217
  this._openerService = _openerService;
218
218
  this.disposables = this._register(( new DisposableStore()));
219
- this.actionBar = this._register(( new ActionBar(dom.append(parent, dom.$('.actions')), {
219
+ this.actionBar = this._register(( new ActionBar(append(parent, $('.actions')), {
220
220
  actionViewItemProvider: (action) => action.id === QuickFixAction.ID ? _instantiationService.createInstance(QuickFixActionViewItem, action) : undefined
221
221
  })));
222
- this.iconContainer = dom.append(parent, dom.$(''));
223
- this.icon = dom.append(this.iconContainer, dom.$(''));
224
- this.messageAndDetailsContainer = dom.append(parent, dom.$('.marker-message-details-container'));
222
+ this.iconContainer = append(parent, $(''));
223
+ this.icon = append(this.iconContainer, $(''));
224
+ this.messageAndDetailsContainer = append(parent, $('.marker-message-details-container'));
225
225
  }
226
226
  render(element, filterData) {
227
227
  this.actionBar.clear();
228
228
  this.disposables.clear();
229
- dom.clearNode(this.messageAndDetailsContainer);
229
+ clearNode(this.messageAndDetailsContainer);
230
230
  this.iconContainer.className = `marker-icon ${( Severity.toString(MarkerSeverity.toSeverity(element.marker.severity)))}`;
231
231
  this.icon.className = `codicon ${SeverityIcon.className(MarkerSeverity.toSeverity(element.marker.severity))}`;
232
232
  this.renderQuickfixActionbar(element);
233
233
  this.renderMessageAndDetails(element, filterData);
234
- this.disposables.add(dom.addDisposableListener(this.parent, dom.EventType.MOUSE_OVER, () => this.markersViewModel.onMarkerMouseHover(element)));
235
- this.disposables.add(dom.addDisposableListener(this.parent, dom.EventType.MOUSE_LEAVE, () => this.markersViewModel.onMarkerMouseLeave(element)));
234
+ this.disposables.add(addDisposableListener(this.parent, EventType.MOUSE_OVER, () => this.markersViewModel.onMarkerMouseHover(element)));
235
+ this.disposables.add(addDisposableListener(this.parent, EventType.MOUSE_LEAVE, () => this.markersViewModel.onMarkerMouseLeave(element)));
236
236
  }
237
237
  renderQuickfixActionbar(marker) {
238
238
  const viewModel = this.markersViewModel.getViewModel(marker);
@@ -254,7 +254,7 @@ class MarkerWidget extends Disposable {
254
254
  }
255
255
  }
256
256
  renderMultilineActionbar(marker, parent) {
257
- const multilineActionbar = this.disposables.add(( new ActionBar(dom.append(parent, dom.$('.multiline-actions')), {
257
+ const multilineActionbar = this.disposables.add(( new ActionBar(append(parent, $('.multiline-actions')), {
258
258
  actionViewItemProvider: (action) => {
259
259
  if (action.id === toggleMultilineAction) {
260
260
  return ( new ToggleMultilineActionViewItem(undefined, action, { icon: true }));
@@ -290,8 +290,8 @@ class MarkerWidget extends Disposable {
290
290
  this.messageAndDetailsContainer.title = element.marker.message;
291
291
  const lineElements = [];
292
292
  for (let index = 0; index < (multiline ? lines.length : 1); index++) {
293
- const lineElement = dom.append(this.messageAndDetailsContainer, dom.$('.marker-message-line'));
294
- const messageElement = dom.append(lineElement, dom.$('.marker-message'));
293
+ const lineElement = append(this.messageAndDetailsContainer, $('.marker-message-line'));
294
+ const messageElement = append(lineElement, $('.marker-message'));
295
295
  const highlightedLabel = ( new HighlightedLabel(messageElement));
296
296
  highlightedLabel.set(lines[index].length > 1000 ? `${lines[index].substring(0, 1000)}...` : lines[index], lineMatches[index]);
297
297
  if (lines[index] === '') {
@@ -305,17 +305,17 @@ class MarkerWidget extends Disposable {
305
305
  renderDetails(marker, filterData, parent) {
306
306
  parent.classList.add('details-container');
307
307
  if (marker.source || marker.code) {
308
- const source = ( new HighlightedLabel(dom.append(parent, dom.$('.marker-source'))));
308
+ const source = ( new HighlightedLabel(append(parent, $('.marker-source'))));
309
309
  const sourceMatches = filterData && filterData.sourceMatches || [];
310
310
  source.set(marker.source, sourceMatches);
311
311
  if (marker.code) {
312
312
  if (typeof marker.code === 'string') {
313
- const code = ( new HighlightedLabel(dom.append(parent, dom.$('.marker-code'))));
313
+ const code = ( new HighlightedLabel(append(parent, $('.marker-code'))));
314
314
  const codeMatches = filterData && filterData.codeMatches || [];
315
315
  code.set(marker.code, codeMatches);
316
316
  }
317
317
  else {
318
- const container = dom.$('.marker-code');
318
+ const container = $('.marker-code');
319
319
  const code = ( new HighlightedLabel(container));
320
320
  const link = ( marker.code.target.toString(true));
321
321
  this.disposables.add(( new Link(
@@ -329,7 +329,7 @@ class MarkerWidget extends Disposable {
329
329
  }
330
330
  }
331
331
  }
332
- const lnCol = dom.append(parent, dom.$('span.marker-line'));
332
+ const lnCol = append(parent, $('span.marker-line'));
333
333
  lnCol.textContent = Messages.MARKERS_PANEL_AT_LINE_COL_NUMBER(marker.startLineNumber, marker.startColumn);
334
334
  }
335
335
  }
@@ -340,14 +340,14 @@ let RelatedInformationRenderer = class RelatedInformationRenderer {
340
340
  }
341
341
  renderTemplate(container) {
342
342
  const data = Object.create(null);
343
- dom.append(container, dom.$('.actions'));
344
- dom.append(container, dom.$('.icon'));
345
- data.resourceLabel = ( new HighlightedLabel(dom.append(container, dom.$('.related-info-resource'))));
346
- data.lnCol = dom.append(container, dom.$('span.marker-line'));
347
- const separator = dom.append(container, dom.$('span.related-info-resource-separator'));
343
+ append(container, $('.actions'));
344
+ append(container, $('.icon'));
345
+ data.resourceLabel = ( new HighlightedLabel(append(container, $('.related-info-resource'))));
346
+ data.lnCol = append(container, $('span.marker-line'));
347
+ const separator = append(container, $('span.related-info-resource-separator'));
348
348
  separator.textContent = ':';
349
349
  separator.style.paddingRight = '4px';
350
- data.description = ( new HighlightedLabel(dom.append(container, dom.$('.marker-description'))));
350
+ data.description = ( new HighlightedLabel(append(container, $('.marker-description'))));
351
351
  return data;
352
352
  }
353
353
  renderElement(node, _, templateData) {
@@ -433,7 +433,7 @@ class Filter {
433
433
  return true;
434
434
  }
435
435
  const uriMatches = FilterOptions._filter(this.options.textFilter.text, basename(relatedInformation.raw.resource));
436
- const messageMatches = FilterOptions._messageFilter(this.options.textFilter.text, path.basename(relatedInformation.raw.message));
436
+ const messageMatches = FilterOptions._messageFilter(this.options.textFilter.text, basename$1(relatedInformation.raw.message));
437
437
  const matched = uriMatches || messageMatches;
438
438
  if (matched && !this.options.textFilter.negate) {
439
439
  return { visibility: true, data: { type: 2 , uriMatches: uriMatches || [], messageMatches: messageMatches || [] } };
@@ -1,41 +1,41 @@
1
1
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
2
  import './media/markers.css.js';
3
- import * as dom from 'monaco-editor/esm/vs/base/browser/dom.js';
4
- import { Separator } from 'monaco-editor/esm/vs/base/common/actions.js';
5
- import { ITelemetryService } from 'monaco-editor/esm/vs/platform/telemetry/common/telemetry.js';
3
+ import { addDisposableListener, append, $, isActiveElement, clearNode, addStandardDisposableListener, EventType } from 'vscode/vscode/vs/base/browser/dom';
4
+ import { Separator } from 'vscode/vscode/vs/base/common/actions';
5
+ import { ITelemetryService } from 'vscode/vscode/vs/platform/telemetry/common/telemetry';
6
6
  import { SIDE_GROUP, ACTIVE_GROUP, IEditorService } from 'vscode/vscode/vs/workbench/services/editor/common/editorService';
7
7
  import { MarkersModel, Marker, RelatedInformation, MarkerTableItem, ResourceMarkers, compareMarkersByUri } from './markersModel.js';
8
- import { IInstantiationService } from 'monaco-editor/esm/vs/platform/instantiation/common/instantiation.js';
8
+ import { IInstantiationService } from 'vscode/vscode/vs/platform/instantiation/common/instantiation';
9
9
  import { MarkersFilters } from './markersViewActions.js';
10
- import { IConfigurationService } from 'monaco-editor/esm/vs/platform/configuration/common/configuration.js';
10
+ import { IConfigurationService } from 'vscode/vscode/vs/platform/configuration/common/configuration';
11
11
  import Messages from './messages.js';
12
12
  import { RangeHighlightDecorations } from 'vscode/vscode/vs/workbench/browser/codeeditor';
13
- import { IThemeService } from 'monaco-editor/esm/vs/platform/theme/common/themeService.js';
14
- import { IStorageService } from 'monaco-editor/esm/vs/platform/storage/common/storage.js';
15
- import { localizeWithPath } from 'monaco-editor/esm/vs/nls.js';
16
- import { IContextKeyService } from 'monaco-editor/esm/vs/platform/contextkey/common/contextkey.js';
17
- import { Iterable } from 'monaco-editor/esm/vs/base/common/iterator.js';
18
- import { Event, Relay } from 'monaco-editor/esm/vs/base/common/event.js';
19
- import { WorkbenchObjectTree, IListService } from 'monaco-editor/esm/vs/platform/list/browser/listService.js';
13
+ import { IThemeService } from 'vscode/vscode/vs/platform/theme/common/themeService';
14
+ import { IStorageService } from 'vscode/vscode/vs/platform/storage/common/storage';
15
+ import { localizeWithPath } from 'vscode/vscode/vs/nls';
16
+ import { IContextKeyService } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
17
+ import { Iterable } from 'vscode/vscode/vs/base/common/iterator';
18
+ import { Event, Relay } from 'vscode/vscode/vs/base/common/event';
19
+ import { WorkbenchObjectTree, IListService } from 'vscode/vscode/vs/platform/list/browser/listService';
20
20
  import { FilterOptions } from './markersFilterOptions.js';
21
- import { deepClone } from 'monaco-editor/esm/vs/base/common/objects.js';
22
- import { IWorkspaceContextService } from 'monaco-editor/esm/vs/platform/workspace/common/workspace.js';
21
+ import { deepClone } from 'vscode/vscode/vs/base/common/objects';
22
+ import { IWorkspaceContextService } from 'vscode/vscode/vs/platform/workspace/common/workspace';
23
23
  import { MarkersViewModel, MarkersWidgetAccessibilityProvider, Filter, VirtualDelegate, ResourceMarkersRenderer, MarkerRenderer, RelatedInformationRenderer } from './markersTreeViewer.js';
24
- import { IContextMenuService } from 'monaco-editor/esm/vs/platform/contextview/browser/contextView.js';
25
- import { MenuId } from 'monaco-editor/esm/vs/platform/actions/common/actions.js';
26
- import { IKeybindingService } from 'monaco-editor/esm/vs/platform/keybinding/common/keybinding.js';
27
- import { StandardKeyboardEvent } from 'monaco-editor/esm/vs/base/browser/keyboardEvent.js';
24
+ import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView';
25
+ import { MenuId } from 'vscode/vscode/vs/platform/actions/common/actions';
26
+ import { IKeybindingService } from 'vscode/vscode/vs/platform/keybinding/common/keybinding';
27
+ import { StandardKeyboardEvent } from 'vscode/vscode/vs/base/browser/keyboardEvent';
28
28
  import { ResourceLabels } from 'vscode/vscode/vs/workbench/browser/labels';
29
- import { MarkerSeverity, IMarkerService } from 'monaco-editor/esm/vs/platform/markers/common/markers.js';
29
+ import { MarkerSeverity, IMarkerService } from 'vscode/vscode/vs/platform/markers/common/markers';
30
30
  import { Memento } from 'vscode/vscode/vs/workbench/common/memento';
31
31
  import { FilterViewPane } from 'vscode/vscode/vs/workbench/browser/parts/views/viewPane';
32
32
  import { IViewDescriptorService } from 'vscode/vscode/vs/workbench/common/views';
33
- import { withSelection, IOpenerService } from 'monaco-editor/esm/vs/platform/opener/common/opener.js';
34
- import { ActionViewItem } from 'monaco-editor/esm/vs/base/browser/ui/actionbar/actionViewItems.js';
35
- import { IUriIdentityService } from 'monaco-editor/esm/vs/platform/uriIdentity/common/uriIdentity.js';
36
- import { DisposableStore, toDisposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
37
- import { groupBy } from 'monaco-editor/esm/vs/base/common/arrays.js';
38
- import { ResourceMap } from 'monaco-editor/esm/vs/base/common/map.js';
33
+ import { withSelection, IOpenerService } from 'vscode/vscode/vs/platform/opener/common/opener';
34
+ import { ActionViewItem } from 'vscode/vscode/vs/base/browser/ui/actionbar/actionViewItems';
35
+ import { IUriIdentityService } from 'vscode/vscode/vs/platform/uriIdentity/common/uriIdentity';
36
+ import { DisposableStore, toDisposable } from 'vscode/vscode/vs/base/common/lifecycle';
37
+ import { groupBy } from 'vscode/vscode/vs/base/common/arrays';
38
+ import { ResourceMap } from 'vscode/vscode/vs/base/common/map';
39
39
  import { EditorResourceAccessor, SideBySideEditor } from 'vscode/vscode/vs/workbench/common/editor';
40
40
  import { ResourceListDnDHandler } from 'vscode/vscode/vs/workbench/browser/dnd';
41
41
  import { MarkersTable } from './markersTable.js';
@@ -118,15 +118,15 @@ let MarkersView = class MarkersView extends FilterViewPane {
118
118
  renderBody(parent) {
119
119
  super.renderBody(parent);
120
120
  parent.classList.add('markers-panel');
121
- this._register(dom.addDisposableListener(parent, 'keydown', e => {
121
+ this._register(addDisposableListener(parent, 'keydown', e => {
122
122
  if (this.keybindingService.mightProducePrintableCharacter(( new StandardKeyboardEvent(e)))) {
123
123
  this.focusFilter();
124
124
  }
125
125
  }));
126
- const panelContainer = dom.append(parent, dom.$('.markers-panel-container'));
126
+ const panelContainer = append(parent, $('.markers-panel-container'));
127
127
  this.createArialLabelElement(panelContainer);
128
128
  this.createMessageBox(panelContainer);
129
- this.widgetContainer = dom.append(panelContainer, dom.$('.widget-container'));
129
+ this.widgetContainer = append(panelContainer, $('.widget-container'));
130
130
  this.createWidget(this.widgetContainer);
131
131
  this.updateFilter();
132
132
  this.renderContent();
@@ -144,7 +144,7 @@ let MarkersView = class MarkersView extends FilterViewPane {
144
144
  }
145
145
  focus() {
146
146
  super.focus();
147
- if (dom.isActiveElement(this.widget.getHTMLElement())) {
147
+ if (isActiveElement(this.widget.getHTMLElement())) {
148
148
  return;
149
149
  }
150
150
  if (this.hasNoProblems()) {
@@ -299,11 +299,11 @@ let MarkersView = class MarkersView extends FilterViewPane {
299
299
  return resourceMarkers;
300
300
  }
301
301
  createMessageBox(parent) {
302
- this.messageBoxContainer = dom.append(parent, dom.$('.message-box-container'));
302
+ this.messageBoxContainer = append(parent, $('.message-box-container'));
303
303
  this.messageBoxContainer.setAttribute('aria-labelledby', 'markers-panel-arialabel');
304
304
  }
305
305
  createArialLabelElement(parent) {
306
- this.ariaLabelElement = dom.append(parent, dom.$(''));
306
+ this.ariaLabelElement = append(parent, $(''));
307
307
  this.ariaLabelElement.setAttribute('id', 'markers-panel-arialabel');
308
308
  }
309
309
  createWidget(parent) {
@@ -331,7 +331,7 @@ let MarkersView = class MarkersView extends FilterViewPane {
331
331
  this.widgetDisposables.add(this.widget.onDidChangeSelection(this.onSelected, this));
332
332
  }
333
333
  createTable(parent) {
334
- const table = this.instantiationService.createInstance(MarkersTable, dom.append(parent, dom.$('.markers-table-container')), this.markersViewModel, this.getResourceMarkers(), this.filter.options, {
334
+ const table = this.instantiationService.createInstance(MarkersTable, append(parent, $('.markers-table-container')), this.markersViewModel, this.getResourceMarkers(), this.filter.options, {
335
335
  accessibilityProvider: this.widgetAccessibilityProvider,
336
336
  dnd: this.instantiationService.createInstance(ResourceListDnDHandler, (element) => {
337
337
  if (element instanceof MarkerTableItem) {
@@ -355,7 +355,7 @@ let MarkersView = class MarkersView extends FilterViewPane {
355
355
  this.instantiationService.createInstance(MarkerRenderer, this.markersViewModel),
356
356
  this.instantiationService.createInstance(RelatedInformationRenderer)
357
357
  ];
358
- const tree = this.instantiationService.createInstance(MarkersTree, 'MarkersView', dom.append(parent, dom.$('.tree-container.show-file-icons')), virtualDelegate, renderers, {
358
+ const tree = this.instantiationService.createInstance(MarkersTree, 'MarkersView', append(parent, $('.tree-container.show-file-icons')), virtualDelegate, renderers, {
359
359
  filter: this.filter,
360
360
  accessibilityProvider: this.widgetAccessibilityProvider,
361
361
  identityProvider: this.widgetIdentityProvider,
@@ -525,7 +525,7 @@ let MarkersView = class MarkersView extends FilterViewPane {
525
525
  if (!this.messageBoxContainer || !this.ariaLabelElement) {
526
526
  return;
527
527
  }
528
- dom.clearNode(this.messageBoxContainer);
528
+ clearNode(this.messageBoxContainer);
529
529
  const { total, filtered } = this.getFilterStats();
530
530
  if (filtered === 0) {
531
531
  this.messageBoxContainer.style.display = 'block';
@@ -573,19 +573,19 @@ let MarkersView = class MarkersView extends FilterViewPane {
573
573
  }
574
574
  }
575
575
  renderFilteredByFilterMessage(container) {
576
- const span1 = dom.append(container, dom.$('span'));
576
+ const span1 = append(container, $('span'));
577
577
  span1.textContent = Messages.MARKERS_PANEL_NO_PROBLEMS_FILTERS;
578
- const link = dom.append(container, dom.$('a.messageAction'));
578
+ const link = append(container, $('a.messageAction'));
579
579
  link.textContent = ( localizeWithPath(
580
580
  'vs/workbench/contrib/markers/browser/markersView',
581
581
  'clearFilter',
582
582
  "Clear Filters"
583
583
  ));
584
584
  link.setAttribute('tabIndex', '0');
585
- const span2 = dom.append(container, dom.$('span'));
585
+ const span2 = append(container, $('span'));
586
586
  span2.textContent = '.';
587
- dom.addStandardDisposableListener(link, dom.EventType.CLICK, () => this.clearFilters());
588
- dom.addStandardDisposableListener(link, dom.EventType.KEY_DOWN, (e) => {
587
+ addStandardDisposableListener(link, EventType.CLICK, () => this.clearFilters());
588
+ addStandardDisposableListener(link, EventType.KEY_DOWN, (e) => {
589
589
  if (e.equals(3 ) || e.equals(10 )) {
590
590
  this.clearFilters();
591
591
  e.stopPropagation();
@@ -594,12 +594,12 @@ let MarkersView = class MarkersView extends FilterViewPane {
594
594
  this.setAriaLabel(Messages.MARKERS_PANEL_NO_PROBLEMS_FILTERS);
595
595
  }
596
596
  renderNoProblemsMessageForActiveFile(container) {
597
- const span = dom.append(container, dom.$('span'));
597
+ const span = append(container, $('span'));
598
598
  span.textContent = Messages.MARKERS_PANEL_NO_PROBLEMS_ACTIVE_FILE_BUILT;
599
599
  this.setAriaLabel(Messages.MARKERS_PANEL_NO_PROBLEMS_ACTIVE_FILE_BUILT);
600
600
  }
601
601
  renderNoProblemsMessage(container) {
602
- const span = dom.append(container, dom.$('span'));
602
+ const span = append(container, $('span'));
603
603
  span.textContent = Messages.MARKERS_PANEL_NO_PROBLEMS_BUILT;
604
604
  this.setAriaLabel(Messages.MARKERS_PANEL_NO_PROBLEMS_BUILT);
605
605
  }
@@ -629,7 +629,7 @@ let MarkersView = class MarkersView extends FilterViewPane {
629
629
  }
630
630
  updateRangeHighlights() {
631
631
  this.rangeHighlightDecorations.removeHighlightRange();
632
- if (dom.isActiveElement(this.widget.getHTMLElement())) {
632
+ if (isActiveElement(this.widget.getHTMLElement())) {
633
633
  this.highlightCurrentSelectedMarkerRange();
634
634
  }
635
635
  }
@@ -1,13 +1,13 @@
1
1
  import { __decorate, __param } from '../../../../../../../external/tslib/tslib.es6.js';
2
- import * as dom from 'monaco-editor/esm/vs/base/browser/dom.js';
3
- import { Action } from 'monaco-editor/esm/vs/base/common/actions.js';
4
- import { IContextMenuService } from 'monaco-editor/esm/vs/platform/contextview/browser/contextView.js';
2
+ import { EventHelper, getDomNodePagePosition } from 'vscode/vscode/vs/base/browser/dom';
3
+ import { Action } from 'vscode/vscode/vs/base/common/actions';
4
+ import { IContextMenuService } from 'vscode/vscode/vs/platform/contextview/browser/contextView';
5
5
  import Messages from './messages.js';
6
- import { Disposable } from 'monaco-editor/esm/vs/base/common/lifecycle.js';
7
- import { Emitter } from 'monaco-editor/esm/vs/base/common/event.js';
8
- import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
9
- import { ThemeIcon } from 'monaco-editor/esm/vs/base/common/themables.js';
10
- import { ActionViewItem } from 'monaco-editor/esm/vs/base/browser/ui/actionbar/actionViewItems.js';
6
+ import { Disposable } from 'vscode/vscode/vs/base/common/lifecycle';
7
+ import { Emitter } from 'vscode/vscode/vs/base/common/event';
8
+ import { Codicon } from 'vscode/vscode/vs/base/common/codicons';
9
+ import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
10
+ import { ActionViewItem } from 'vscode/vscode/vs/base/browser/ui/actionbar/actionViewItems';
11
11
  import { MarkersContextKeys } from 'vscode/vscode/vs/workbench/contrib/markers/common/markers';
12
12
  import './markersViewActions.css.js';
13
13
 
@@ -107,7 +107,7 @@ let QuickFixActionViewItem = class QuickFixActionViewItem extends ActionViewItem
107
107
  this.contextMenuService = contextMenuService;
108
108
  }
109
109
  onClick(event) {
110
- dom.EventHelper.stop(event, true);
110
+ EventHelper.stop(event, true);
111
111
  this.showQuickFixes();
112
112
  }
113
113
  showQuickFixes() {
@@ -117,7 +117,7 @@ let QuickFixActionViewItem = class QuickFixActionViewItem extends ActionViewItem
117
117
  if (!this.isEnabled()) {
118
118
  return;
119
119
  }
120
- const elementPosition = dom.getDomNodePagePosition(this.element);
120
+ const elementPosition = getDomNodePagePosition(this.element);
121
121
  const quickFixes = this.action.quickFixes;
122
122
  if (quickFixes.length) {
123
123
  this.contextMenuService.showContextMenu({
@@ -1,190 +1,190 @@
1
- import * as nls from 'monaco-editor/esm/vs/nls.js';
2
- import { basename } from 'monaco-editor/esm/vs/base/common/resources.js';
3
- import { MarkerSeverity } from 'monaco-editor/esm/vs/platform/markers/common/markers.js';
1
+ import { localizeWithPath, localize2WithPath } from 'vscode/vscode/vs/nls';
2
+ import { basename } from 'vscode/vscode/vs/base/common/resources';
3
+ import { MarkerSeverity } from 'vscode/vscode/vs/platform/markers/common/markers';
4
4
 
5
5
  class Messages {
6
- static { this.MARKERS_PANEL_TOGGLE_LABEL = ( nls.localizeWithPath(
6
+ static { this.MARKERS_PANEL_TOGGLE_LABEL = ( localizeWithPath(
7
7
  'vs/workbench/contrib/markers/browser/messages',
8
8
  'problems.view.toggle.label',
9
9
  "Toggle Problems (Errors, Warnings, Infos)"
10
10
  )); }
11
- static { this.MARKERS_PANEL_SHOW_LABEL = ( nls.localizeWithPath(
11
+ static { this.MARKERS_PANEL_SHOW_LABEL = ( localizeWithPath(
12
12
  'vs/workbench/contrib/markers/browser/messages',
13
13
  'problems.view.focus.label',
14
14
  "Focus Problems (Errors, Warnings, Infos)"
15
15
  )); }
16
- static { this.PROBLEMS_PANEL_CONFIGURATION_TITLE = ( nls.localizeWithPath(
16
+ static { this.PROBLEMS_PANEL_CONFIGURATION_TITLE = ( localizeWithPath(
17
17
  'vs/workbench/contrib/markers/browser/messages',
18
18
  'problems.panel.configuration.title',
19
19
  "Problems View"
20
20
  )); }
21
- static { this.PROBLEMS_PANEL_CONFIGURATION_AUTO_REVEAL = ( nls.localizeWithPath(
21
+ static { this.PROBLEMS_PANEL_CONFIGURATION_AUTO_REVEAL = ( localizeWithPath(
22
22
  'vs/workbench/contrib/markers/browser/messages',
23
23
  'problems.panel.configuration.autoreveal',
24
24
  "Controls whether Problems view should automatically reveal files when opening them."
25
25
  )); }
26
- static { this.PROBLEMS_PANEL_CONFIGURATION_VIEW_MODE = ( nls.localizeWithPath(
26
+ static { this.PROBLEMS_PANEL_CONFIGURATION_VIEW_MODE = ( localizeWithPath(
27
27
  'vs/workbench/contrib/markers/browser/messages',
28
28
  'problems.panel.configuration.viewMode',
29
29
  "Controls the default view mode of the Problems view."
30
30
  )); }
31
- static { this.PROBLEMS_PANEL_CONFIGURATION_SHOW_CURRENT_STATUS = ( nls.localizeWithPath(
31
+ static { this.PROBLEMS_PANEL_CONFIGURATION_SHOW_CURRENT_STATUS = ( localizeWithPath(
32
32
  'vs/workbench/contrib/markers/browser/messages',
33
33
  'problems.panel.configuration.showCurrentInStatus',
34
34
  "When enabled shows the current problem in the status bar."
35
35
  )); }
36
- static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER = ( nls.localizeWithPath(
36
+ static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER = ( localizeWithPath(
37
37
  'vs/workbench/contrib/markers/browser/messages',
38
38
  'problems.panel.configuration.compareOrder',
39
39
  "Controls the order in which problems are navigated."
40
40
  )); }
41
- static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_SEVERITY = ( nls.localizeWithPath(
41
+ static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_SEVERITY = ( localizeWithPath(
42
42
  'vs/workbench/contrib/markers/browser/messages',
43
43
  'problems.panel.configuration.compareOrder.severity',
44
44
  "Navigate problems ordered by severity"
45
45
  )); }
46
- static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_POSITION = ( nls.localizeWithPath(
46
+ static { this.PROBLEMS_PANEL_CONFIGURATION_COMPARE_ORDER_POSITION = ( localizeWithPath(
47
47
  'vs/workbench/contrib/markers/browser/messages',
48
48
  'problems.panel.configuration.compareOrder.position',
49
49
  "Navigate problems ordered by position"
50
50
  )); }
51
- static { this.MARKERS_PANEL_TITLE_PROBLEMS = ( nls.localize2WithPath(
51
+ static { this.MARKERS_PANEL_TITLE_PROBLEMS = ( localize2WithPath(
52
52
  'vs/workbench/contrib/markers/browser/messages',
53
53
  'markers.panel.title.problems',
54
54
  "Problems"
55
55
  )); }
56
- static { this.MARKERS_PANEL_NO_PROBLEMS_BUILT = ( nls.localizeWithPath(
56
+ static { this.MARKERS_PANEL_NO_PROBLEMS_BUILT = ( localizeWithPath(
57
57
  'vs/workbench/contrib/markers/browser/messages',
58
58
  'markers.panel.no.problems.build',
59
59
  "No problems have been detected in the workspace."
60
60
  )); }
61
- static { this.MARKERS_PANEL_NO_PROBLEMS_ACTIVE_FILE_BUILT = ( nls.localizeWithPath(
61
+ static { this.MARKERS_PANEL_NO_PROBLEMS_ACTIVE_FILE_BUILT = ( localizeWithPath(
62
62
  'vs/workbench/contrib/markers/browser/messages',
63
63
  'markers.panel.no.problems.activeFile.build',
64
64
  "No problems have been detected in the current file."
65
65
  )); }
66
- static { this.MARKERS_PANEL_NO_PROBLEMS_FILTERS = ( nls.localizeWithPath(
66
+ static { this.MARKERS_PANEL_NO_PROBLEMS_FILTERS = ( localizeWithPath(
67
67
  'vs/workbench/contrib/markers/browser/messages',
68
68
  'markers.panel.no.problems.filters',
69
69
  "No results found with provided filter criteria."
70
70
  )); }
71
- static { this.MARKERS_PANEL_ACTION_TOOLTIP_MORE_FILTERS = ( nls.localizeWithPath(
71
+ static { this.MARKERS_PANEL_ACTION_TOOLTIP_MORE_FILTERS = ( localizeWithPath(
72
72
  'vs/workbench/contrib/markers/browser/messages',
73
73
  'markers.panel.action.moreFilters',
74
74
  "More Filters..."
75
75
  )); }
76
- static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_ERRORS = ( nls.localizeWithPath(
76
+ static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_ERRORS = ( localizeWithPath(
77
77
  'vs/workbench/contrib/markers/browser/messages',
78
78
  'markers.panel.filter.showErrors',
79
79
  "Show Errors"
80
80
  )); }
81
- static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_WARNINGS = ( nls.localizeWithPath(
81
+ static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_WARNINGS = ( localizeWithPath(
82
82
  'vs/workbench/contrib/markers/browser/messages',
83
83
  'markers.panel.filter.showWarnings',
84
84
  "Show Warnings"
85
85
  )); }
86
- static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_INFOS = ( nls.localizeWithPath(
86
+ static { this.MARKERS_PANEL_FILTER_LABEL_SHOW_INFOS = ( localizeWithPath(
87
87
  'vs/workbench/contrib/markers/browser/messages',
88
88
  'markers.panel.filter.showInfos',
89
89
  "Show Infos"
90
90
  )); }
91
- static { this.MARKERS_PANEL_FILTER_LABEL_EXCLUDED_FILES = ( nls.localizeWithPath(
91
+ static { this.MARKERS_PANEL_FILTER_LABEL_EXCLUDED_FILES = ( localizeWithPath(
92
92
  'vs/workbench/contrib/markers/browser/messages',
93
93
  'markers.panel.filter.useFilesExclude',
94
94
  "Hide Excluded Files"
95
95
  )); }
96
- static { this.MARKERS_PANEL_FILTER_LABEL_ACTIVE_FILE = ( nls.localizeWithPath(
96
+ static { this.MARKERS_PANEL_FILTER_LABEL_ACTIVE_FILE = ( localizeWithPath(
97
97
  'vs/workbench/contrib/markers/browser/messages',
98
98
  'markers.panel.filter.activeFile',
99
99
  "Show Active File Only"
100
100
  )); }
101
- static { this.MARKERS_PANEL_ACTION_TOOLTIP_FILTER = ( nls.localizeWithPath(
101
+ static { this.MARKERS_PANEL_ACTION_TOOLTIP_FILTER = ( localizeWithPath(
102
102
  'vs/workbench/contrib/markers/browser/messages',
103
103
  'markers.panel.action.filter',
104
104
  "Filter Problems"
105
105
  )); }
106
- static { this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = ( nls.localizeWithPath(
106
+ static { this.MARKERS_PANEL_ACTION_TOOLTIP_QUICKFIX = ( localizeWithPath(
107
107
  'vs/workbench/contrib/markers/browser/messages',
108
108
  'markers.panel.action.quickfix',
109
109
  "Show fixes"
110
110
  )); }
111
- static { this.MARKERS_PANEL_FILTER_ARIA_LABEL = ( nls.localizeWithPath(
111
+ static { this.MARKERS_PANEL_FILTER_ARIA_LABEL = ( localizeWithPath(
112
112
  'vs/workbench/contrib/markers/browser/messages',
113
113
  'markers.panel.filter.ariaLabel',
114
114
  "Filter Problems"
115
115
  )); }
116
- static { this.MARKERS_PANEL_FILTER_PLACEHOLDER = ( nls.localizeWithPath(
116
+ static { this.MARKERS_PANEL_FILTER_PLACEHOLDER = ( localizeWithPath(
117
117
  'vs/workbench/contrib/markers/browser/messages',
118
118
  'markers.panel.filter.placeholder',
119
119
  "Filter (e.g. text, **/*.ts, !**/node_modules/**)"
120
120
  )); }
121
- static { this.MARKERS_PANEL_FILTER_ERRORS = ( nls.localizeWithPath(
121
+ static { this.MARKERS_PANEL_FILTER_ERRORS = ( localizeWithPath(
122
122
  'vs/workbench/contrib/markers/browser/messages',
123
123
  'markers.panel.filter.errors',
124
124
  "errors"
125
125
  )); }
126
- static { this.MARKERS_PANEL_FILTER_WARNINGS = ( nls.localizeWithPath(
126
+ static { this.MARKERS_PANEL_FILTER_WARNINGS = ( localizeWithPath(
127
127
  'vs/workbench/contrib/markers/browser/messages',
128
128
  'markers.panel.filter.warnings',
129
129
  "warnings"
130
130
  )); }
131
- static { this.MARKERS_PANEL_FILTER_INFOS = ( nls.localizeWithPath(
131
+ static { this.MARKERS_PANEL_FILTER_INFOS = ( localizeWithPath(
132
132
  'vs/workbench/contrib/markers/browser/messages',
133
133
  'markers.panel.filter.infos',
134
134
  "infos"
135
135
  )); }
136
- static { this.MARKERS_PANEL_SINGLE_ERROR_LABEL = ( nls.localizeWithPath(
136
+ static { this.MARKERS_PANEL_SINGLE_ERROR_LABEL = ( localizeWithPath(
137
137
  'vs/workbench/contrib/markers/browser/messages',
138
138
  'markers.panel.single.error.label',
139
139
  "1 Error"
140
140
  )); }
141
- static { this.MARKERS_PANEL_MULTIPLE_ERRORS_LABEL = (noOfErrors) => { return ( nls.localizeWithPath(
141
+ static { this.MARKERS_PANEL_MULTIPLE_ERRORS_LABEL = (noOfErrors) => { return ( localizeWithPath(
142
142
  'vs/workbench/contrib/markers/browser/messages',
143
143
  'markers.panel.multiple.errors.label',
144
144
  "{0} Errors",
145
145
  '' + noOfErrors
146
146
  )); }; }
147
- static { this.MARKERS_PANEL_SINGLE_WARNING_LABEL = ( nls.localizeWithPath(
147
+ static { this.MARKERS_PANEL_SINGLE_WARNING_LABEL = ( localizeWithPath(
148
148
  'vs/workbench/contrib/markers/browser/messages',
149
149
  'markers.panel.single.warning.label',
150
150
  "1 Warning"
151
151
  )); }
152
- static { this.MARKERS_PANEL_MULTIPLE_WARNINGS_LABEL = (noOfWarnings) => { return ( nls.localizeWithPath(
152
+ static { this.MARKERS_PANEL_MULTIPLE_WARNINGS_LABEL = (noOfWarnings) => { return ( localizeWithPath(
153
153
  'vs/workbench/contrib/markers/browser/messages',
154
154
  'markers.panel.multiple.warnings.label',
155
155
  "{0} Warnings",
156
156
  '' + noOfWarnings
157
157
  )); }; }
158
- static { this.MARKERS_PANEL_SINGLE_INFO_LABEL = ( nls.localizeWithPath(
158
+ static { this.MARKERS_PANEL_SINGLE_INFO_LABEL = ( localizeWithPath(
159
159
  'vs/workbench/contrib/markers/browser/messages',
160
160
  'markers.panel.single.info.label',
161
161
  "1 Info"
162
162
  )); }
163
- static { this.MARKERS_PANEL_MULTIPLE_INFOS_LABEL = (noOfInfos) => { return ( nls.localizeWithPath(
163
+ static { this.MARKERS_PANEL_MULTIPLE_INFOS_LABEL = (noOfInfos) => { return ( localizeWithPath(
164
164
  'vs/workbench/contrib/markers/browser/messages',
165
165
  'markers.panel.multiple.infos.label',
166
166
  "{0} Infos",
167
167
  '' + noOfInfos
168
168
  )); }; }
169
- static { this.MARKERS_PANEL_SINGLE_UNKNOWN_LABEL = ( nls.localizeWithPath(
169
+ static { this.MARKERS_PANEL_SINGLE_UNKNOWN_LABEL = ( localizeWithPath(
170
170
  'vs/workbench/contrib/markers/browser/messages',
171
171
  'markers.panel.single.unknown.label',
172
172
  "1 Unknown"
173
173
  )); }
174
- static { this.MARKERS_PANEL_MULTIPLE_UNKNOWNS_LABEL = (noOfUnknowns) => { return ( nls.localizeWithPath(
174
+ static { this.MARKERS_PANEL_MULTIPLE_UNKNOWNS_LABEL = (noOfUnknowns) => { return ( localizeWithPath(
175
175
  'vs/workbench/contrib/markers/browser/messages',
176
176
  'markers.panel.multiple.unknowns.label',
177
177
  "{0} Unknowns",
178
178
  '' + noOfUnknowns
179
179
  )); }; }
180
- static { this.MARKERS_PANEL_AT_LINE_COL_NUMBER = (ln, col) => { return ( nls.localizeWithPath(
180
+ static { this.MARKERS_PANEL_AT_LINE_COL_NUMBER = (ln, col) => { return ( localizeWithPath(
181
181
  'vs/workbench/contrib/markers/browser/messages',
182
182
  'markers.panel.at.ln.col.number',
183
183
  "[Ln {0}, Col {1}]",
184
184
  '' + ln,
185
185
  '' + col
186
186
  )); }; }
187
- static { this.MARKERS_TREE_ARIA_LABEL_RESOURCE = (noOfProblems, fileName, folder) => { return ( nls.localizeWithPath(
187
+ static { this.MARKERS_TREE_ARIA_LABEL_RESOURCE = (noOfProblems, fileName, folder) => { return ( localizeWithPath(
188
188
  'vs/workbench/contrib/markers/browser/messages',
189
189
  'problems.tree.aria.label.resource',
190
190
  "{0} problems in file {1} of folder {2}",
@@ -193,7 +193,7 @@ class Messages {
193
193
  folder
194
194
  )); }; }
195
195
  static { this.MARKERS_TREE_ARIA_LABEL_MARKER = (marker) => {
196
- const relatedInformationMessage = marker.relatedInformation.length ? ( nls.localizeWithPath(
196
+ const relatedInformationMessage = marker.relatedInformation.length ? ( localizeWithPath(
197
197
  'vs/workbench/contrib/markers/browser/messages',
198
198
  'problems.tree.aria.label.marker.relatedInformation',
199
199
  " This problem has references to {0} locations.",
@@ -201,7 +201,7 @@ class Messages {
201
201
  )) : '';
202
202
  switch (marker.marker.severity) {
203
203
  case MarkerSeverity.Error:
204
- return marker.marker.source ? ( nls.localizeWithPath(
204
+ return marker.marker.source ? ( localizeWithPath(
205
205
  'vs/workbench/contrib/markers/browser/messages',
206
206
  'problems.tree.aria.label.error.marker',
207
207
  "Error: {0} at line {1} and character {2}.{3} generated by {4}",
@@ -211,7 +211,7 @@ class Messages {
211
211
  relatedInformationMessage,
212
212
  marker.marker.source
213
213
  ))
214
- : ( nls.localizeWithPath(
214
+ : ( localizeWithPath(
215
215
  'vs/workbench/contrib/markers/browser/messages',
216
216
  'problems.tree.aria.label.error.marker.nosource',
217
217
  "Error: {0} at line {1} and character {2}.{3}",
@@ -221,7 +221,7 @@ class Messages {
221
221
  relatedInformationMessage
222
222
  ));
223
223
  case MarkerSeverity.Warning:
224
- return marker.marker.source ? ( nls.localizeWithPath(
224
+ return marker.marker.source ? ( localizeWithPath(
225
225
  'vs/workbench/contrib/markers/browser/messages',
226
226
  'problems.tree.aria.label.warning.marker',
227
227
  "Warning: {0} at line {1} and character {2}.{3} generated by {4}",
@@ -231,7 +231,7 @@ class Messages {
231
231
  relatedInformationMessage,
232
232
  marker.marker.source
233
233
  ))
234
- : ( nls.localizeWithPath(
234
+ : ( localizeWithPath(
235
235
  'vs/workbench/contrib/markers/browser/messages',
236
236
  'problems.tree.aria.label.warning.marker.nosource',
237
237
  "Warning: {0} at line {1} and character {2}.{3}",
@@ -242,7 +242,7 @@ class Messages {
242
242
  relatedInformationMessage
243
243
  ));
244
244
  case MarkerSeverity.Info:
245
- return marker.marker.source ? ( nls.localizeWithPath(
245
+ return marker.marker.source ? ( localizeWithPath(
246
246
  'vs/workbench/contrib/markers/browser/messages',
247
247
  'problems.tree.aria.label.info.marker',
248
248
  "Info: {0} at line {1} and character {2}.{3} generated by {4}",
@@ -252,7 +252,7 @@ class Messages {
252
252
  relatedInformationMessage,
253
253
  marker.marker.source
254
254
  ))
255
- : ( nls.localizeWithPath(
255
+ : ( localizeWithPath(
256
256
  'vs/workbench/contrib/markers/browser/messages',
257
257
  'problems.tree.aria.label.info.marker.nosource',
258
258
  "Info: {0} at line {1} and character {2}.{3}",
@@ -262,7 +262,7 @@ class Messages {
262
262
  relatedInformationMessage
263
263
  ));
264
264
  default:
265
- return marker.marker.source ? ( nls.localizeWithPath(
265
+ return marker.marker.source ? ( localizeWithPath(
266
266
  'vs/workbench/contrib/markers/browser/messages',
267
267
  'problems.tree.aria.label.marker',
268
268
  "Problem: {0} at line {1} and character {2}.{3} generated by {4}",
@@ -273,7 +273,7 @@ class Messages {
273
273
  relatedInformationMessage,
274
274
  marker.marker.source
275
275
  ))
276
- : ( nls.localizeWithPath(
276
+ : ( localizeWithPath(
277
277
  'vs/workbench/contrib/markers/browser/messages',
278
278
  'problems.tree.aria.label.marker.nosource',
279
279
  "Problem: {0} at line {1} and character {2}.{3}",
@@ -284,7 +284,7 @@ class Messages {
284
284
  ));
285
285
  }
286
286
  }; }
287
- static { this.MARKERS_TREE_ARIA_LABEL_RELATED_INFORMATION = (relatedInformation) => ( nls.localizeWithPath(
287
+ static { this.MARKERS_TREE_ARIA_LABEL_RELATED_INFORMATION = (relatedInformation) => ( localizeWithPath(
288
288
  'vs/workbench/contrib/markers/browser/messages',
289
289
  'problems.tree.aria.label.relatedinfo.message',
290
290
  "{0} at line {1} and character {2} in {3}",
@@ -293,7 +293,7 @@ class Messages {
293
293
  relatedInformation.startColumn,
294
294
  basename(relatedInformation.resource)
295
295
  )); }
296
- static { this.SHOW_ERRORS_WARNINGS_ACTION_LABEL = ( nls.localizeWithPath(
296
+ static { this.SHOW_ERRORS_WARNINGS_ACTION_LABEL = ( localizeWithPath(
297
297
  'vs/workbench/contrib/markers/browser/messages',
298
298
  'errors.warnings.show.label',
299
299
  "Show Errors and Warnings"