command

An optional command for this label part.

The editor renders parts with commands as clickable links. The command is added to the context menu when a label part defines location} and {@link InlayHintLabelPart.command command .

Note that this property can be set late during resolving of inlay hints.

Online Documentation