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

    The document color provider defines the contract between extensions and feature of picking and modifying colors in the editor.

    interface DocumentColorProvider {
        provideColorPresentations(
            color: Color,
            context: { document: TextDocument; range: Range },
            token: CancellationToken,
        ): ProviderResult<ColorPresentation[]>;
        provideDocumentColors(
            document: TextDocument,
            token: CancellationToken,
        ): ProviderResult<ColorInformation[]>;
    }
    Index

    Methods