69
return settingsId;
70
}
72
>
export const COLOR_THEME_DARK_INITIAL_COLORS = {
73
>
'actionBar.toggledBackground': '#383a49',
74
>
'activityBar.activeBorder': '#0078D4',
75
>
'activityBar.background': '#181818',
76
>
'activityBar.border': '#2B2B2B',
77
>
'activityBar.foreground': '#D7D7D7',
78
>
'activityBar.inactiveForeground': '#868686',
79
>
'activityBarBadge.background': '#0078D4',
80
>
'activityBarBadge.foreground': '#FFFFFF',
81
>
'badge.background': '#616161',
82
>
'badge.foreground': '#F8F8F8',
83
>
'button.background': '#0078D4',
84
>
'button.border': '#FFFFFF12',
85
>
'button.foreground': '#FFFFFF',
86
>
'button.hoverBackground': '#026EC1',
87
>
'button.secondaryBackground': '#313131',
88
>
'button.secondaryForeground': '#CCCCCC',
89
>
'button.secondaryHoverBackground': '#3C3C3C',
90
>
'chat.slashCommandBackground': '#26477866',
91
>
'chat.slashCommandForeground': '#85B6FF',
92
>
'chat.editedFileForeground': '#E2C08D',
93
>
'checkbox.background': '#313131',
94
>
'checkbox.border': '#3C3C3C',
95
>
'debugToolBar.background': '#181818',
96
>
'descriptionForeground': '#9D9D9D',
97
>
'dropdown.background': '#313131',
98
>
'dropdown.border': '#3C3C3C',
99
>
'dropdown.foreground': '#CCCCCC',
100
>
'dropdown.listBackground': '#1F1F1F',
101
>
'editor.background': '#1F1F1F',
102
>
'editor.findMatchBackground': '#9E6A03',
103
>
'editor.foreground': '#CCCCCC',
104
>
'editor.inactiveSelectionBackground': '#3A3D41',
105
>
'editor.selectionHighlightBackground': '#ADD6FF26',
106
>
'editorGroup.border': '#FFFFFF17',
107
>
'editorGroupHeader.tabsBackground': '#181818',
108
>
'editorGroupHeader.tabsBorder': '#2B2B2B',
109
>
'editorGutter.addedBackground': '#2EA043',
110
>
'editorGutter.deletedBackground': '#F85149',
111
>
'editorGutter.modifiedBackground': '#0078D4',
112
>
'editorIndentGuide.activeBackground1': '#707070',
113
>
'editorIndentGuide.background1': '#404040',
114
>
'editorLineNumber.activeForeground': '#CCCCCC',
115
>
'editorLineNumber.foreground': '#6E7681',
116
>
'editorOverviewRuler.border': '#010409',
117
>
'editorWidget.background': '#202020',
118
>
'errorForeground': '#F85149',
119
>
'focusBorder': '#0078D4',
120
>
'foreground': '#CCCCCC',
121
>
'icon.foreground': '#CCCCCC',
122
>
'input.background': '#313131',
123
>
'input.border': '#3C3C3C',
124
>
'input.foreground': '#CCCCCC',
125
>
'input.placeholderForeground': '#989898',
126
>
'inputOption.activeBackground': '#2489DB82',
127
>
'inputOption.activeBorder': '#2488DB',
128
>
'keybindingLabel.foreground': '#CCCCCC',
129
>
'list.activeSelectionIconForeground': '#FFF',
130
>
'list.dropBackground': '#383B3D',
131
>
'menu.background': '#1F1F1F',
132
>
'menu.border': '#454545',
133
>
'menu.foreground': '#CCCCCC',
134
>
'menu.selectionBackground': '#0078d4',
135
>
'menu.separatorBackground': '#454545',
136
>
'notificationCenterHeader.background': '#1F1F1F',
137
>
'notificationCenterHeader.foreground': '#CCCCCC',
138
>
'notifications.background': '#1F1F1F',
139
>
'notifications.border': '#2B2B2B',
140
>
'notifications.foreground': '#CCCCCC',
141
>
'panel.background': '#181818',
142
>
'panel.border': '#2B2B2B',
143
>
'panelInput.border': '#2B2B2B',
144
>
'panelTitle.activeBorder': '#0078D4',
145
>
'panelTitle.activeForeground': '#CCCCCC',
146
>
'panelTitle.inactiveForeground': '#9D9D9D',
147
>
'peekViewEditor.background': '#1F1F1F',
148
>
'peekViewEditor.matchHighlightBackground': '#BB800966',
149
>
'peekViewResult.background': '#1F1F1F',
150
>
'peekViewResult.matchHighlightBackground': '#BB800966',
151
>
'pickerGroup.border': '#3C3C3C',
152
>
'ports.iconRunningProcessForeground': '#369432',
153
>
'progressBar.background': '#0078D4',
154
>
'quickInput.background': '#222222',
155
>
'quickInput.foreground': '#CCCCCC',
156
>
'settings.dropdownBackground': '#313131',
157
>
'settings.dropdownBorder': '#3C3C3C',
158
>
'settings.headerForeground': '#FFFFFF',
159
>
'settings.modifiedItemIndicator': '#BB800966',
160
>
'sideBar.background': '#181818',
161
>
'sideBar.border': '#2B2B2B',
162
>
'sideBar.foreground': '#CCCCCC',
163
>
'sideBarSectionHeader.background': '#181818',
164
>
'sideBarSectionHeader.border': '#2B2B2B',
165
>
'sideBarSectionHeader.foreground': '#CCCCCC',
166
>
'sideBarTitle.foreground': '#CCCCCC',
167
>
'statusBar.background': '#181818',
168
>
'statusBar.border': '#2B2B2B',
169
>
'statusBar.debuggingBackground': '#0078D4',
170
>
'statusBar.debuggingForeground': '#FFFFFF',
171
>
'statusBar.focusBorder': '#0078D4',
172
>
'statusBar.foreground': '#CCCCCC',
173
>
'statusBar.noFolderBackground': '#1F1F1F',
174
>
'statusBarItem.focusBorder': '#0078D4',
175
>
'statusBarItem.prominentBackground': '#6E768166',
176
>
'statusBarItem.remoteBackground': '#0078D4',
177
>
'statusBarItem.remoteForeground': '#FFFFFF',
178
>
'tab.activeBackground': '#1F1F1F',
179
>
'tab.activeBorder': '#1F1F1F',
180
>
'tab.activeBorderTop': '#0078D4',
181
>
'tab.activeForeground': '#FFFFFF',
182
>
'tab.border': '#2B2B2B',
183
>
'tab.hoverBackground': '#1F1F1F',
184
>
'tab.inactiveBackground': '#181818',
185
>
'tab.inactiveForeground': '#9D9D9D',
186
>
'tab.lastPinnedBorder': '#ccc3',
187
>
'tab.selectedBackground': '#37373D',
188
>
'tab.selectedBorderTop': '#6caddf',
189
>
'tab.selectedForeground': '#FFFFFF',
190
>
'tab.unfocusedActiveBorder': '#1F1F1F',
191
>
'tab.unfocusedActiveBorderTop': '#2B2B2B',
192
>
'tab.unfocusedHoverBackground': '#1F1F1F',
193
>
'terminal.foreground': '#CCCCCC',
194
>
'terminal.inactiveSelectionBackground': '#3A3D41',
195
>
'terminal.tab.activeBorder': '#0078D4',
196
>
'textBlockQuote.background': '#2B2B2B',
197
>
'textBlockQuote.border': '#616161',
198
>
'textCodeBlock.background': '#2B2B2B',
199
>
'textLink.activeForeground': '#4daafc',
200
>
'textLink.foreground': '#4daafc',
201
>
'textPreformat.background': '#3C3C3C',
202
>
'textPreformat.foreground': '#D0D0D0',
203
>
'textSeparator.foreground': '#21262D',
204
>
'titleBar.activeBackground': '#181818',
205
>
'titleBar.activeForeground': '#CCCCCC',
206
>
'titleBar.border': '#2B2B2B',
207
>
'titleBar.inactiveBackground': '#1F1F1F',
208
>
'titleBar.inactiveForeground': '#9D9D9D',
209
>
'welcomePage.progress.foreground': '#0078D4',
210
>
'welcomePage.tileBackground': '#2B2B2B',
211
>
'widget.border': '#313131'
212
>
};
213
>
214
>
export const COLOR_THEME_LIGHT_INITIAL_COLORS = {
215
>
'actionBar.toggledBackground': '#dddddd',
216
>
'activityBar.activeBorder': '#005FB8',
217
>
'activityBar.background': '#F8F8F8',
218
>
'activityBar.border': '#E5E5E5',
219
>
'activityBar.foreground': '#1F1F1F',
220
>
'activityBar.inactiveForeground': '#616161',
221
>
'activityBarBadge.background': '#005FB8',
222
>
'activityBarBadge.foreground': '#FFFFFF',
223
>
'badge.background': '#CCCCCC',
224
>
'badge.foreground': '#3B3B3B',
225
>
'button.background': '#005FB8',
226
>
'button.border': '#0000001a',
227
>
'button.foreground': '#FFFFFF',
228
>
'button.hoverBackground': '#0258A8',
229
>
'button.secondaryBackground': '#E5E5E5',
230
>
'button.secondaryForeground': '#3B3B3B',
231
>
'button.secondaryHoverBackground': '#CCCCCC',
232
>
'chat.slashCommandBackground': '#ADCEFF7A',
233
>
'chat.slashCommandForeground': '#26569E',
234
>
'chat.editedFileForeground': '#895503',
235
>
'checkbox.background': '#F8F8F8',
236
>
'checkbox.border': '#CECECE',
237
>
'descriptionForeground': '#3B3B3B',
238
>
'diffEditor.unchangedRegionBackground': '#f8f8f8',
239
>
'dropdown.background': '#FFFFFF',
240
>
'dropdown.border': '#CECECE',
241
>
'dropdown.foreground': '#3B3B3B',
242
>
'dropdown.listBackground': '#FFFFFF',
243
>
'editor.background': '#FFFFFF',
244
>
'editor.foreground': '#3B3B3B',
245
>
'editor.inactiveSelectionBackground': '#E5EBF1',
246
>
'editor.selectionHighlightBackground': '#ADD6FF80',
247
>
'editorGroup.border': '#E5E5E5',
248
>
'editorGroupHeader.tabsBackground': '#F8F8F8',
249
>
'editorGroupHeader.tabsBorder': '#E5E5E5',
250
>
'editorGutter.addedBackground': '#2EA043',
251
>
'editorGutter.deletedBackground': '#F85149',
252
>
'editorGutter.modifiedBackground': '#005FB8',
253
>
'editorIndentGuide.activeBackground1': '#939393',
254
>
'editorIndentGuide.background1': '#D3D3D3',
255
>
'editorLineNumber.activeForeground': '#171184',
256
>
'editorLineNumber.foreground': '#6E7681',
257
>
'editorOverviewRuler.border': '#E5E5E5',
258
>
'editorSuggestWidget.background': '#F8F8F8',
259
>
'editorWidget.background': '#F8F8F8',
260
>
'errorForeground': '#F85149',
261
>
'focusBorder': '#005FB8',
262
>
'foreground': '#3B3B3B',
263
>
'icon.foreground': '#3B3B3B',
264
>
'input.background': '#FFFFFF',
265
>
'input.border': '#CECECE',
266
>
'input.foreground': '#3B3B3B',
267
>
'input.placeholderForeground': '#767676',
268
>
'inputOption.activeBackground': '#BED6ED',
269
>
'inputOption.activeBorder': '#005FB8',
270
>
'inputOption.activeForeground': '#000000',
271
>
'keybindingLabel.foreground': '#3B3B3B',
272
>
'list.activeSelectionBackground': '#E8E8E8',
273
>
'list.activeSelectionForeground': '#000000',
274
>
'list.activeSelectionIconForeground': '#000000',
275
>
'list.focusAndSelectionOutline': '#005FB8',
276
>
'list.hoverBackground': '#F2F2F2',
277
>
'menu.border': '#CECECE',
278
>
'menu.selectionBackground': '#005FB8',
279
>
'menu.selectionForeground': '#ffffff',
280
>
'notebook.cellBorderColor': '#E5E5E5',
281
>
'notebook.selectedCellBackground': '#C8DDF150',
282
>
'notificationCenterHeader.background': '#FFFFFF',
283
>
'notificationCenterHeader.foreground': '#3B3B3B',
284
>
'notifications.background': '#FFFFFF',
285
>
'notifications.border': '#E5E5E5',
286
>
'notifications.foreground': '#3B3B3B',
287
>
'panel.background': '#F8F8F8',
288
>
'panel.border': '#E5E5E5',
289
>
'panelInput.border': '#E5E5E5',
290
>
'panelTitle.activeBorder': '#005FB8',
291
>
'panelTitle.activeForeground': '#3B3B3B',
292
>
'panelTitle.inactiveForeground': '#3B3B3B',
293
>
'peekViewEditor.matchHighlightBackground': '#BB800966',
294
>
'peekViewResult.background': '#FFFFFF',
295
>
'peekViewResult.matchHighlightBackground': '#BB800966',
296
>
'pickerGroup.border': '#E5E5E5',
297
>
'pickerGroup.foreground': '#8B949E',
298
>
'ports.iconRunningProcessForeground': '#369432',
299
>
'progressBar.background': '#005FB8',
300
>
'quickInput.background': '#F8F8F8',
301
>
'quickInput.foreground': '#3B3B3B',
302
>
'searchEditor.textInputBorder': '#CECECE',
303
>
'settings.dropdownBackground': '#FFFFFF',
304
>
'settings.dropdownBorder': '#CECECE',
305
>
'settings.headerForeground': '#1F1F1F',
306
>
'settings.modifiedItemIndicator': '#BB800966',
307
>
'settings.numberInputBorder': '#CECECE',
308
>
'settings.textInputBorder': '#CECECE',
309
>
'sideBar.background': '#F8F8F8',
310
>
'sideBar.border': '#E5E5E5',
311
>
'sideBar.foreground': '#3B3B3B',
312
>
'sideBarSectionHeader.background': '#F8F8F8',
313
>
'sideBarSectionHeader.border': '#E5E5E5',
314
>
'sideBarSectionHeader.foreground': '#3B3B3B',
315
>
'sideBarTitle.foreground': '#3B3B3B',
316
>
'statusBar.background': '#F8F8F8',
317
>
'statusBar.border': '#E5E5E5',
318
>
'statusBar.debuggingBackground': '#FD716C',
319
>
'statusBar.debuggingForeground': '#000000',
320
>
'statusBar.focusBorder': '#005FB8',
321
>
'statusBar.foreground': '#3B3B3B',
322
>
'statusBar.noFolderBackground': '#F8F8F8',
323
>
'statusBarItem.compactHoverBackground': '#CCCCCC',
324
>
'statusBarItem.errorBackground': '#C72E0F',
325
>
'statusBarItem.focusBorder': '#005FB8',
326
>
'statusBarItem.hoverBackground': '#B8B8B850',
327
>
'statusBarItem.prominentBackground': '#6E768166',
328
>
'statusBarItem.remoteBackground': '#005FB8',
329
>
'statusBarItem.remoteForeground': '#FFFFFF',
330
>
'tab.activeBackground': '#FFFFFF',
331
>
'tab.activeBorder': '#F8F8F8',
332
>
'tab.activeBorderTop': '#005FB8',
333
>
'tab.activeForeground': '#3B3B3B',
334
>
'tab.border': '#E5E5E5',
335
>
'tab.hoverBackground': '#FFFFFF',
336
>
'tab.inactiveBackground': '#F8F8F8',
337
>
'tab.inactiveForeground': '#868686',
338
>
'tab.lastPinnedBorder': '#D4D4D4',
339
>
'tab.selectedBackground': '#E4E6F1',
340
>
'tab.selectedBorderTop': '#68a3da',
341
>
'tab.selectedForeground': '#333333',
342
>
'tab.unfocusedActiveBorder': '#F8F8F8',
343
>
'tab.unfocusedActiveBorderTop': '#E5E5E5',
344
>
'tab.unfocusedHoverBackground': '#F8F8F8',
345
>
'terminal.foreground': '#3B3B3B',
346
>
'terminal.inactiveSelectionBackground': '#E5EBF1',
347
>
'terminal.tab.activeBorder': '#005FB8',
348
>
'terminalCursor.foreground': '#005FB8',
349
>
'textBlockQuote.background': '#F8F8F8',
350
>
'textBlockQuote.border': '#E5E5E5',
351
>
'textCodeBlock.background': '#F8F8F8',
352
>
'textLink.activeForeground': '#005FB8',
353
>
'textLink.foreground': '#005FB8',
354
>
'textPreformat.background': '#0000001F',
355
>
'textPreformat.foreground': '#3B3B3B',
356
>
'textSeparator.foreground': '#21262D',
357
>
'titleBar.activeBackground': '#F8F8F8',
358
>
'titleBar.activeForeground': '#1E1E1E',
359
>
'titleBar.border': '#E5E5E5',
360
>
'titleBar.inactiveBackground': '#F8F8F8',
361
>
'titleBar.inactiveForeground': '#8B949E',
362
>
'welcomePage.tileBackground': '#F3F3F3',
363
>
'widget.border': '#E5E5E5'
364
>
};
365
>
366
>
export interface IWorkbenchTheme {
367
>
readonly id: string;
368
>
readonly label: string;
369
>
readonly extensionData?: ExtensionData;
370
>
readonly description?: string;
371
>
readonly settingsId: string | null;
372
>
}
373
>
374
>
export interface IWorkbenchColorTheme extends IWorkbenchTheme, IColorTheme {
375
>
readonly settingsId: string;
376
>
readonly tokenColors: ITextMateThemingRule[];
377
>
}
378
>
379
>
export interface IColorMap {
380
>
[id: string]: Color;
381
>
}
382
>
383
>
export interface IWorkbenchFileIconTheme extends IWorkbenchTheme, IFileIconTheme {
384
>
}
385
>
386
>
export interface IWorkbenchProductIconTheme extends IWorkbenchTheme, IProductIconTheme {
387
>
readonly settingsId: string;
388
>
389
>
getIcon(icon: IconContribution): IconDefinition | undefined;
390
>
}
391
>
392
>
export type ThemeSettingTarget = ConfigurationTarget | undefined | 'auto' | 'preview';
393
>
394
>
395
>
export interface IWorkbenchThemeService extends IThemeService {
396
>
readonly _serviceBrand: undefined;
397
>
setColorTheme(themeId: string | undefined | IWorkbenchColorTheme, settingsTarget: ThemeSettingTarget): Promise<IWorkbenchColorTheme | null>;
398
>
getColorTheme(): IWorkbenchColorTheme;
399
>
getColorThemes(): Promise<IWorkbenchColorTheme[]>;
400
>
getMarketplaceColorThemes(publisher: string, name: string, version: string): Promise<IWorkbenchColorTheme[]>;
401
>
readonly onDidColorThemeChange: Event<IWorkbenchColorTheme>;
402
>
403
>
getPreferredColorScheme(): ColorScheme | undefined;
404
>
405
>
setFileIconTheme(iconThemeId: string | undefined | IWorkbenchFileIconTheme, settingsTarget: ThemeSettingTarget): Promise<IWorkbenchFileIconTheme>;
406
>
getFileIconTheme(): IWorkbenchFileIconTheme;
407
>
getFileIconThemes(): Promise<IWorkbenchFileIconTheme[]>;
408
>
getMarketplaceFileIconThemes(publisher: string, name: string, version: string): Promise<IWorkbenchFileIconTheme[]>;
409
>
readonly onDidFileIconThemeChange: Event<IWorkbenchFileIconTheme>;
410
>
411
>
setProductIconTheme(iconThemeId: string | undefined | IWorkbenchProductIconTheme, settingsTarget: ThemeSettingTarget): Promise<IWorkbenchProductIconTheme>;
412
>
getProductIconTheme(): IWorkbenchProductIconTheme;
413
>
getProductIconThemes(): Promise<IWorkbenchProductIconTheme[]>;
414
>
getMarketplaceProductIconThemes(publisher: string, name: string, version: string): Promise<IWorkbenchProductIconTheme[]>;
415
>
readonly onDidProductIconThemeChange: Event<IWorkbenchProductIconTheme>;
416
>
}
417
>
418
>
export interface IThemeScopedColorCustomizations {
419
>
[colorId: string]: string;
420
>
}
421
>
422
>
export interface IColorCustomizations {
423
>
[colorIdOrThemeScope: string]: IThemeScopedColorCustomizations | string;
424
>
}
425
>
426
>
export interface IThemeScopedTokenColorCustomizations {
427
>
[groupId: string]: ITextMateThemingRule[] | ITokenColorizationSetting | boolean | string | undefined;
428
>
comments?: string | ITokenColorizationSetting;
429
>
strings?: string | ITokenColorizationSetting;
430
>
numbers?: string | ITokenColorizationSetting;
431
>
keywords?: string | ITokenColorizationSetting;
432
>
types?: string | ITokenColorizationSetting;
433
>
functions?: string | ITokenColorizationSetting;
434
>
variables?: string | ITokenColorizationSetting;
435
>
textMateRules?: ITextMateThemingRule[];
436
>
semanticHighlighting?: boolean; // deprecated, use ISemanticTokenColorCustomizations.enabled instead
437
>
}
438
>
439
>
export interface ITokenColorCustomizations {
440
>
[groupIdOrThemeScope: string]: IThemeScopedTokenColorCustomizations | ITextMateThemingRule[] | ITokenColorizationSetting | boolean | string | undefined;
441
>
comments?: string | ITokenColorizationSetting;
442
>
strings?: string | ITokenColorizationSetting;
443
>
numbers?: string | ITokenColorizationSetting;
444
>
keywords?: string | ITokenColorizationSetting;
445
>
types?: string | ITokenColorizationSetting;
446
>
functions?: string | ITokenColorizationSetting;
447
>
variables?: string | ITokenColorizationSetting;
448
>
textMateRules?: ITextMateThemingRule[];
449
>
semanticHighlighting?: boolean; // deprecated, use ISemanticTokenColorCustomizations.enabled instead
450
>
}
451
>
452
>
export interface IThemeScopedSemanticTokenColorCustomizations {
453
>
[styleRule: string]: ISemanticTokenRules | boolean | undefined;
454
>
enabled?: boolean;
455
>
rules?: ISemanticTokenRules;
456
>
}
457
>
458
>
export interface ISemanticTokenColorCustomizations {
459
>
[styleRuleOrThemeScope: string]: IThemeScopedSemanticTokenColorCustomizations | ISemanticTokenRules | boolean | undefined;
460
>
enabled?: boolean;
461
>
rules?: ISemanticTokenRules;
462
>
}
463
>
464
>
export interface IThemeScopedExperimentalSemanticTokenColorCustomizations {
465
>
[themeScope: string]: ISemanticTokenRules | undefined;
466
>
}
467
>
468
>
export interface IExperimentalSemanticTokenColorCustomizations {
469
>
[styleRuleOrThemeScope: string]: IThemeScopedExperimentalSemanticTokenColorCustomizations | ISemanticTokenRules | undefined;
470
>
}
471
>
472
>
export type IThemeScopedCustomizations =
473
>
IThemeScopedColorCustomizations
474
>
| IThemeScopedTokenColorCustomizations
475
>
| IThemeScopedExperimentalSemanticTokenColorCustomizations
476
>
| IThemeScopedSemanticTokenColorCustomizations;
477
>
478
>
export type IThemeScopableCustomizations =
479
>
IColorCustomizations
480
>
| ITokenColorCustomizations
481
>
| IExperimentalSemanticTokenColorCustomizations
482
>
| ISemanticTokenColorCustomizations;
483
>
484
>
export interface ISemanticTokenRules {
485
>
[selector: string]: string | ISemanticTokenColorizationSetting | undefined;
486
>
}
487
>
488
>
export interface ITextMateThemingRule {
489
>
name?: string;
490
>
scope?: string | string[];
491
>
settings: ITokenColorizationSetting;
492
>
}
493
>
494
>
export interface ITokenColorizationSetting {
495
>
foreground?: string;
496
>
background?: string;
497
>
fontStyle?: string; /* [italic|bold|underline|strikethrough] */
498
>
fontFamily?: string;
499
>
fontSize?: number;
500
>
lineHeight?: number;
501
>
}
502
>
503
>
export interface ISemanticTokenColorizationSetting {
504
>
foreground?: string;
505
>
fontStyle?: string; /* [italic|bold|underline|strikethrough] */
506
>
bold?: boolean;
507
>
underline?: boolean;
508
>
strikethrough?: boolean;
509
>
italic?: boolean;
510
>
}
511
>
512
>
export interface ExtensionData {
513
>
extensionId: string;
514
>
extensionPublisher: string;
515
>
extensionName: string;
516
>
extensionIsBuiltin: boolean;
517
>
}
518
>
519
>
export namespace ExtensionData {
520
>
export function toJSONObject(d: ExtensionData | undefined): any {
521
return d && { _extensionId: d.extensionId, _extensionIsBuiltin: d.extensionIsBuiltin, _extensionName: d.extensionName, _extensionPublisher: d.extensionPublisher };
522
}
524
if (o && isString(o._extensionId) && isBoolean(o._extensionIsBuiltin) && isString(o._extensionName) && isString(o._extensionPublisher)) {
525
return { extensionId: o._extensionId, extensionIsBuiltin: o._extensionIsBuiltin, extensionName: o._extensionName, extensionPublisher: o._extensionPublisher };