Interface DocumentColorProvider

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

interface DocumentColorProvider {
    provideColorPresentations(color, context, token): ProviderResult<ColorPresentation[]>;
    provideDocumentColors(document, token): ProviderResult<ColorInformation[]>;
}

Methods