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

    A provider which generates share links for resources in the editor.

    interface ShareProvider {
        id: string;
        label: string;
        priority: number;
        provideShare(
            item: ShareableItem,
            token: CancellationToken,
        ): ProviderResult<string | Uri>;
    }
    Index

    Properties

    Methods

    Properties

    id: string

    A unique ID for the provider. This will be used to activate specific extensions contributing share providers if necessary.

    label: string

    A label which will be used to present this provider's options in the UI.

    priority: number

    The order in which the provider should be listed in the UI when there are multiple providers.

    Methods