Class DocumentFormattingAdapter
Hierarchy
- DocumentFormattingAdapter
Constructors
constructor
Parameters
provider: DocumentFormattingEditProvider
Methods
provideDocumentFormattingEdits
- provideDocumentFormattingEdits(resource: URI, options: FormattingOptions, token: CancellationToken): Promise<undefined | TextEdit[]>
Parameters
resource: URI
token: CancellationToken
Returns Promise<undefined | TextEdit[]>