Interface DocumentFormattingEditProvider

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

interface DocumentFormattingEditProvider {
    provideDocumentFormattingEdits(document, options, token): ProviderResult<undefined | TextEdit[]>;
}

Methods