Skip to content

Support TypoScript (TYPO3) Formatting in Prettier #3765

@chrcan

Description

@chrcan

Hello Prettier team,

It would be great if Prettier could support TypoScript files used in TYPO3 projects. Currently, Prettier automatically formats languages like JavaScript, TypeScript, JSON, HTML, and CSS on save, correcting indentation, spacing, and other formatting issues.

Adding TypoScript support would allow TYPO3 developers to:

Automatically fix indentation and spacing errors on save.

Keep TypoScript files consistent across teams and projects.

Improve overall code readability and maintainability.

For reference, there is already an existing TYPO3 extension that formats TypoScript: pluswerk/typoscript-auto-fixer
. It could serve as inspiration or a basis for implementing TypoScript support in Prettier.

Thank you for considering this feature!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions