Interface DocumentRangesFormattingParams

The parameters of a DocumentRangesFormattingRequest.

3.18.0

interface DocumentRangesFormattingParams {
    options: FormattingOptions;
    ranges: Range[];
    textDocument: TextDocumentIdentifier;
    workDoneToken?: ProgressToken;
}

Hierarchy (View Summary)

Properties

The format options

ranges: Range[]

The ranges to format

The document to format.

workDoneToken?: ProgressToken

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