provideDocumentFormattingEdits
abstract fun provideDocumentFormattingEdits(document: TextDocument, options: FormattingOptions, token: CancellationToken): ProviderResult<ReadonlyArray<TextEdit>>(source)
Provide formatting edits for a whole document.
Parameters
document
The document in which the command was invoked.
options
Options controlling formatting.
token
A cancellation token.