Ace API Reference
    Preparing search index...

    Function beautify

    • Formats and beautifies code in the editor session with intelligent indentation, whitespace management, and bracket alignment. Supports HTML, CSS, JavaScript, and PHP with configurable formatting options and language-specific rules.

      Parameters

      • session: EditSession

        The editor session containing the code to format

      Returns void