Theia API Documentation v1.77.0
    Preparing search index...

    Interface DocumentFormattingEditProvider

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

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