Interface DocumentOnTypeFormattingRegistrationOptions

Registration options for a DocumentOnTypeFormattingRequest.

interface DocumentOnTypeFormattingRegistrationOptions {
    documentSelector: null | DocumentSelector;
    firstTriggerCharacter: string;
    moreTriggerCharacter?: string[];
}

Hierarchy (View Summary)

Properties

documentSelector: null | DocumentSelector

A document selector to identify the scope of the registration. If set to null the document selector provided on the client side will be used.

firstTriggerCharacter: string

A character on which formatting should be triggered, like {.

moreTriggerCharacter?: string[]

More trigger characters.