Language Support

Though Æsthetic uses the (language aware) Sparser algorithm, the majority of languages supported by Sparser are not supported in Æsthetic. Sparser’s (and PrettyDiff) underlying parse approach in the adaptation to Æsthetic was heavily modified and the original language support list differs. Æsthetic (currently) aims to support only a small subset of languages, specifically those which pertain to front-end (client side) web development. Global language support is not something that Æsthetic aspires to provide currently as it’s difficult to achieve both from a maintenance perspective but also from the performance level.

Support List

Below is the current list of supported languages, along with their completion status and whether Æsthetic can be used for beautification. For languages with a completion status above 90%, you can confidently run Æsthetic for optimal code formatting. However, for languages below that threshold, they may not be fully ready for prime time. Languages with an above 80% completion status can handle basic structures, but they may encounter some limitations and potential issues in certain cases.

Exercising caution and testing thoroughly is advisable to ensure a smooth beautification process for languages below 90% completions and languages below 80% should be avoided for now.

LanguageStatusInformation
XML92% CompleteSafe enough to use in projects
HTML94% CompleteSafe enough to use in projects
Liquid + HTML92% CompleteSafe enough to use in projects
Liquid + CSS87% CompleteSafe enough to use in projects
Liquid + JSON80% CompleteUse with caution, some structural defects
Liquid + JavaScript79% CompleteUse with caution, some structural defects
JSON88% CompleteSafe enough to use in projects
CSS92% CompleteSafe enough to use in projects
SCSS72% CompleteAvoid using, unexpected results
JavaScript78% CompleteUse with caution, some structural defects𐄂
TypeScript70% CompleteAvoid using, too many defects𐄂
JSX70% CompleteAvoid using, too many defects𐄂
LESS60% CompleteAvoid using, too many defects𐄂
TSX40% CompleteAvoid using, too many defects𐄂
YAML50% CompleteDo not use, not yet supported𐄂

Please keep in mind that Æsthetic is still in its infancy, updates are frequent, patches and fixes are incurred as the tool progresses.