Interface OnTypeFormattingEditProvider

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

interface OnTypeFormattingEditProvider {
    autoFormatTriggerCharacters: string[];
    provideOnTypeFormattingEdits(model, position, ch, options, token): ProviderResult<TextEdit[]>;
}

Properties

autoFormatTriggerCharacters: string[]

Methods