You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: localize('submenu.id','Identifier of the menu to display as a submenu.'),
218
+
description: localize('vscode.extension.contributes.submenu.id','Identifier of the menu to display as a submenu.'),
218
219
type: 'string'
219
220
},
220
221
label: {
221
-
description: localize('submenu.label','The label of the menu item which leads to this submenu.'),
222
+
description: localize('vscode.extension.contributes.submenu.label','The label of the menu item which leads to this submenu.'),
222
223
type: 'string'
224
+
},
225
+
icon: {
226
+
description: localize('vscode.extension.contributes.submenu.icon','(Optional) Icon which is used to represent the submenu in the UI. Either a file path, an object with file paths for dark and light themes, or a theme icon references, like `\\$(zap)`'),
227
+
anyOf: [{
228
+
type: 'string'
229
+
},
230
+
{
231
+
type: 'object',
232
+
properties: {
233
+
light: {
234
+
description: localize('vscode.extension.contributes.submenu.icon.light','Icon path when a light theme is used'),
235
+
type: 'string'
236
+
},
237
+
dark: {
238
+
description: localize('vscode.extension.contributes.submenu.icon.dark','Icon path when a dark theme is used'),
0 commit comments