Class RangeFormattingAdapter
Constructors
constructor
Parameters
provider: DocumentRangeFormattingEditProvider
Methods
provideDocumentRangeFormattingEdits
- provideDocumentRangeFormattingEdits(resource: URI, range: Range, options: FormattingOptions, token: CancellationToken): Promise<undefined | TextEdit[]>
Parameters
resource: URI
token: CancellationToken
Returns Promise<undefined | TextEdit[]>