Theia API Documentation v1.65.0
    Preparing search index...
    Index

    Constructors

    Methods

    Constructors

    Methods

    • Applies a list of replacements to the original content using a multi-step matching strategy.

      Parameters

      • originalContent: string

        The original file content.

      • replacements: Replacement[]

        Array of Replacement objects.

      Returns { errors: string[]; updatedContent: string }

      An object containing the updated content and any error messages.