Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SubMenuOptions

Additional options when creating a new submenu.

Hierarchy

Index

Properties

iconClass?: string

The class to use for the submenu icon.

order?: string

Menu entries are sorted in ascending order based on their order strings. If omitted the determined label will be used instead.

How the node and its children should be rendered. See CompoundMenuNodeRole.

when?: string

Condition under which the menu node should be rendered. See https://code.visualstudio.com/docs/getstarted/keybindings#_when-clause-contexts