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

    Represents the input box in the Source Control viewlet.

    interface SourceControlInputBox {
        enabled: boolean;
        placeholder: string;
        value: string;
        visible: boolean;
        validateInput?(
            value: string,
            cursorPosition: number,
        ): ProviderResult<undefined | null | SourceControlInputBoxValidation>;
    }

    Implemented by

    Index

    Properties

    enabled: boolean

    Controls whether the input box is enabled (default is true).

    placeholder: string

    A string to show as place holder in the input box to guide the user.

    value: string

    Setter and getter for the contents of the input box.

    visible: boolean

    Controls whether the input box is visible (default is true).

    Methods