Supported Languages
Click on an language or beautifier title below for more information including configuration and examples.
| # | Language | Beautifiers | Options | File Patterns |
|---|---|---|---|---|
| 1 | C | ClangFormat | 0 | **/*.c, **/*.cats, **/*.cl, **/*.h, **/*.idc |
| 2 | C# | Pretty Diff | 9 | **/*.cake, **/*.cs, **/*.cshtml, **/*.csx |
| 3 | C++ | ClangFormat | 0 | **/*.C, **/*.c++, **/*.cc, **/*.cp, **/*.cpp, **/*.cxx, **/*.h, **/*.h++, **/*.hh, **/*.hpp, **/*.hxx, **/*.inc, **/*.inl, **/*.ino, **/*.ipp, **/*.re, **/*.tcc, **/*.tpp |
| 4 | CSS | CSScomb, JS-Beautify, Prettier, Pretty Diff, stylelint | 13 | **/*.css |
| 5 | ColdFusion | Pretty Diff | 7 | **/*.cfc, **/*.cfm, **/*.cfml |
| 6 | EJS | JS-Beautify, Pretty Diff | 22 | **/*.ejs |
| 7 | Go | Gofmt | 0 | **/*.go |
| 8 | GraphQL | Prettier | 5 | **/*.gql, **/*.graphql |
| 9 | HTML | JS-Beautify, Pretty Diff | 16 | **/*.htm, **/*.html, **/*.html.hl, **/*.inc, **/*.st, **/*.xht, **/*.xhtml |
| 10 | HTML+ERB | Pretty Diff | 7 | **/*.erb, **/*.erb.deface |
| 11 | Handlebars | JS-Beautify, Pretty Diff | 16 | **/*.handlebars, **/*.hbs |
| 12 | Haskell | Brittany | 0 | **/*.hs, **/*.hsc |
| 13 | JSON | JS-Beautify, Prettier, Pretty Diff | 4 | **/.arcconfig, **/.htmlhintrc, **/.jscsrc, **/.jshintrc, **/.tern-config, **/.tern-project, **/composer.lock, **/mcmod.info, **/*.JSON-tmLanguage, **/*.avsc, **/*.geojson, **/*.gltf, **/*.json, **/*.jsonl, **/*.tfstate, **/*.tfstate.backup, **/*.topojson, **/*.webapp, **/*.webmanifest |
| 14 | JSON5 | JS-Beautify, Prettier, Pretty Diff | 5 | **/.babelrc, **/.jslintrc, **/*.json5 |
| 15 | JSX | ESLint, JS-Beautify, Prettier, Pretty Diff | 29 | **/*.js, **/*.jsx |
| 16 | Java | ClangFormat, Pretty Diff | 9 | **/*.java |
| 17 | JavaScript | ESLint, JS-Beautify, Prettier, Pretty Diff | 29 | **/Jakefile, **/*._js, **/*.bones, **/*.es, **/*.es6, **/*.frag, **/*.gs, **/*.jake, **/*.js, **/*.jsb, **/*.jscad, **/*.jsfl, **/*.jsm, **/*.jss, **/*.mjs, **/*.njs, **/*.pac, **/*.sjs, **/*.ssjs, **/*.xsjs, **/*.xsjslib |
| 18 | Less | Prettier, Pretty Diff, stylelint | 11 | **/*.less |
| 19 | Liquid | JS-Beautify | 13 | **/*.liquid |
| 20 | Markdown | Prettier | 4 | **/*.markdown, **/*.md, **/*.mdown, **/*.mdwn, **/*.mkd, **/*.mkdn, **/*.mkdown, **/*.ron, **/*.workbook |
| 21 | Mustache | JS-Beautify | 13 | **/*.mustache |
| 22 | Objective-C | ClangFormat | 0 | **/*.h, **/*.m, **/*.mm |
| 23 | PHP | PHP-CS-Fixer, PHP_CodeSniffer | 0 | **/.php_cs, **/.php_cs.dist, **/Phakefile, **/*.aw, **/*.ctp, **/*.fcgi, **/*.inc, **/*.module, **/*.php, **/*.php3, **/*.php4, **/*.php5, **/*.phps, **/*.phpt |
| 24 | Python | Black, YAPF | 3 | **/.gclient, **/BUCK, **/BUILD, **/BUILD.bazel, **/SConscript, **/SConstruct, **/Snakefile, **/WORKSPACE, **/wscript, **/*.bzl, **/*.cgi, **/*.fcgi, **/*.gyp, **/*.gypi, **/*.lmi, **/*.py, **/*.py3, **/*.pyde, **/*.pyi, **/*.pyp, **/*.pyt, **/*.pyw, **/*.rpy, **/*.spec, **/*.tac, **/*.wsgi, **/*.xpy |
| 25 | Riot | Pretty Diff | 11 | **/*.tag |
| 26 | SCSS | CSScomb, Prettier, Pretty Diff, stylelint | 11 | **/*.scss |
| 27 | SQL | sqlformat | 3 | **/*.cql, **/*.ddl, **/*.inc, **/*.mysql, **/*.prc, **/*.sql, **/*.tab, **/*.udf, **/*.viw |
| 28 | SVG | Pretty Diff | 7 | **/*.svg |
| 29 | Sass | CSScomb, stylelint | 6 | **/*.sass |
| 30 | Spacebars | Pretty Diff | 7 | |
| 31 | SugarSS | stylelint | 6 | **/*.sss |
| 32 | Swig | Pretty Diff | 11 | **/*.swig |
| 33 | Titanium Style Sheets | Pretty Diff | 7 | **/*.tss |
| 34 | Twig | Pretty Diff | 11 | **/*.twig |
| 35 | TypeScript | Prettier, Pretty Diff, TSLint | 17 | **/*.ts, **/*.tsx |
| 36 | Visualforce | Pretty Diff | 7 | **/*.page |
| 37 | Vue | Prettier | 4 | **/*.vue |
| 38 | XML | JS-Beautify, Pretty Diff | 16 | **/.classpath, **/.project, **/App.config, **/NuGet.config, **/Settings.StyleCop, **/Web.Debug.config, **/Web.Release.config, **/Web.config, **/packages.config, **/*.adml, **/*.admx, **/*.ant, **/*.axml, **/*.builds, **/*.ccproj, **/*.ccxml, **/*.clixml, **/*.cproject, **/*.cscfg, **/*.csdef, **/*.csl, **/*.csproj, **/*.ct, **/*.depproj, **/*.dita, **/*.ditamap, **/*.ditaval, **/*.dll.config, **/*.dotsettings, **/*.filters, **/*.fsproj, **/*.fxml, **/*.glade, **/*.gml, **/*.grxml, **/*.gsp, **/*.iml, **/*.ivy, **/*.jelly, **/*.jsp, **/*.jsproj, **/*.kml, **/*.launch, **/*.mdpolicy, **/*.mjml, **/*.mm, **/*.mod, **/*.mxml, **/*.natvis, **/*.ndproj, **/*.nproj, **/*.nuspec, **/*.odd, **/*.osm, **/*.pkgproj, **/*.plist, **/*.pluginspec, **/*.proj, **/*.props, **/*.ps1xml, **/*.psc1, **/*.pt, **/*.rdf, **/*.resx, **/*.rss, **/*.sch, **/*.scxml, **/*.sfproj, **/*.shproj, **/*.sld, **/*.srdf, **/*.stTheme, **/*.storyboard, **/*.sublime-snippet, **/*.targets, **/*.tmCommand, **/*.tmLanguage, **/*.tmPreferences, **/*.tmSnippet, **/*.tmTheme, **/*.tml, **/*.ts, **/*.tsx, **/*.ui, **/*.urdf, **/*.ux, **/*.vbproj, **/*.vcxproj, **/*.vsixmanifest, **/*.vssettings, **/*.vstemplate, **/*.vxml, **/*.wixproj, **/*.wsdl, **/*.wsf, **/*.wxi, **/*.wxl, **/*.wxs, **/*.x3d, **/*.xacro, **/*.xaml, **/*.xhtml, **/*.xib, **/*.xlf, **/*.xliff, **/*.xmi, **/*.xml, **/*.xml.dist, **/*.xproj, **/*.xsd, **/*.xsl, **/*.xspec, **/*.xul, **/*.zcml |
| 39 | XTemplate | Pretty Diff | 7 | **/*.xtemplate |