Interface DocumentFormattingEditProvider

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

interface DocumentFormattingEditProvider {
    displayName?: string;
    provideDocumentFormattingEdits(model, options, token): ProviderResult<TextEdit[]>;
}

Properties

displayName?: string

Methods