DocumentFormattingEditProvider

The document formatting provider interface defines the contract between extensions and the formatting-feature.

Online Documentation

Functions

Link copied to clipboard
abstract fun provideDocumentFormattingEdits(    document: TextDocument,     options: FormattingOptions,     token: CancellationToken): ProviderResult<ReadonlyArray<TextEdit>>

Provide formatting edits for a whole document.