Class DocumentFormattingAdapter
Hierarchy
-
DocumentFormattingAdapter
Implements
- DocumentFormattingEditProvider
Methods
provideDocumentFormattingEdits
- provideDocumentFormattingEdits(document: ITextModel, _options: FormattingOptions, _token: CancellationToken): Promise<{ range: Range; text: string }[]>
-
Parameters
-
document: ITextModel
-
_options: FormattingOptions
-
_token: CancellationToken
Returns Promise<{ range: Range; text: string }[]>