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

    The document link provider defines the contract between extensions and feature of showing links in the editor.

    interface DocumentLinkProvider<T extends DocumentLink = DocumentLink> {
        provideDocumentLinks(
            document: TextDocument,
            token: CancellationToken,
        ): ProviderResult<T[]>;
        resolveDocumentLink?(link: T, token: CancellationToken): ProviderResult<T>;
    }

    Type Parameters

    Index

    Methods