Optional
altIn addition to the mandatory command property, an alternative command can be defined. It will be shown and invoked when pressing Alt while opening a menu.
The command to execute.
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
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
whenCondition under which the menu node should be rendered. See https://code.visualstudio.com/docs/getstarted/keybindings#_when-clause-contexts
A menu entry representing an action, e.g. "New File".