Theia API Documentation v1.68.0
    Preparing search index...

    Interface ScmActionButton

    interface ScmActionButton {
        command: Command;
        description?: string;
        enabled: boolean;
        secondaryCommands?: Command[][];
    }
    Index

    Properties

    command: Command

    The primary command for this action button.

    description?: string

    Optional description shown next to the button.

    enabled: boolean

    Whether this action button is enabled.

    secondaryCommands?: Command[][]

    Secondary commands that appear in a dropdown menu. Each inner array represents a group of commands (separated by dividers).