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

    Represents a reference to a command. Provides a title which will be used to represent a command in the UI and, optionally, an array of arguments which will be passed to the command handler function when invoked.

    interface Command {
        arguments?: any[];
        command: string;
        title: string;
        tooltip?: string;
    }
    Index

    Properties

    arguments?: any[]

    Arguments that the command handler should be invoked with.

    command: string

    The identifier of the actual command handler.

    title: string

    Title of the command, like save.

    tooltip?: string

    A tooltip for the command, when represented in the UI.