Optional
Readonly
iconIcon classes for the menu node. If present, these will produce an icon to the left of the label in browser-style menus.
Optional
iconThe class to use for the submenu icon.
use icon
instead;
Optional
Readonly
labelOptional label. Will be rendered as text of the menu item.
Optional
orderMenu entries are sorted in ascending order based on their order
strings. If omitted the determined
label will be used instead.
Optional
Readonly
roleHow the node and its children should be rendered. See CompoundMenuNodeRole.
Optional
Readonly
whenCondition under which the menu node should be rendered. See https://code.visualstudio.com/docs/getstarted/keybindings#_when-clause-contexts
Additional options when creating a new submenu.