Optional
options: Partial<CommandBarOptions>Optional
capturing: booleanOptional
capturing: booleanRegisters a command on the command bar tooltip.
The commands are added in sequential order. If there is not enough space on the main toolbar, the remaining elements are added to the overflow menu.
Displays a command tooltip above the currently active line selection, with clickable elements.
Internally it is a composite of two tooltips, one for the main tooltip and one for the overflowing commands. The commands are added sequentially in registration order. When attached to an editor, it is either always shown or only when the active line is hovered with mouse, depending on the alwaysShow property.