Optional
contextControl if the action should show up in the context menu and where. The context menu of the editor has these default: navigation - The navigation group comes first in all cases. 1_modification - This group comes next and contains commands that modify your code. 9_cutcopypaste - The last default group with the basic editing commands. You can also create your own group. Defaults to null (don't show in context menu).
Optional
contextControl the order in the context menu group.
An unique identifier of the contributed action.
Optional
keybindingThe keybinding rule (condition on top of precondition).
Optional
keybindingsAn array of keybindings for the action.
A label of the action that will be presented to the user.
Optional
preconditionPrecondition rule. The value should be a context key expression.
Method that will be executed when the action is triggered.
The editor instance is passed in as a convenience
Rest
...args: any[]
Description of an action contribution