Theia API Documentation v1.65.0
    Preparing search index...
    • Show a warning message.

      Type Parameters

      • T extends string

      Parameters

      • message: string

        a message to show.

      • ...items: T[]

        A set of items that will be rendered as actions in the message.

      Returns Thenable<undefined | T>

      A promise that resolves to the selected item or undefined when being dismissed.

    • Show a warning message.

      Type Parameters

      • T extends string

      Parameters

      • message: string

        a message to show.

      • options: MessageOptions

        Configures the behaviour of the message.

      • ...items: T[]

        A set of items that will be rendered as actions in the message.

      Returns Thenable<undefined | T>

      A promise that resolves to the selected item or undefined when being dismissed.

    • Show a warning message.

      Type Parameters

      Parameters

      • message: string

        a message to show.

      • ...items: T[]

        A set of items that will be rendered as actions in the message.

      Returns Thenable<undefined | T>

      A promise that resolves to the selected item or undefined when being dismissed.

    • Show a warning message.

      Type Parameters

      Parameters

      • message: string

        a message to show.

      • options: MessageOptions

        Configures the behaviour of the message.

      • ...items: T[]

        A set of items that will be rendered as actions in the message.

      Returns Thenable<undefined | T>

      A promise that resolves to the selected item or undefined when being dismissed.