Interface ColorPresentationParams

Parameters for a ColorPresentationRequest.

interface ColorPresentationParams {
    color: Color;
    partialResultToken?: ProgressToken;
    range: Range;
    textDocument: TextDocumentIdentifier;
    workDoneToken?: ProgressToken;
}

Hierarchy (View Summary)

Properties

color: Color

The color to request presentations for.

partialResultToken?: ProgressToken

An optional token that a server can use to report partial results (e.g. streaming) to the client.

range: Range

The range where the color would be inserted. Serves as a context.

The text document.

workDoneToken?: ProgressToken

An optional token that a server can use to report work done progress.