@codingame/monaco-vscode-view-common-service-override 4.5.0 → 4.5.2

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.
Files changed (62) hide show
  1. package/index.d.ts +1 -1
  2. package/package.json +3 -3
  3. package/vscode/src/vs/base/browser/ui/grid/grid.js +12 -12
  4. package/vscode/src/vs/base/browser/ui/grid/gridview.js +26 -26
  5. package/vscode/src/vs/platform/languagePacks/common/localizedStrings.js +4 -3
  6. package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +127 -220
  7. package/vscode/src/vs/workbench/browser/actions/listCommands.js +43 -44
  8. package/vscode/src/vs/workbench/browser/actions/navigationActions.js +7 -30
  9. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +67 -138
  10. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +21 -36
  11. package/vscode/src/vs/workbench/browser/parts/compositeBar.js +26 -27
  12. package/vscode/src/vs/workbench/browser/parts/compositePart.js +17 -31
  13. package/vscode/src/vs/workbench/browser/parts/editor/editor.contribution.js +215 -764
  14. package/vscode/src/vs/workbench/browser/parts/editor/editorConfiguration.js +27 -42
  15. package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +24 -23
  16. package/vscode/src/vs/workbench/browser/parts/editor/editorPart.js +3 -3
  17. package/vscode/src/vs/workbench/browser/parts/editor/editorParts.js +31 -33
  18. package/vscode/src/vs/workbench/browser/parts/paneCompositeBar.js +51 -54
  19. package/vscode/src/vs/workbench/browser/parts/paneCompositePart.js +38 -41
  20. package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +21 -24
  21. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarActions.js +2 -5
  22. package/vscode/src/vs/workbench/browser/parts/sidebar/sidebarPart.js +17 -20
  23. package/vscode/src/vs/workbench/browser/window.js +41 -92
  24. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +41 -78
  25. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +23 -46
  26. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +36 -27
  27. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditorInputFactory.js +1 -1
  28. package/vscode/src/vs/workbench/contrib/customEditor/browser/customEditors.js +1 -1
  29. package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +14 -15
  30. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditor.js +10 -11
  31. package/vscode/src/vs/workbench/contrib/customEditor/common/customEditorModelManager.js +1 -1
  32. package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +25 -52
  33. package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +55 -87
  34. package/vscode/src/vs/workbench/contrib/limitIndicator/browser/limitIndicator.contribution.js +18 -48
  35. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/commands.js +61 -150
  36. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/commands/devCommands.js +15 -70
  37. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/mergeEditor.contribution.js +9 -20
  38. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/colors.js +14 -65
  39. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/conflictActions.js +38 -113
  40. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/baseCodeEditorView.js +12 -19
  41. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/inputCodeEditorView.js +34 -75
  42. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/editors/resultCodeEditorView.js +16 -37
  43. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/mergeEditor.js +40 -43
  44. package/vscode/src/vs/workbench/contrib/mergeEditor/browser/view/viewModel.js +12 -11
  45. package/vscode/src/vs/workbench/contrib/preferences/browser/keyboardLayoutPicker.js +24 -61
  46. package/vscode/src/vs/workbench/contrib/sash/browser/sash.contribution.js +7 -6
  47. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +37 -70
  48. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +23 -46
  49. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +26 -27
  50. package/vscode/src/vs/workbench/contrib/webview/browser/overlayWebview.js +2 -2
  51. package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +50 -52
  52. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +18 -34
  53. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +7 -10
  54. package/vscode/src/vs/workbench/contrib/webviewView/browser/webviewViewService.js +2 -2
  55. package/vscode/src/vs/workbench/services/auxiliaryWindow/browser/auxiliaryWindowService.js +45 -46
  56. package/vscode/src/vs/workbench/services/driver/browser/driver.js +8 -6
  57. package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +45 -68
  58. package/vscode/src/vs/workbench/services/history/browser/historyService.js +95 -98
  59. package/vscode/src/vs/workbench/services/progress/browser/progressService.js +34 -74
  60. package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +69 -67
  61. package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +52 -47
  62. package/viewCommon.d.ts +0 -5
@@ -8,6 +8,7 @@ import { Range } from 'vscode/vscode/vs/editor/common/core/range';
8
8
  import { localizeWithPath } from 'vscode/vscode/vs/nls';
9
9
  import { ThemeIcon } from 'vscode/vscode/vs/base/common/themables';
10
10
 
11
+ const _moduleId = "vs/workbench/contrib/callHierarchy/browser/callHierarchyTree";
11
12
  class Call {
12
13
  constructor(item, locations, model, parent) {
13
14
  this.item = item;
@@ -16,7 +17,7 @@ class Call {
16
17
  this.parent = parent;
17
18
  }
18
19
  static compare(a, b) {
19
- let res = compare(( a.item.uri.toString()), ( b.item.uri.toString()));
20
+ let res = compare(( (a.item.uri.toString())), ( (b.item.uri.toString())));
20
21
  if (res === 0) {
21
22
  res = Range.compareRangesUsingStarts(a.item.range, b.item.range);
22
23
  }
@@ -32,18 +33,38 @@ class DataSource {
32
33
  }
33
34
  async getChildren(element) {
34
35
  if (element instanceof CallHierarchyModel) {
35
- return ( element.roots.map(root => ( new Call(root, undefined, element, undefined))));
36
+ return (
37
+ (element.roots.map(root => ( (new Call(root, undefined, element, undefined)))))
38
+ );
36
39
  }
37
40
  const { model, item } = element;
38
41
  if (this.getDirection() === "outgoingCalls" ) {
39
- return ( (await model.resolveOutgoingCalls(item, CancellationToken.None)).map(call => {
40
- return ( new Call(call.to, ( call.fromRanges.map(range => ({ range, uri: item.uri }))), model, element));
41
- }));
42
+ return (
43
+ ((await model.resolveOutgoingCalls(item, CancellationToken.None)).map(call => {
44
+ return (
45
+ (new Call(
46
+ call.to,
47
+ (call.fromRanges.map(range => ({ range, uri: item.uri }))),
48
+ model,
49
+ element
50
+ ))
51
+ );
52
+ }))
53
+ );
42
54
  }
43
55
  else {
44
- return ( (await model.resolveIncomingCalls(item, CancellationToken.None)).map(call => {
45
- return ( new Call(call.from, ( call.fromRanges.map(range => ({ range, uri: call.from.uri }))), model, element));
46
- }));
56
+ return (
57
+ ((await model.resolveIncomingCalls(item, CancellationToken.None)).map(call => {
58
+ return (
59
+ (new Call(
60
+ call.from,
61
+ (call.fromRanges.map(range => ({ range, uri: call.from.uri }))),
62
+ model,
63
+ element
64
+ ))
65
+ );
66
+ }))
67
+ );
47
68
  }
48
69
  }
49
70
  }
@@ -79,8 +100,10 @@ class CallRenderer {
79
100
  container.classList.add('callhierarchy-element');
80
101
  const icon = document.createElement('div');
81
102
  container.appendChild(icon);
82
- const label = ( new IconLabel(container, { supportHighlights: true }));
83
- return ( new CallRenderingTemplate(icon, label));
103
+ const label = ( (new IconLabel(container, { supportHighlights: true })));
104
+ return (
105
+ (new CallRenderingTemplate(icon, label))
106
+ );
84
107
  }
85
108
  renderElement(node, _index, template) {
86
109
  const { element, filterData } = node;
@@ -106,28 +129,14 @@ class AccessibilityProvider {
106
129
  this.getDirection = getDirection;
107
130
  }
108
131
  getWidgetAriaLabel() {
109
- return ( localizeWithPath(
110
- 'vs/workbench/contrib/callHierarchy/browser/callHierarchyTree',
111
- 'tree.aria',
112
- "Call Hierarchy"
113
- ));
132
+ return ( localizeWithPath(_moduleId, 0, "Call Hierarchy"));
114
133
  }
115
134
  getAriaLabel(element) {
116
135
  if (this.getDirection() === "outgoingCalls" ) {
117
- return ( localizeWithPath(
118
- 'vs/workbench/contrib/callHierarchy/browser/callHierarchyTree',
119
- 'from',
120
- "calls from {0}",
121
- element.item.name
122
- ));
136
+ return ( localizeWithPath(_moduleId, 1, "calls from {0}", element.item.name));
123
137
  }
124
138
  else {
125
- return ( localizeWithPath(
126
- 'vs/workbench/contrib/callHierarchy/browser/callHierarchyTree',
127
- 'to',
128
- "callers of {0}",
129
- element.item.name
130
- ));
139
+ return ( localizeWithPath(_moduleId, 2, "callers of {0}", element.item.name));
131
140
  }
132
141
  }
133
142
  }
@@ -118,7 +118,7 @@ let ComplexCustomWorkingCopyEditorHandler = class ComplexCustomWorkingCopyEditor
118
118
  async createEditor(workingCopy) {
119
119
  const backup = await this._workingCopyBackupService.resolve(workingCopy);
120
120
  if (!backup?.meta) {
121
- throw new Error(`No backup found for custom editor: ${workingCopy.resource}`);
121
+ throw ( new Error(`No backup found for custom editor: ${workingCopy.resource}`));
122
122
  }
123
123
  const backupData = backup.meta;
124
124
  const extension = reviveWebviewExtensionDescription(backupData.extension?.id, backupData.extension?.location);
@@ -133,7 +133,7 @@ let CustomEditorService = class CustomEditorService extends Disposable {
133
133
  }
134
134
  registerCustomEditorCapabilities(viewType, options) {
135
135
  if (( this._editorCapabilities.has(viewType))) {
136
- throw new Error(`Capabilities for ${viewType} already set`);
136
+ throw ( new Error(`Capabilities for ${viewType} already set`));
137
137
  }
138
138
  this._editorCapabilities.set(viewType, options);
139
139
  return toDisposable(() => {
@@ -6,18 +6,19 @@ import { CustomEditorInfo } from './customEditor.js';
6
6
  import { customEditorsExtensionPoint } from './extensionPoint.js';
7
7
  import { RegisteredEditorPriority } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService';
8
8
 
9
+ const _moduleId = "vs/workbench/contrib/customEditor/common/contributedCustomEditors";
9
10
  class ContributedCustomEditors extends Disposable {
10
11
  static { this.CUSTOM_EDITORS_STORAGE_ID = 'customEditors'; }
11
12
  static { this.CUSTOM_EDITORS_ENTRY_ID = 'editors'; }
12
13
  constructor(storageService) {
13
14
  super();
14
- this._editors = ( new Map());
15
- this._onChange = this._register(( new Emitter()));
15
+ this._editors = ( (new Map()));
16
+ this._onChange = this._register(( (new Emitter())));
16
17
  this.onChange = this._onChange.event;
17
- this._memento = ( new Memento(ContributedCustomEditors.CUSTOM_EDITORS_STORAGE_ID, storageService));
18
+ this._memento = ( (new Memento(ContributedCustomEditors.CUSTOM_EDITORS_STORAGE_ID, storageService)));
18
19
  const mementoObject = this._memento.getMemento(0 , 1 );
19
20
  for (const info of (mementoObject[ContributedCustomEditors.CUSTOM_EDITORS_ENTRY_ID] || [])) {
20
- this.add(( new CustomEditorInfo(info)));
21
+ this.add(( (new CustomEditorInfo(info))));
21
22
  }
22
23
  customEditorsExtensionPoint.setHandler(extensions => {
23
24
  this.update(extensions);
@@ -27,36 +28,34 @@ class ContributedCustomEditors extends Disposable {
27
28
  this._editors.clear();
28
29
  for (const extension of extensions) {
29
30
  for (const webviewEditorContribution of extension.value) {
30
- this.add(( new CustomEditorInfo({
31
+ this.add(( (new CustomEditorInfo({
31
32
  id: webviewEditorContribution.viewType,
32
33
  displayName: webviewEditorContribution.displayName,
33
- providerDisplayName: extension.description.isBuiltin ? ( localizeWithPath(
34
- 'vs/workbench/contrib/customEditor/common/contributedCustomEditors',
35
- 'builtinProviderDisplayName',
36
- "Built-in"
37
- )) : extension.description.displayName || extension.description.identifier.value,
34
+ providerDisplayName: extension.description.isBuiltin ? ( localizeWithPath(_moduleId, 0, "Built-in")) : extension.description.displayName || extension.description.identifier.value,
38
35
  selector: webviewEditorContribution.selector || [],
39
36
  priority: getPriorityFromContribution(webviewEditorContribution, extension.description),
40
- })));
37
+ }))));
41
38
  }
42
39
  }
43
40
  const mementoObject = this._memento.getMemento(0 , 1 );
44
- mementoObject[ContributedCustomEditors.CUSTOM_EDITORS_ENTRY_ID] = Array.from(( this._editors.values()));
41
+ mementoObject[ContributedCustomEditors.CUSTOM_EDITORS_ENTRY_ID] = Array.from(( (this._editors.values())));
45
42
  this._memento.saveMemento();
46
43
  this._onChange.fire();
47
44
  }
48
45
  [Symbol.iterator]() {
49
- return ( this._editors.values());
46
+ return (
47
+ (this._editors.values())
48
+ );
50
49
  }
51
50
  get(viewType) {
52
51
  return this._editors.get(viewType);
53
52
  }
54
53
  getContributedEditors(resource) {
55
- return Array.from(( this._editors.values()))
54
+ return Array.from(( (this._editors.values())))
56
55
  .filter(customEditor => customEditor.matches(resource));
57
56
  }
58
57
  add(info) {
59
- if (( this._editors.has(info.id))) {
58
+ if (( (this._editors.has(info.id)))) {
60
59
  console.error(`Custom editor with id '${info.id}' already registered`);
61
60
  return;
62
61
  }
@@ -3,15 +3,12 @@ import { localizeWithPath } from 'vscode/vscode/vs/nls';
3
3
  import { RawContextKey } from 'vscode/vscode/vs/platform/contextkey/common/contextkey';
4
4
  import { globMatchesResource, RegisteredEditorPriority, priorityToRank } from 'vscode/vscode/vs/workbench/services/editor/common/editorResolverService';
5
5
 
6
- const CONTEXT_ACTIVE_CUSTOM_EDITOR_ID = ( new RawContextKey('activeCustomEditorId', '', {
6
+ const _moduleId = "vs/workbench/contrib/customEditor/common/customEditor";
7
+ const CONTEXT_ACTIVE_CUSTOM_EDITOR_ID = ( (new RawContextKey('activeCustomEditorId', '', {
7
8
  type: 'string',
8
- description: ( localizeWithPath(
9
- 'vs/workbench/contrib/customEditor/common/customEditor',
10
- 'context.customEditor',
11
- "The viewType of the currently active custom editor."
12
- )),
13
- }));
14
- const CONTEXT_FOCUSED_CUSTOM_EDITOR_IS_EDITABLE = ( new RawContextKey('focusedCustomEditorIsEditable', false));
9
+ description: ( localizeWithPath(_moduleId, 0, "The viewType of the currently active custom editor.")),
10
+ })));
11
+ const CONTEXT_FOCUSED_CUSTOM_EDITOR_IS_EDITABLE = ( (new RawContextKey('focusedCustomEditorIsEditable', false)));
15
12
  class CustomEditorInfo {
16
13
  constructor(descriptor) {
17
14
  this.id = descriptor.id;
@@ -21,9 +18,11 @@ class CustomEditorInfo {
21
18
  this.selector = descriptor.selector;
22
19
  }
23
20
  matches(resource) {
24
- return ( this.selector.some(
25
- selector => selector.filenamePattern && globMatchesResource(selector.filenamePattern, resource)
26
- ));
21
+ return (
22
+ (this.selector.some(
23
+ selector => selector.filenamePattern && globMatchesResource(selector.filenamePattern, resource)
24
+ ))
25
+ );
27
26
  }
28
27
  }
29
28
  class CustomEditorInfoCollection {
@@ -42,7 +42,7 @@ class CustomEditorModelManager {
42
42
  const key = this.key(resource, viewType);
43
43
  const existing = this._references.get(key);
44
44
  if (existing) {
45
- throw new Error('Model already exists');
45
+ throw ( new Error('Model already exists'));
46
46
  }
47
47
  this._references.set(key, { viewType, model, counter: 0 });
48
48
  return this.tryRetain(resource, viewType);
@@ -7,18 +7,15 @@ import { Extensions } from 'vscode/vscode/vs/workbench/services/extensionManagem
7
7
  import { ExtensionsRegistry } from 'vscode/vscode/vs/workbench/services/extensions/common/extensionsRegistry';
8
8
  import { languagesExtPoint } from 'vscode/vscode/vs/workbench/services/language/common/languageService';
9
9
 
10
- const Fields = ( Object.freeze({
10
+ const _moduleId = "vs/workbench/contrib/customEditor/common/extensionPoint";
11
+ const Fields = ( (Object.freeze({
11
12
  viewType: 'viewType',
12
13
  displayName: 'displayName',
13
14
  selector: 'selector',
14
15
  priority: 'priority',
15
- }));
16
+ })));
16
17
  const CustomEditorsContribution = {
17
- description: ( localizeWithPath(
18
- 'vs/workbench/contrib/customEditor/common/extensionPoint',
19
- 'contributes.customEditors',
20
- 'Contributed custom editors.'
21
- )),
18
+ description: ( localizeWithPath(_moduleId, 0, 'Contributed custom editors.')),
22
19
  type: 'array',
23
20
  defaultSnippets: [{
24
21
  body: [{
@@ -40,26 +37,22 @@ const CustomEditorsContribution = {
40
37
  [Fields.viewType]: {
41
38
  type: 'string',
42
39
  markdownDescription: ( localizeWithPath(
43
- 'vs/workbench/contrib/customEditor/common/extensionPoint',
44
- 'contributes.viewType',
40
+ _moduleId,
41
+ 1,
45
42
  'Identifier for the custom editor. This must be unique across all custom editors, so we recommend including your extension id as part of `viewType`. The `viewType` is used when registering custom editors with `vscode.registerCustomEditorProvider` and in the `onCustomEditor:${id}` [activation event](https://code.visualstudio.com/api/references/activation-events).'
46
43
  )),
47
44
  },
48
45
  [Fields.displayName]: {
49
46
  type: 'string',
50
47
  description: ( localizeWithPath(
51
- 'vs/workbench/contrib/customEditor/common/extensionPoint',
52
- 'contributes.displayName',
48
+ _moduleId,
49
+ 2,
53
50
  'Human readable name of the custom editor. This is displayed to users when selecting which editor to use.'
54
51
  )),
55
52
  },
56
53
  [Fields.selector]: {
57
54
  type: 'array',
58
- description: ( localizeWithPath(
59
- 'vs/workbench/contrib/customEditor/common/extensionPoint',
60
- 'contributes.selector',
61
- 'Set of globs that the custom editor is enabled for.'
62
- )),
55
+ description: ( localizeWithPath(_moduleId, 3, 'Set of globs that the custom editor is enabled for.')),
63
56
  items: {
64
57
  type: 'object',
65
58
  defaultSnippets: [{
@@ -70,11 +63,7 @@ const CustomEditorsContribution = {
70
63
  properties: {
71
64
  filenamePattern: {
72
65
  type: 'string',
73
- description: ( localizeWithPath(
74
- 'vs/workbench/contrib/customEditor/common/extensionPoint',
75
- 'contributes.selector.filenamePattern',
76
- 'Glob that the custom editor is enabled for.'
77
- )),
66
+ description: ( localizeWithPath(_moduleId, 4, 'Glob that the custom editor is enabled for.')),
78
67
  },
79
68
  }
80
69
  }
@@ -82,8 +71,8 @@ const CustomEditorsContribution = {
82
71
  [Fields.priority]: {
83
72
  type: 'string',
84
73
  markdownDeprecationMessage: ( localizeWithPath(
85
- 'vs/workbench/contrib/customEditor/common/extensionPoint',
86
- 'contributes.priority',
74
+ _moduleId,
75
+ 5,
87
76
  'Controls if the custom editor is enabled automatically when the user opens a file. This may be overridden by users using the `workbench.editorAssociations` setting.'
88
77
  )),
89
78
  enum: [
@@ -92,13 +81,13 @@ const CustomEditorsContribution = {
92
81
  ],
93
82
  markdownEnumDescriptions: [
94
83
  ( localizeWithPath(
95
- 'vs/workbench/contrib/customEditor/common/extensionPoint',
96
- 'contributes.priority.default',
84
+ _moduleId,
85
+ 6,
97
86
  'The editor is automatically used when the user opens a resource, provided that no other default custom editors are registered for that resource.'
98
87
  )),
99
88
  ( localizeWithPath(
100
- 'vs/workbench/contrib/customEditor/common/extensionPoint',
101
- 'contributes.priority.option',
89
+ _moduleId,
90
+ 7,
102
91
  'The editor is not automatically used when the user opens a resource, but a user can switch to the editor using the `Reopen With` command.'
103
92
  )),
104
93
  ],
@@ -134,30 +123,18 @@ class CustomEditorsDataRenderer extends Disposable {
134
123
  return { data: { headers: [], rows: [] }, dispose: () => { } };
135
124
  }
136
125
  const headers = [
137
- ( localizeWithPath(
138
- 'vs/workbench/contrib/customEditor/common/extensionPoint',
139
- 'customEditors view type',
140
- "View Type"
141
- )),
142
- ( localizeWithPath(
143
- 'vs/workbench/contrib/customEditor/common/extensionPoint',
144
- 'customEditors priority',
145
- "Priority"
146
- )),
147
- ( localizeWithPath(
148
- 'vs/workbench/contrib/customEditor/common/extensionPoint',
149
- 'customEditors filenamePattern',
150
- "Filename Pattern"
151
- )),
126
+ ( localizeWithPath(_moduleId, 8, "View Type")),
127
+ ( localizeWithPath(_moduleId, 9, "Priority")),
128
+ ( localizeWithPath(_moduleId, 10, "Filename Pattern")),
152
129
  ];
153
- const rows = ( customEditors
130
+ const rows = ( (customEditors
154
131
  .map(customEditor => {
155
132
  return [
156
133
  customEditor.viewType,
157
134
  customEditor.priority ?? '',
158
- coalesce(( customEditor.selector.map(x => x.filenamePattern))).join(', ')
135
+ coalesce(( (customEditor.selector.map(x => x.filenamePattern)))).join(', ')
159
136
  ];
160
- }));
137
+ })));
161
138
  return {
162
139
  data: {
163
140
  headers,
@@ -167,17 +144,13 @@ class CustomEditorsDataRenderer extends Disposable {
167
144
  };
168
145
  }
169
146
  }
170
- ( Registry.as(Extensions.ExtensionFeaturesRegistry)).registerExtensionFeature({
147
+ ( (Registry.as(Extensions.ExtensionFeaturesRegistry))).registerExtensionFeature({
171
148
  id: 'customEditors',
172
- label: ( localizeWithPath(
173
- 'vs/workbench/contrib/customEditor/common/extensionPoint',
174
- 'customEditors',
175
- "Custom Editors"
176
- )),
149
+ label: ( localizeWithPath(_moduleId, 11, "Custom Editors")),
177
150
  access: {
178
151
  canToggle: false
179
152
  },
180
- renderer: ( new SyncDescriptor(CustomEditorsDataRenderer)),
153
+ renderer: ( (new SyncDescriptor(CustomEditorsDataRenderer))),
181
154
  });
182
155
 
183
156
  export { customEditorsExtensionPoint };