@codingame/monaco-vscode-views-service-override 1.83.4 → 1.83.6

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 +8 -3
  2. package/index.js +7 -1
  3. package/l10n.js +8 -0
  4. package/missing-services.js +2141 -0
  5. package/package.json +2 -2
  6. package/services.js +95 -0
  7. package/views.d.ts +51 -15
  8. package/views.js +124 -96
  9. package/vscode/src/vs/base/browser/ui/tree/treeDefaults.js +1 -1
  10. package/vscode/src/vs/workbench/api/browser/viewsExtensionPoint.js +262 -49
  11. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarActions.js +57 -42
  12. package/vscode/src/vs/workbench/browser/parts/activitybar/activitybarPart.js +51 -11
  13. package/vscode/src/vs/workbench/browser/parts/auxiliarybar/auxiliaryBarPart.js +14 -2
  14. package/vscode/src/vs/workbench/browser/parts/compositeBar.js +5 -1
  15. package/vscode/src/vs/workbench/browser/parts/compositePart.js +18 -3
  16. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsControl.js +52 -20
  17. package/vscode/src/vs/workbench/browser/parts/editor/breadcrumbsPicker.js +5 -1
  18. package/vscode/src/vs/workbench/browser/parts/editor/editorDropTarget.js +6 -1
  19. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupView.js +23 -4
  20. package/vscode/src/vs/workbench/browser/parts/editor/editorGroupWatermark.js +60 -12
  21. package/vscode/src/vs/workbench/browser/parts/editor/editorPane.d.ts +112 -0
  22. package/vscode/src/vs/workbench/browser/parts/editor/editorPanes.js +11 -2
  23. package/vscode/src/vs/workbench/browser/parts/editor/editorTabsControl.js +12 -2
  24. package/vscode/src/vs/workbench/browser/parts/editor/multiEditorTabsControl.js +5 -4
  25. package/vscode/src/vs/workbench/browser/parts/panel/panelPart.js +27 -15
  26. package/vscode/src/vs/workbench/browser/parts/views/checkbox.js +1 -1
  27. package/vscode/src/vs/workbench/browser/parts/views/treeView.js +32 -19
  28. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchy.contribution.js +58 -18
  29. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyPeek.js +29 -5
  30. package/vscode/src/vs/workbench/contrib/callHierarchy/browser/callHierarchyTree.js +17 -3
  31. package/vscode/src/vs/workbench/contrib/codeEditor/browser/find/simpleFindWidget.js +55 -10
  32. package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsOutline.js +5 -3
  33. package/vscode/src/vs/workbench/contrib/codeEditor/browser/outline/documentSymbolsTree.js +22 -3
  34. package/vscode/src/vs/workbench/contrib/customEditor/common/contributedCustomEditors.js +5 -1
  35. package/vscode/src/vs/workbench/contrib/customEditor/common/extensionPoint.js +40 -8
  36. package/vscode/src/vs/workbench/contrib/files/browser/editors/binaryFileEditor.js +5 -1
  37. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileEditor.js +36 -10
  38. package/vscode/src/vs/workbench/contrib/files/browser/editors/textFileSaveErrorHandler.js +111 -16
  39. package/vscode/src/vs/workbench/contrib/files/browser/fileActions.contribution.js +153 -97
  40. package/vscode/src/vs/workbench/contrib/files/browser/fileCommands.js +28 -6
  41. package/vscode/src/vs/workbench/contrib/files/browser/files.contribution2.js +11 -463
  42. package/vscode/src/vs/workbench/contrib/files/browser/workspaceWatcher.js +16 -4
  43. package/vscode/src/vs/workbench/contrib/files/common/dirtyFilesIndicator.js +10 -4
  44. package/vscode/src/vs/workbench/contrib/languageDetection/browser/languageDetection.contribution.js +27 -5
  45. package/vscode/src/vs/workbench/contrib/languageStatus/browser/languageStatus.contribution.js +53 -28
  46. package/vscode/src/vs/workbench/contrib/outline/browser/outline.contribution.js +180 -36
  47. package/vscode/src/vs/workbench/contrib/outline/browser/outlinePane.js +17 -3
  48. package/vscode/src/vs/workbench/contrib/remote/browser/remoteExplorer.js +29 -5
  49. package/vscode/src/vs/workbench/contrib/remote/browser/remoteIcons.js +85 -17
  50. package/vscode/src/vs/workbench/contrib/remote/browser/tunnelView.js +301 -62
  51. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchy.contribution.js +48 -16
  52. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyPeek.js +29 -5
  53. package/vscode/src/vs/workbench/contrib/typeHierarchy/browser/typeHierarchyTree.js +17 -3
  54. package/vscode/src/vs/workbench/contrib/webview/browser/webviewElement.js +6 -1
  55. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewCommands.js +25 -5
  56. package/vscode/src/vs/workbench/contrib/webviewPanel/browser/webviewPanel.contribution.js +5 -1
  57. package/vscode/src/vs/workbench/services/editor/browser/editorResolverService.js +49 -9
  58. package/vscode/src/vs/workbench/services/history/browser/historyService.js +36 -36
  59. package/vscode/src/vs/workbench/services/hover/browser/hoverWidget.js +6 -1
  60. package/vscode/src/vs/workbench/services/userDataProfile/common/userDataProfileIcons.js +5 -1
  61. package/vscode/src/vs/workbench/services/views/browser/viewDescriptorService.js +14 -5
  62. package/vscode/src/vs/workbench/services/views/common/viewContainerModel.js +5 -1
@@ -51,8 +51,16 @@ let WorkspaceWatcher = class WorkspaceWatcher extends Disposable {
51
51
  onDidWatchError(error) {
52
52
  const msg = ( error.toString());
53
53
  if (msg.indexOf('ENOSPC') >= 0) {
54
- this.notificationService.prompt(Severity.Warning, localizeWithPath('vs/workbench/contrib/files/browser/workspaceWatcher', 'enospcError', "Unable to watch for file changes in this large workspace folder. Please follow the instructions link to resolve this issue."), [{
55
- label: localizeWithPath('vs/workbench/contrib/files/browser/workspaceWatcher', 'learnMore', "Instructions"),
54
+ this.notificationService.prompt(Severity.Warning, ( localizeWithPath(
55
+ 'vs/workbench/contrib/files/browser/workspaceWatcher',
56
+ 'enospcError',
57
+ "Unable to watch for file changes in this large workspace folder. Please follow the instructions link to resolve this issue."
58
+ )), [{
59
+ label: ( localizeWithPath(
60
+ 'vs/workbench/contrib/files/browser/workspaceWatcher',
61
+ 'learnMore',
62
+ "Instructions"
63
+ )),
56
64
  run: () => this.openerService.open(( URI.parse('https://go.microsoft.com/fwlink/?linkid=867693')))
57
65
  }], {
58
66
  sticky: true,
@@ -60,8 +68,12 @@ let WorkspaceWatcher = class WorkspaceWatcher extends Disposable {
60
68
  });
61
69
  }
62
70
  else if (msg.indexOf('EUNKNOWN') >= 0) {
63
- this.notificationService.prompt(Severity.Warning, localizeWithPath('vs/workbench/contrib/files/browser/workspaceWatcher', 'eshutdownError', "File changes watcher stopped unexpectedly. A reload of the window may enable the watcher again unless the workspace cannot be watched for file changes."), [{
64
- label: localizeWithPath('vs/workbench/contrib/files/browser/workspaceWatcher', 'reload', "Reload"),
71
+ this.notificationService.prompt(Severity.Warning, ( localizeWithPath(
72
+ 'vs/workbench/contrib/files/browser/workspaceWatcher',
73
+ 'eshutdownError',
74
+ "File changes watcher stopped unexpectedly. A reload of the window may enable the watcher again unless the workspace cannot be watched for file changes."
75
+ )), [{
76
+ label: ( localizeWithPath('vs/workbench/contrib/files/browser/workspaceWatcher', 'reload', "Reload")),
65
77
  run: () => this.hostService.reload()
66
78
  }], {
67
79
  sticky: true,
@@ -36,10 +36,16 @@ let DirtyFilesIndicator = class DirtyFilesIndicator extends Disposable {
36
36
  const dirtyCount = this.lastKnownDirtyCount = this.workingCopyService.dirtyCount;
37
37
  if (dirtyCount > 0) {
38
38
  this.badgeHandle.value = this.activityService.showViewContainerActivity(VIEWLET_ID, {
39
- badge: ( new NumberBadge(
40
- dirtyCount,
41
- num => num === 1 ? nls.localizeWithPath('vs/workbench/contrib/files/common/dirtyFilesIndicator', 'dirtyFile', "1 unsaved file") : nls.localizeWithPath('vs/workbench/contrib/files/common/dirtyFilesIndicator', 'dirtyFiles', "{0} unsaved files", dirtyCount)
42
- )),
39
+ badge: ( new NumberBadge(dirtyCount, num => num === 1 ? ( nls.localizeWithPath(
40
+ 'vs/workbench/contrib/files/common/dirtyFilesIndicator',
41
+ 'dirtyFile',
42
+ "1 unsaved file"
43
+ )) : ( nls.localizeWithPath(
44
+ 'vs/workbench/contrib/files/common/dirtyFilesIndicator',
45
+ 'dirtyFiles',
46
+ "{0} unsaved files",
47
+ dirtyCount
48
+ )))),
43
49
  clazz: 'explorer-viewlet-label'
44
50
  });
45
51
  }
@@ -70,15 +70,29 @@ let LanguageDetectionStatusContribution = class LanguageDetectionStatusContribut
70
70
  const existing = editorModel.getLanguageId();
71
71
  if (lang && lang !== existing && skip[existing] !== lang) {
72
72
  const detectedName = this._languageService.getLanguageName(lang) || lang;
73
- let tooltip = localizeWithPath('vs/workbench/contrib/languageDetection/browser/languageDetection.contribution', 'status.autoDetectLanguage', "Accept Detected Language: {0}", detectedName);
73
+ let tooltip = ( localizeWithPath(
74
+ 'vs/workbench/contrib/languageDetection/browser/languageDetection.contribution',
75
+ 'status.autoDetectLanguage',
76
+ "Accept Detected Language: {0}",
77
+ detectedName
78
+ ));
74
79
  const keybinding = this._keybindingService.lookupKeybinding(detectLanguageCommandId);
75
80
  const label = keybinding?.getLabel();
76
81
  if (label) {
77
82
  tooltip += ` (${label})`;
78
83
  }
79
84
  const props = {
80
- name: localizeWithPath('vs/workbench/contrib/languageDetection/browser/languageDetection.contribution', 'langDetection.name', "Language Detection"),
81
- ariaLabel: localizeWithPath('vs/workbench/contrib/languageDetection/browser/languageDetection.contribution', 'langDetection.aria', "Change to Detected Language: {0}", lang),
85
+ name: ( localizeWithPath(
86
+ 'vs/workbench/contrib/languageDetection/browser/languageDetection.contribution',
87
+ 'langDetection.name',
88
+ "Language Detection"
89
+ )),
90
+ ariaLabel: ( localizeWithPath(
91
+ 'vs/workbench/contrib/languageDetection/browser/languageDetection.contribution',
92
+ 'langDetection.aria',
93
+ "Change to Detected Language: {0}",
94
+ lang
95
+ )),
82
96
  tooltip,
83
97
  command: detectLanguageCommandId,
84
98
  text: '$(lightbulb-autofix)',
@@ -110,7 +124,11 @@ registerAction2(class extends Action2 {
110
124
  constructor() {
111
125
  super({
112
126
  id: detectLanguageCommandId,
113
- title: { value: localizeWithPath('vs/workbench/contrib/languageDetection/browser/languageDetection.contribution', 'detectlang', 'Detect Language from Content'), original: 'Detect Language from Content' },
127
+ title: { value: ( localizeWithPath(
128
+ 'vs/workbench/contrib/languageDetection/browser/languageDetection.contribution',
129
+ 'detectlang',
130
+ 'Detect Language from Content'
131
+ )), original: 'Detect Language from Content' },
114
132
  f1: true,
115
133
  precondition: ( ContextKeyExpr.and(( NOTEBOOK_EDITOR_EDITABLE.toNegated()), EditorContextKeys.editorTextFocus)),
116
134
  keybinding: { primary: 34 | 512 | 1024 , weight: 200 }
@@ -128,7 +146,11 @@ registerAction2(class extends Action2 {
128
146
  editor.getModel()?.setLanguage(lang, LanguageDetectionLanguageEventSource);
129
147
  }
130
148
  else {
131
- notificationService.warn(localizeWithPath('vs/workbench/contrib/languageDetection/browser/languageDetection.contribution', 'noDetection', "Unable to detect editor language"));
149
+ notificationService.warn(( localizeWithPath(
150
+ 'vs/workbench/contrib/languageDetection/browser/languageDetection.contribution',
151
+ 'noDetection',
152
+ "Unable to detect editor language"
153
+ )));
132
154
  }
133
155
  }
134
156
  }
@@ -151,8 +151,17 @@ let EditorStatusContribution = class EditorStatusContribution {
151
151
  isOneBusy = isOneBusy || (!isPinned && status.busy);
152
152
  }
153
153
  const props = {
154
- name: localizeWithPath('vs/workbench/contrib/languageStatus/browser/languageStatus.contribution', 'langStatus.name', "Editor Language Status"),
155
- ariaLabel: localizeWithPath('vs/workbench/contrib/languageStatus/browser/languageStatus.contribution', 'langStatus.aria', "Editor Language Status: {0}", ariaLabels.join(', next: ')),
154
+ name: ( localizeWithPath(
155
+ 'vs/workbench/contrib/languageStatus/browser/languageStatus.contribution',
156
+ 'langStatus.name',
157
+ "Editor Language Status"
158
+ )),
159
+ ariaLabel: ( localizeWithPath(
160
+ 'vs/workbench/contrib/languageStatus/browser/languageStatus.contribution',
161
+ 'langStatus.aria',
162
+ "Editor Language Status: {0}",
163
+ ariaLabels.join(', next: ')
164
+ )),
156
165
  tooltip: element,
157
166
  command: ShowTooltipCommand,
158
167
  text: isOneBusy ? `${text}\u00A0\u00A0$(sync~spin)` : text,
@@ -250,32 +259,28 @@ let EditorStatusContribution = class EditorStatusContribution {
250
259
  store.add(actionBar);
251
260
  let action;
252
261
  if (!isPinned) {
253
- action = ( new Action(
262
+ action = ( new Action('pin', ( localizeWithPath(
263
+ 'vs/workbench/contrib/languageStatus/browser/languageStatus.contribution',
254
264
  'pin',
255
- localizeWithPath('vs/workbench/contrib/languageStatus/browser/languageStatus.contribution', 'pin', "Add to Status Bar"),
256
- ThemeIcon.asClassName(Codicon.pin),
257
- true,
258
- () => {
259
- this._dedicated.add(status.id);
260
- this._statusBarService.updateEntryVisibility(status.id, true);
261
- this._update();
262
- this._storeState();
263
- }
264
- ));
265
+ "Add to Status Bar"
266
+ )), ThemeIcon.asClassName(Codicon.pin), true, () => {
267
+ this._dedicated.add(status.id);
268
+ this._statusBarService.updateEntryVisibility(status.id, true);
269
+ this._update();
270
+ this._storeState();
271
+ }));
265
272
  }
266
273
  else {
267
- action = ( new Action(
274
+ action = ( new Action('unpin', ( localizeWithPath(
275
+ 'vs/workbench/contrib/languageStatus/browser/languageStatus.contribution',
268
276
  'unpin',
269
- localizeWithPath('vs/workbench/contrib/languageStatus/browser/languageStatus.contribution', 'unpin', "Remove from Status Bar"),
270
- ThemeIcon.asClassName(Codicon.pinned),
271
- true,
272
- () => {
273
- this._dedicated.delete(status.id);
274
- this._statusBarService.updateEntryVisibility(status.id, false);
275
- this._update();
276
- this._storeState();
277
- }
278
- ));
277
+ "Remove from Status Bar"
278
+ )), ThemeIcon.asClassName(Codicon.pinned), true, () => {
279
+ this._dedicated.delete(status.id);
280
+ this._statusBarService.updateEntryVisibility(status.id, false);
281
+ this._update();
282
+ this._storeState();
283
+ }));
279
284
  }
280
285
  actionBar.push(action, { icon: true, label: false });
281
286
  store.add(action);
@@ -311,10 +316,21 @@ let EditorStatusContribution = class EditorStatusContribution {
311
316
  return status.accessibilityInfo.label;
312
317
  }
313
318
  else if (status.detail) {
314
- return localizeWithPath('vs/workbench/contrib/languageStatus/browser/languageStatus.contribution', 'aria.1', '{0}, {1}', status.label, status.detail);
319
+ return ( localizeWithPath(
320
+ 'vs/workbench/contrib/languageStatus/browser/languageStatus.contribution',
321
+ 'aria.1',
322
+ '{0}, {1}',
323
+ status.label,
324
+ status.detail
325
+ ));
315
326
  }
316
327
  else {
317
- return localizeWithPath('vs/workbench/contrib/languageStatus/browser/languageStatus.contribution', 'aria.2', '{0}', status.label);
328
+ return ( localizeWithPath(
329
+ 'vs/workbench/contrib/languageStatus/browser/languageStatus.contribution',
330
+ 'aria.2',
331
+ '{0}',
332
+ status.label
333
+ ));
318
334
  }
319
335
  }
320
336
  static _asStatusbarEntry(item) {
@@ -326,7 +342,12 @@ let EditorStatusContribution = class EditorStatusContribution {
326
342
  kind = 'error';
327
343
  }
328
344
  return {
329
- name: localizeWithPath('vs/workbench/contrib/languageStatus/browser/languageStatus.contribution', 'name.pattern', '{0} (Language Status)', item.name),
345
+ name: ( localizeWithPath(
346
+ 'vs/workbench/contrib/languageStatus/browser/languageStatus.contribution',
347
+ 'name.pattern',
348
+ '{0} (Language Status)',
349
+ item.name
350
+ )),
330
351
  text: item.busy ? `${item.label}\u00A0\u00A0$(sync~spin)` : item.label,
331
352
  ariaLabel: item.accessibilityInfo?.label ?? item.label,
332
353
  role: item.accessibilityInfo?.role,
@@ -349,7 +370,11 @@ registerAction2(class extends Action2 {
349
370
  super({
350
371
  id: 'editor.inlayHints.Reset',
351
372
  title: {
352
- value: localizeWithPath('vs/workbench/contrib/languageStatus/browser/languageStatus.contribution', 'reset', 'Reset Language Status Interaction Counter'),
373
+ value: ( localizeWithPath(
374
+ 'vs/workbench/contrib/languageStatus/browser/languageStatus.contribution',
375
+ 'reset',
376
+ 'Reset Language Status Interaction Counter'
377
+ )),
353
378
  original: 'Reset Language Status Interaction Counter'
354
379
  },
355
380
  category: Categories.View,
@@ -9,10 +9,18 @@ import { Codicon } from 'monaco-editor/esm/vs/base/common/codicons.js';
9
9
  import { registerIcon } from 'monaco-editor/esm/vs/platform/theme/common/iconRegistry.js';
10
10
  import { IOutlinePane } from './outline.js';
11
11
 
12
- const outlineViewIcon = registerIcon('outline-view-icon', Codicon.symbolClass, localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'outlineViewIcon', 'View icon of the outline view.'));
12
+ const outlineViewIcon = registerIcon('outline-view-icon', Codicon.symbolClass, ( localizeWithPath(
13
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
14
+ 'outlineViewIcon',
15
+ 'View icon of the outline view.'
16
+ )));
13
17
  ( Registry.as(Extensions.ViewsRegistry)).registerViews([{
14
18
  id: IOutlinePane.Id,
15
- name: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'name', "Outline"),
19
+ name: ( localizeWithPath(
20
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
21
+ 'name',
22
+ "Outline"
23
+ )),
16
24
  containerIcon: outlineViewIcon,
17
25
  ctorDescriptor: ( new SyncDescriptor(OutlinePane)),
18
26
  canToggleVisibility: true,
@@ -26,16 +34,28 @@ const outlineViewIcon = registerIcon('outline-view-icon', Codicon.symbolClass, l
26
34
  ( Registry.as(Extensions$1.Configuration)).registerConfiguration({
27
35
  'id': 'outline',
28
36
  'order': 117,
29
- 'title': localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'outlineConfigurationTitle', "Outline"),
37
+ 'title': ( localizeWithPath(
38
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
39
+ 'outlineConfigurationTitle',
40
+ "Outline"
41
+ )),
30
42
  'type': 'object',
31
43
  'properties': {
32
44
  ["outline.icons" ]: {
33
- 'description': localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'outline.showIcons', "Render Outline elements with icons."),
45
+ 'description': ( localizeWithPath(
46
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
47
+ 'outline.showIcons',
48
+ "Render Outline elements with icons."
49
+ )),
34
50
  'type': 'boolean',
35
51
  'default': true
36
52
  },
37
53
  ["outline.collapseItems" ]: {
38
- 'description': localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'outline.initialState', "Controls whether Outline items are collapsed or expanded."),
54
+ 'description': ( localizeWithPath(
55
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
56
+ 'outline.initialState',
57
+ "Controls whether Outline items are collapsed or expanded."
58
+ )),
39
59
  'type': 'string',
40
60
  scope: 5 ,
41
61
  'enum': [
@@ -43,23 +63,43 @@ const outlineViewIcon = registerIcon('outline-view-icon', Codicon.symbolClass, l
43
63
  'alwaysExpand'
44
64
  ],
45
65
  'enumDescriptions': [
46
- localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'outline.initialState.collapsed', "Collapse all items."),
47
- localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'outline.initialState.expanded', "Expand all items.")
66
+ ( localizeWithPath(
67
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
68
+ 'outline.initialState.collapsed',
69
+ "Collapse all items."
70
+ )),
71
+ ( localizeWithPath(
72
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
73
+ 'outline.initialState.expanded',
74
+ "Expand all items."
75
+ ))
48
76
  ],
49
77
  'default': 'alwaysExpand'
50
78
  },
51
79
  ["outline.problems.enabled" ]: {
52
- 'description': localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'outline.showProblem', "Show errors and warnings on Outline elements."),
80
+ 'description': ( localizeWithPath(
81
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
82
+ 'outline.showProblem',
83
+ "Show errors and warnings on Outline elements."
84
+ )),
53
85
  'type': 'boolean',
54
86
  'default': true
55
87
  },
56
88
  ["outline.problems.colors" ]: {
57
- 'description': localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'outline.problem.colors', "Use colors for errors and warnings on Outline elements."),
89
+ 'description': ( localizeWithPath(
90
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
91
+ 'outline.problem.colors',
92
+ "Use colors for errors and warnings on Outline elements."
93
+ )),
58
94
  'type': 'boolean',
59
95
  'default': true
60
96
  },
61
97
  ["outline.problems.badges" ]: {
62
- 'description': localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'outline.problems.badges', "Use badges for errors and warnings on Outline elements."),
98
+ 'description': ( localizeWithPath(
99
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
100
+ 'outline.problems.badges',
101
+ "Use badges for errors and warnings on Outline elements."
102
+ )),
63
103
  'type': 'boolean',
64
104
  'default': true
65
105
  },
@@ -67,157 +107,261 @@ const outlineViewIcon = registerIcon('outline-view-icon', Codicon.symbolClass, l
67
107
  type: 'boolean',
68
108
  scope: 5 ,
69
109
  default: true,
70
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.file', "When enabled, Outline shows `file`-symbols.")
110
+ markdownDescription: ( localizeWithPath(
111
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
112
+ 'filteredTypes.file',
113
+ "When enabled, Outline shows `file`-symbols."
114
+ ))
71
115
  },
72
116
  'outline.showModules': {
73
117
  type: 'boolean',
74
118
  scope: 5 ,
75
119
  default: true,
76
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.module', "When enabled, Outline shows `module`-symbols.")
120
+ markdownDescription: ( localizeWithPath(
121
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
122
+ 'filteredTypes.module',
123
+ "When enabled, Outline shows `module`-symbols."
124
+ ))
77
125
  },
78
126
  'outline.showNamespaces': {
79
127
  type: 'boolean',
80
128
  default: true,
81
129
  scope: 5 ,
82
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.namespace', "When enabled, Outline shows `namespace`-symbols.")
130
+ markdownDescription: ( localizeWithPath(
131
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
132
+ 'filteredTypes.namespace',
133
+ "When enabled, Outline shows `namespace`-symbols."
134
+ ))
83
135
  },
84
136
  'outline.showPackages': {
85
137
  type: 'boolean',
86
138
  default: true,
87
139
  scope: 5 ,
88
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.package', "When enabled, Outline shows `package`-symbols.")
140
+ markdownDescription: ( localizeWithPath(
141
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
142
+ 'filteredTypes.package',
143
+ "When enabled, Outline shows `package`-symbols."
144
+ ))
89
145
  },
90
146
  'outline.showClasses': {
91
147
  type: 'boolean',
92
148
  default: true,
93
149
  scope: 5 ,
94
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.class', "When enabled, Outline shows `class`-symbols.")
150
+ markdownDescription: ( localizeWithPath(
151
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
152
+ 'filteredTypes.class',
153
+ "When enabled, Outline shows `class`-symbols."
154
+ ))
95
155
  },
96
156
  'outline.showMethods': {
97
157
  type: 'boolean',
98
158
  default: true,
99
159
  scope: 5 ,
100
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.method', "When enabled, Outline shows `method`-symbols.")
160
+ markdownDescription: ( localizeWithPath(
161
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
162
+ 'filteredTypes.method',
163
+ "When enabled, Outline shows `method`-symbols."
164
+ ))
101
165
  },
102
166
  'outline.showProperties': {
103
167
  type: 'boolean',
104
168
  default: true,
105
169
  scope: 5 ,
106
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.property', "When enabled, Outline shows `property`-symbols.")
170
+ markdownDescription: ( localizeWithPath(
171
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
172
+ 'filteredTypes.property',
173
+ "When enabled, Outline shows `property`-symbols."
174
+ ))
107
175
  },
108
176
  'outline.showFields': {
109
177
  type: 'boolean',
110
178
  default: true,
111
179
  scope: 5 ,
112
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.field', "When enabled, Outline shows `field`-symbols.")
180
+ markdownDescription: ( localizeWithPath(
181
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
182
+ 'filteredTypes.field',
183
+ "When enabled, Outline shows `field`-symbols."
184
+ ))
113
185
  },
114
186
  'outline.showConstructors': {
115
187
  type: 'boolean',
116
188
  default: true,
117
189
  scope: 5 ,
118
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.constructor', "When enabled, Outline shows `constructor`-symbols.")
190
+ markdownDescription: ( localizeWithPath(
191
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
192
+ 'filteredTypes.constructor',
193
+ "When enabled, Outline shows `constructor`-symbols."
194
+ ))
119
195
  },
120
196
  'outline.showEnums': {
121
197
  type: 'boolean',
122
198
  default: true,
123
199
  scope: 5 ,
124
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.enum', "When enabled, Outline shows `enum`-symbols.")
200
+ markdownDescription: ( localizeWithPath(
201
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
202
+ 'filteredTypes.enum',
203
+ "When enabled, Outline shows `enum`-symbols."
204
+ ))
125
205
  },
126
206
  'outline.showInterfaces': {
127
207
  type: 'boolean',
128
208
  default: true,
129
209
  scope: 5 ,
130
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.interface', "When enabled, Outline shows `interface`-symbols.")
210
+ markdownDescription: ( localizeWithPath(
211
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
212
+ 'filteredTypes.interface',
213
+ "When enabled, Outline shows `interface`-symbols."
214
+ ))
131
215
  },
132
216
  'outline.showFunctions': {
133
217
  type: 'boolean',
134
218
  default: true,
135
219
  scope: 5 ,
136
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.function', "When enabled, Outline shows `function`-symbols.")
220
+ markdownDescription: ( localizeWithPath(
221
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
222
+ 'filteredTypes.function',
223
+ "When enabled, Outline shows `function`-symbols."
224
+ ))
137
225
  },
138
226
  'outline.showVariables': {
139
227
  type: 'boolean',
140
228
  default: true,
141
229
  scope: 5 ,
142
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.variable', "When enabled, Outline shows `variable`-symbols.")
230
+ markdownDescription: ( localizeWithPath(
231
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
232
+ 'filteredTypes.variable',
233
+ "When enabled, Outline shows `variable`-symbols."
234
+ ))
143
235
  },
144
236
  'outline.showConstants': {
145
237
  type: 'boolean',
146
238
  default: true,
147
239
  scope: 5 ,
148
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.constant', "When enabled, Outline shows `constant`-symbols.")
240
+ markdownDescription: ( localizeWithPath(
241
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
242
+ 'filteredTypes.constant',
243
+ "When enabled, Outline shows `constant`-symbols."
244
+ ))
149
245
  },
150
246
  'outline.showStrings': {
151
247
  type: 'boolean',
152
248
  default: true,
153
249
  scope: 5 ,
154
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.string', "When enabled, Outline shows `string`-symbols.")
250
+ markdownDescription: ( localizeWithPath(
251
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
252
+ 'filteredTypes.string',
253
+ "When enabled, Outline shows `string`-symbols."
254
+ ))
155
255
  },
156
256
  'outline.showNumbers': {
157
257
  type: 'boolean',
158
258
  default: true,
159
259
  scope: 5 ,
160
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.number', "When enabled, Outline shows `number`-symbols.")
260
+ markdownDescription: ( localizeWithPath(
261
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
262
+ 'filteredTypes.number',
263
+ "When enabled, Outline shows `number`-symbols."
264
+ ))
161
265
  },
162
266
  'outline.showBooleans': {
163
267
  type: 'boolean',
164
268
  scope: 5 ,
165
269
  default: true,
166
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.boolean', "When enabled, Outline shows `boolean`-symbols.")
270
+ markdownDescription: ( localizeWithPath(
271
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
272
+ 'filteredTypes.boolean',
273
+ "When enabled, Outline shows `boolean`-symbols."
274
+ ))
167
275
  },
168
276
  'outline.showArrays': {
169
277
  type: 'boolean',
170
278
  default: true,
171
279
  scope: 5 ,
172
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.array', "When enabled, Outline shows `array`-symbols.")
280
+ markdownDescription: ( localizeWithPath(
281
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
282
+ 'filteredTypes.array',
283
+ "When enabled, Outline shows `array`-symbols."
284
+ ))
173
285
  },
174
286
  'outline.showObjects': {
175
287
  type: 'boolean',
176
288
  default: true,
177
289
  scope: 5 ,
178
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.object', "When enabled, Outline shows `object`-symbols.")
290
+ markdownDescription: ( localizeWithPath(
291
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
292
+ 'filteredTypes.object',
293
+ "When enabled, Outline shows `object`-symbols."
294
+ ))
179
295
  },
180
296
  'outline.showKeys': {
181
297
  type: 'boolean',
182
298
  default: true,
183
299
  scope: 5 ,
184
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.key', "When enabled, Outline shows `key`-symbols.")
300
+ markdownDescription: ( localizeWithPath(
301
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
302
+ 'filteredTypes.key',
303
+ "When enabled, Outline shows `key`-symbols."
304
+ ))
185
305
  },
186
306
  'outline.showNull': {
187
307
  type: 'boolean',
188
308
  default: true,
189
309
  scope: 5 ,
190
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.null', "When enabled, Outline shows `null`-symbols.")
310
+ markdownDescription: ( localizeWithPath(
311
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
312
+ 'filteredTypes.null',
313
+ "When enabled, Outline shows `null`-symbols."
314
+ ))
191
315
  },
192
316
  'outline.showEnumMembers': {
193
317
  type: 'boolean',
194
318
  default: true,
195
319
  scope: 5 ,
196
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.enumMember', "When enabled, Outline shows `enumMember`-symbols.")
320
+ markdownDescription: ( localizeWithPath(
321
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
322
+ 'filteredTypes.enumMember',
323
+ "When enabled, Outline shows `enumMember`-symbols."
324
+ ))
197
325
  },
198
326
  'outline.showStructs': {
199
327
  type: 'boolean',
200
328
  default: true,
201
329
  scope: 5 ,
202
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.struct', "When enabled, Outline shows `struct`-symbols.")
330
+ markdownDescription: ( localizeWithPath(
331
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
332
+ 'filteredTypes.struct',
333
+ "When enabled, Outline shows `struct`-symbols."
334
+ ))
203
335
  },
204
336
  'outline.showEvents': {
205
337
  type: 'boolean',
206
338
  default: true,
207
339
  scope: 5 ,
208
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.event', "When enabled, Outline shows `event`-symbols.")
340
+ markdownDescription: ( localizeWithPath(
341
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
342
+ 'filteredTypes.event',
343
+ "When enabled, Outline shows `event`-symbols."
344
+ ))
209
345
  },
210
346
  'outline.showOperators': {
211
347
  type: 'boolean',
212
348
  default: true,
213
349
  scope: 5 ,
214
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.operator', "When enabled, Outline shows `operator`-symbols.")
350
+ markdownDescription: ( localizeWithPath(
351
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
352
+ 'filteredTypes.operator',
353
+ "When enabled, Outline shows `operator`-symbols."
354
+ ))
215
355
  },
216
356
  'outline.showTypeParameters': {
217
357
  type: 'boolean',
218
358
  default: true,
219
359
  scope: 5 ,
220
- markdownDescription: localizeWithPath('vs/workbench/contrib/outline/browser/outline.contribution', 'filteredTypes.typeParameter', "When enabled, Outline shows `typeParameter`-symbols.")
360
+ markdownDescription: ( localizeWithPath(
361
+ 'vs/workbench/contrib/outline/browser/outline.contribution',
362
+ 'filteredTypes.typeParameter',
363
+ "When enabled, Outline shows `typeParameter`-symbols."
364
+ ))
221
365
  }
222
366
  }
223
367
  });