Name of the PAPI command to run when this menu item is selected.
OptionaliconPathAfter?: stringUri path to the icon to display after the menu text. Ex:
papi-extension://helloWorld/assets/icon.png
OptionaliconPathBefore?: stringUri path to the icon to display before the menu text. Ex:
papi-extension://helloWorld/assets/icon.png
Optional Experimentalshortcut?: stringDisplay text for the keyboard shortcut that runs this item's command (e.g. ⌃F on macOS,
Ctrl+F on Windows and Linux), shown at the end of the row. It is display-only: do not parse
it as a key binding.
The platform fills it in from its keyboard shortcuts catalog in the localized menus it serves; the unlocalized main menu never has it. Key names are not localized, and only the first catalogued alternative is shown.
A menus.json contribution cannot set it: the menus schema rejects it, which rejects the
extension's whole menus.json.
This field is unstable and may change or disappear without notice
Menu item that runs a command