Internal
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.
Readonly
idtechnical identifier.
Optional
Readonly
labelOptional label. Will be rendered as text of the menu item.
Optional
Readonly
parentA reference to the parent node - useful for determining the menu path by which the node can be accessed.
Readonly
sortMenu nodes are sorted in ascending order based on their sortString
.
Optional
Readonly
whenCondition under which the menu node should be rendered. See https://code.visualstudio.com/docs/getstarted/keybindings#_when-clause-contexts
For most use cases refer to MenuNode, CommandMenuNode, or CompoundMenuNode