<ahref="https://twitter.com/unibeautify"><imgsrc="https://img.shields.io/twitter/url/http/shields.io.svg?style=social"alt="Twitter URL"></a></p><p><strong>Sign up for Unibeautify CI: <ahref="https://goo.gl/jmM4QN">https://goo.gl/jmM4QN</a></strong></p><p><strong>Help improve Atom-Beautify by completing the quick questionnaire: <ahref="https://goo.gl/iEHBNr">https://goo.gl/iEHBNr</a></strong></p><table>
<th>Mac OS <imgsrc="https://cloud.githubusercontent.com/assets/1885333/17059766/2530c9d8-4ffd-11e6-9529-3fa47dbff616.png"width="50px"> and <imgsrc="https://cloud.githubusercontent.com/assets/1885333/17059750/11c4474e-4ffd-11e6-89e1-2486ca5b3234.png"width="100px"></th>
</code></pre><p>Or Settings/Preferences ➔ Install ➔ Search for <code>atom-beautify</code></p><h3id="important-notice-analytics">Important Notice: Analytics</h3><p><ahref="https://github.com/Glavin001/atom-beautify/issues/1179">Atom-Beautify respects the <code>core.telemetryConsent</code> configuration option from Atom editor.</a>
If you do not wish to have usage data sent to Google Analytics then please set <code>core.telemetryConsent</code> to <code>no</code> or <code>undecided</code> option before using Atom-Beautify.
See <ahref="docs/options.md#anonymous-analytics"><code>Anonymous Analytics</code> section of docs</a> for details.
<h3id="next-version-unibeautify-https-github-com-unibeautify-unibeautify-">Next Version: <ahref="https://github.com/Unibeautify/unibeautify">Unibeautify</a></h3><p>Atom-Beautify is going to be completely rewritten with <ahref="https://github.com/Unibeautify/unibeautify">Unibeautify</a> at its core!
See <ahref="../../tree/unibeautify"><code>unibeautify</code> branch</a> for work in progress and <ahref="https://github.com/Glavin001/atom-beautify/issues/1174">Issue #1174</a>.</p><h3id="poll-improving-installation-of-third-party-beautifiers">Poll: Improving installation of third-party beautifiers</h3><p>Many users are experiencing issues when installing third party beautifiers (e.g. Uncrustify, PHP-CS-Fixer, and many more).
A possible solution is a "cloud" service which provides remote access to these beautifiers. Atom-Beautify would then communicate with these services, allowing for zero-installation beautification.</p><p>Please let us know what you think!</p><p><ahref="https://m131jyck4m.execute-api.us-west-2.amazonaws.com/prod/poll/01BY57P9ACSDQASVT7KYZKZESK/Yes%2C%20cloud%20solution%20would%20be%20great!/vote"><imgsrc="https://m131jyck4m.execute-api.us-west-2.amazonaws.com/prod/poll/01BY57P9ACSDQASVT7KYZKZESK/Yes%2C%20cloud%20solution%20would%20be%20great!"alt=""></a>
<ahref="https://m131jyck4m.execute-api.us-west-2.amazonaws.com/prod/poll/01BY57P9ACSDQASVT7KYZKZESK/No%2C%20I%20do%20not%20want%20to%20send%20me%20code%20over%20the%20Internet/vote"><imgsrc="https://m131jyck4m.execute-api.us-west-2.amazonaws.com/prod/poll/01BY57P9ACSDQASVT7KYZKZESK/No%2C%20I%20do%20not%20want%20to%20send%20me%20code%20over%20the%20Internet"alt=""></a></p><h2id="beautifiers">Beautifiers</h2><p>Some of the supported beautifiers are developed for Node.js and are automatically installed when Atom-Beautify is installed. However, other beautifiers are command-line interface (CLI) applications and require you to manually install them.</p><table>
<td>:whale: With <ahref="https://www.docker.com/">Docker</a>:<br/>1. Install <ahref="https://github.com/hhatto/autopep8">autopep8 (<code>autopep8</code>)</a> with <code>docker pull unibeautify/autopep8</code><br/><br/>:bookmark_tabs: Manually:<br/>1. Install <ahref="https://github.com/hhatto/autopep8">autopep8 (<code>autopep8</code>)</a> by following <ahref="https://github.com/hhatto/autopep8#installation">https://github.com/hhatto/autopep8#installation</a><br/>2. Install <ahref="https://github.com/timothycrosley/isort">isort (<code>isort</code>)</a> by following <ahref="https://github.com/timothycrosley/isort#installing-isort">https://github.com/timothycrosley/isort#installing-isort</a><br/></td>
</tr>
<tr>
<td>beautysh</td>
<td>:warning: 1 executable</td>
<td>:white_check_mark: :100:% of executables</td>
<td>:whale: With <ahref="https://www.docker.com/">Docker</a>:<br/>1. Install <ahref="https://github.com/bemeurer/beautysh">beautysh (<code>beautysh</code>)</a> with <code>docker pull unibeautify/beautysh</code><br/><br/>:bookmark_tabs: Manually:<br/>1. Install <ahref="https://github.com/bemeurer/beautysh">beautysh (<code>beautysh</code>)</a> by following <ahref="https://github.com/bemeurer/beautysh#installation">https://github.com/bemeurer/beautysh#installation</a><br/></td>
</tr>
<tr>
<td>brittany</td>
<td>:warning: Manual installation</td>
<td>:construction: Not an executable</td>
<td>:page_facing_up: Go to <ahref="https://github.com/lspitzner/brittany">https://github.com/lspitzner/brittany</a> and follow the instructions.</td>
</tr>
<tr>
<td>clang-format</td>
<td>:warning: 1 executable</td>
<td>:white_check_mark: :100:% of executables</td>
<td>:whale: With <ahref="https://www.docker.com/">Docker</a>:<br/>1. Install <ahref="https://clang.llvm.org/docs/ClangFormat.html">ClangFormat (<code>clang-format</code>)</a> with <code>docker pull unibeautify/clang-format</code><br/><br/>:bookmark_tabs: Manually:<br/>1. Install <ahref="https://clang.llvm.org/docs/ClangFormat.html">ClangFormat (<code>clang-format</code>)</a> by following <ahref="https://clang.llvm.org/docs/ClangFormat.html">https://clang.llvm.org/docs/ClangFormat.html</a><br/></td>
</tr>
<tr>
<td>cljfmt</td>
<td>:white_check_mark:</td>
<td>:ok_hand: Not necessary</td>
<td>:smiley: Nothing!</td>
</tr>
<tr>
<td>Coffee Formatter</td>
<td>:white_check_mark:</td>
<td>:ok_hand: Not necessary</td>
<td>:smiley: Nothing!</td>
</tr>
<tr>
<td>coffee-fmt</td>
<td>:white_check_mark:</td>
<td>:ok_hand: Not necessary</td>
<td>:smiley: Nothing!</td>
</tr>
<tr>
<td>Crystal</td>
<td>:warning: 1 executable</td>
<td>:white_check_mark: :100:% of executables</td>
<td>:whale: With <ahref="https://www.docker.com/">Docker</a>:<br/>1. Install <ahref="http://crystal-lang.org">Crystal (<code>crystal</code>)</a> with <code>docker pull unibeautify/crystal</code><br/><br/>:bookmark_tabs: Manually:<br/>1. Install <ahref="http://crystal-lang.org">Crystal (<code>crystal</code>)</a> by following <ahref="https://crystal-lang.org/docs/installation/">https://crystal-lang.org/docs/installation/</a><br/></td>
</tr>
<tr>
<td>CSScomb</td>
<td>:white_check_mark:</td>
<td>:ok_hand: Not necessary</td>
<td>:smiley: Nothing!</td>
</tr>
<tr>
<td>dfmt</td>
<td>:warning: 1 executable</td>
<td>:x: No Docker support</td>
<td>:bookmark_tabs: Manually:<br/>1. Install <ahref="https://github.com/Hackerpilot/dfmt">Dfmt (<code>dfmt</code>)</a> by following <ahref="https://github.com/dlang-community/dfmt#building">https://github.com/dlang-community/dfmt#building</a><br/></td>
</tr>
<tr>
<td>elm-format</td>
<td>:warning: 1 executable</td>
<td>:white_check_mark: :100:% of executables</td>
<td>:whale: With <ahref="https://www.docker.com/">Docker</a>:<br/>1. Install <ahref="https://github.com/avh4/elm-format">elm-format (<code>elm-format</code>)</a> with <code>docker pull unibeautify/elm-format</code><br/><br/>:bookmark_tabs: Manually:<br/>1. Install <ahref="https://github.com/avh4/elm-format">elm-format (<code>elm-format</code>)</a> by following <ahref="https://github.com/avh4/elm-format#installation-">https://github.com/avh4/elm-format#installation-</a><br/></td>
</tr>
<tr>
<td>Emacs Verilog Mode</td>
<td>:warning: 1 executable</td>
<td>:x: No Docker support</td>
<td>:bookmark_tabs: Manually:<br/>1. Install <ahref="https://www.gnu.org/software/emacs/">Emacs (<code>emacs</code>)</a> by following <ahref="https://www.gnu.org/software/emacs/">https://www.gnu.org/software/emacs/</a><br/></td>
</tr>
<tr>
<td>erl_tidy</td>
<td>:warning: Manual installation</td>
<td>:construction: Not an executable</td>
<td>:page_facing_up: Go to <ahref="http://erlang.org/doc/man/erl_tidy.html">http://erlang.org/doc/man/erl_tidy.html</a> and follow the instructions.</td>
</tr>
<tr>
<td>ESLint Fixer</td>
<td>:white_check_mark:</td>
<td>:ok_hand: Not necessary</td>
<td>:smiley: Nothing!</td>
</tr>
<tr>
<td>formatR</td>
<td>:warning: 1 executable</td>
<td>:white_check_mark: :100:% of executables</td>
<td>:whale: With <ahref="https://www.docker.com/">Docker</a>:<br/>1. Install <ahref="https://github.com/yihui/formatR">Rscript (<code>rscript</code>)</a> with <code>docker pull unibeautify/rscript</code><br/><br/>:bookmark_tabs: Manually:<br/>1. Install <ahref="https://github.com/yihui/formatR">Rscript (<code>rscript</code>)</a> by following <ahref="https://github.com/yihui/formatR">https://github.com/yihui/formatR</a><br/></td>
</tr>
<tr>
<td>Fortran Beautifier</td>
<td>:warning: 1 executable</td>
<td>:x: No Docker support</td>
<td>:bookmark_tabs: Manually:<br/>1. Install <ahref="https://www.gnu.org/software/emacs/">Emacs (<code>emacs</code>)</a> by following <ahref="https://www.gnu.org/software/emacs/">https://www.gnu.org/software/emacs/</a><br/></td>
</tr>
<tr>
<td>Gherkin formatter</td>
<td>:white_check_mark:</td>
<td>:ok_hand: Not necessary</td>
<td>:smiley: Nothing!</td>
</tr>
<tr>
<td>GN</td>
<td>:warning: 1 executable</td>
<td>:x: No Docker support</td>
<td>:bookmark_tabs: Manually:<br/>1. Install <ahref="https://chromium.googlesource.com/chromium/src/tools/gn">gn (<code>gn</code>)</a> by following <ahref="https://www.chromium.org/developers/how-tos/get-the-code">https://www.chromium.org/developers/how-tos/get-the-code</a><br/></td>
</tr>
<tr>
<td>gofmt</td>
<td>:warning: Manual installation</td>
<td>:construction: Not an executable</td>
<td>:page_facing_up: Go to <ahref="https://golang.org/cmd/gofmt/">https://golang.org/cmd/gofmt/</a> and follow the instructions.</td>
</tr>
<tr>
<td>goimports</td>
<td>:warning: 1 executable</td>
<td>:white_check_mark: :100:% of executables</td>
<td>:whale: With <ahref="https://www.docker.com/">Docker</a>:<br/>1. Install <ahref="https://godoc.org/golang.org/x/tools/cmd/goimports">goimports (<code>goimports</code>)</a> with <code>docker pull unibeautify/goimports</code><br/><br/>:bookmark_tabs: Manually:<br/>1. Install <ahref="https://godoc.org/golang.org/x/tools/cmd/goimports">goimports (<code>goimports</code>)</a> by following <ahref="https://godoc.org/golang.org/x/tools/cmd/goimports">https://godoc.org/golang.org/x/tools/cmd/goimports</a><br/></td>
</tr>
<tr>
<td>hh_format</td>
<td>:warning: Manual installation</td>
<td>:construction: Not an executable</td>
<td>:page_facing_up: Go to <ahref="http://hhvm.com/">http://hhvm.com/</a> and follow the instructions.</td>
</tr>
<tr>
<td>hindent</td>
<td>:warning: Manual installation</td>
<td>:construction: Not an executable</td>
<td>:page_facing_up: Go to <ahref="https://github.com/commercialhaskell/hindent">https://github.com/commercialhaskell/hindent</a> and follow the instructions.</td>
</tr>
<tr>
<td>HTML Beautifier</td>
<td>:warning: Manual installation</td>
<td>:construction: Not an executable</td>
<td>:page_facing_up: Go to <ahref="https://github.com/threedaymonk/htmlbeautifier">https://github.com/threedaymonk/htmlbeautifier</a> and follow the instructions.</td>
</tr>
<tr>
<td>JS Beautify</td>
<td>:white_check_mark:</td>
<td>:ok_hand: Not necessary</td>
<td>:smiley: Nothing!</td>
</tr>
<tr>
<td>JSCS Fixer</td>
<td>:white_check_mark:</td>
<td>:ok_hand: Not necessary</td>
<td>:smiley: Nothing!</td>
</tr>
<tr>
<td>Latex Beautify</td>
<td>:warning: Manual installation</td>
<td>:construction: Not an executable</td>
<td>:page_facing_up: Go to <ahref="https://github.com/cmhughes/latexindent.pl">https://github.com/cmhughes/latexindent.pl</a> and follow the instructions.</td>
</tr>
<tr>
<td>Lua beautifier</td>
<td>:white_check_mark:</td>
<td>:ok_hand: Not necessary</td>
<td>:smiley: Nothing!</td>
</tr>
<tr>
<td>Marko Beautifier</td>
<td>:white_check_mark:</td>
<td>:ok_hand: Not necessary</td>
<td>:smiley: Nothing!</td>
</tr>
<tr>
<td>Nginx Beautify</td>
<td>:white_check_mark:</td>
<td>:ok_hand: Not necessary</td>
<td>:smiley: Nothing!</td>
</tr>
<tr>
<td>ocp-indent</td>
<td>:warning: 1 executable</td>
<td>:white_check_mark: :100:% of executables</td>
<td>:whale: With <ahref="https://www.docker.com/">Docker</a>:<br/>1. Install <ahref="https://www.typerex.org/ocp-indent.html">ocp-indent (<code>ocp-indent</code>)</a> with <code>docker pull unibeautify/ocp-indent</code><br/><br/>:bookmark_tabs: Manually:<br/>1. Install <ahref="https://www.typerex.org/ocp-indent.html">ocp-indent (<code>ocp-indent</code>)</a> by following <ahref="https://www.typerex.org/ocp-indent.html#installation">https://www.typerex.org/ocp-indent.html#installation</a><br/></td>
</tr>
<tr>
<td>Perltidy</td>
<td>:warning: Manual installation</td>
<td>:construction: Not an executable</td>
<td>:page_facing_up: Go to <ahref="http://perltidy.sourceforge.net/">http://perltidy.sourceforge.net/</a> and follow the instructions.</td>
</tr>
<tr>
<td>PHP-CS-Fixer</td>
<td>:warning: 2 executables</td>
<td>:warning: Only 1 of 2 executables</td>
<td>:whale: With <ahref="https://www.docker.com/">Docker</a>:<br/>1. Install <ahref="https://github.com/FriendsOfPHP/PHP-CS-Fixer">PHP-CS-Fixer (<code>php-cs-fixer</code>)</a> with <code>docker pull unibeautify/php-cs-fixer</code><br/><br/>:bookmark_tabs: Manually:<br/>1. Install <ahref="http://php.net/">PHP (<code>php</code>)</a> by following <ahref="http://php.net/manual/en/install.php">http://php.net/manual/en/install.php</a><br/>2. Install <ahref="https://github.com/FriendsOfPHP/PHP-CS-Fixer">PHP-CS-Fixer (<code>php-cs-fixer</code>)</a> by following <ahref="https://github.com/FriendsOfPHP/PHP-CS-Fixer#installation">https://github.com/FriendsOfPHP/PHP-CS-Fixer#installation</a><br/></td>
</tr>
<tr>
<td>PHPCBF</td>
<td>:warning: 2 executables</td>
<td>:warning: Only 1 of 2 executables</td>
<td>:whale: With <ahref="https://www.docker.com/">Docker</a>:<br/>1. Install <ahref="https://github.com/squizlabs/PHP_CodeSniffer">PHPCBF (<code>phpcbf</code>)</a> with <code>docker pull unibeautify/phpcbf</code><br/><br/>:bookmark_tabs: Manually:<br/>1. Install <ahref="http://php.net/">PHP (<code>php</code>)</a> by following <ahref="http://php.net/manual/en/install.php">http://php.net/manual/en/install.php</a><br/>2. Install <ahref="https://github.com/squizlabs/PHP_CodeSniffer">PHPCBF (<code>phpcbf</code>)</a> by following <ahref="https://github.com/squizlabs/PHP_CodeSniffer#installation">https://github.com/squizlabs/PHP_CodeSniffer#installation</a><br/></td>
</tr>
<tr>
<td>Prettier</td>
<td>:white_check_mark:</td>
<td>:ok_hand: Not necessary</td>
<td>:smiley: Nothing!</td>
</tr>
<tr>
<td>Pretty Diff</td>
<td>:white_check_mark:</td>
<td>:ok_hand: Not necessary</td>
<td>:smiley: Nothing!</td>
</tr>
<tr>
<td>Pug Beautify</td>
<td>:white_check_mark:</td>
<td>:ok_hand: Not necessary</td>
<td>:smiley: Nothing!</td>
</tr>
<tr>
<td>puppet-lint</td>
<td>:warning: 1 executable</td>
<td>:white_check_mark: :100:% of executables</td>
<td>:whale: With <ahref="https://www.docker.com/">Docker</a>:<br/>1. Install <ahref="http://puppet-lint.com/">puppet-lint (<code>puppet-lint</code>)</a> with <code>docker pull unibeautify/puppet-lint</code><br/><br/>:bookmark_tabs: Manually:<br/>1. Install <ahref="http://puppet-lint.com/">puppet-lint (<code>puppet-lint</code>)</a> by following <ahref="http://puppet-lint.com/">http://puppet-lint.com/</a><br/></td>
</tr>
<tr>
<td>pybeautifier</td>
<td>:warning: Manual installation</td>
<td>:construction: Not an executable</td>
<td>:page_facing_up: Go to <ahref="https://github.com/guyskk/pybeautifier">https://github.com/guyskk/pybeautifier</a> and follow the instructions.</td>
</tr>
<tr>
<td>Remark</td>
<td>:white_check_mark:</td>
<td>:ok_hand: Not necessary</td>
<td>:smiley: Nothing!</td>
</tr>
<tr>
<td>Rubocop</td>
<td>:warning: Manual installation</td>
<td>:construction: Not an executable</td>
<td>:page_facing_up: Go to <ahref="https://github.com/bbatsov/rubocop">https://github.com/bbatsov/rubocop</a> and follow the instructions.</td>
</tr>
<tr>
<td>Ruby Beautify</td>
<td>:warning: Manual installation</td>
<td>:construction: Not an executable</td>
<td>:page_facing_up: Go to <ahref="https://github.com/erniebrodeur/ruby-beautify">https://github.com/erniebrodeur/ruby-beautify</a> and follow the instructions.</td>
</tr>
<tr>
<td>rustfmt</td>
<td>:warning: Manual installation</td>
<td>:construction: Not an executable</td>
<td>:page_facing_up: Go to <ahref="https://github.com/rust-lang-nursery/rustfmt">https://github.com/rust-lang-nursery/rustfmt</a> and follow the instructions.</td>
</tr>
<tr>
<td>SassConvert</td>
<td>:warning: 1 executable</td>
<td>:white_check_mark: :100:% of executables</td>
<td>:whale: With <ahref="https://www.docker.com/">Docker</a>:<br/>1. Install <ahref="http://sass-lang.com/documentation/file.SASS_REFERENCE.html#syntax">SassConvert (<code>sass-convert</code>)</a> with <code>docker pull unibeautify/sass-convert</code><br/><br/>:bookmark_tabs: Manually:<br/>1. Install <ahref="http://sass-lang.com/documentation/file.SASS_REFERENCE.html#syntax">SassConvert (<code>sass-convert</code>)</a> by following <ahref="http://sass-lang.com/documentation/file.SASS_REFERENCE.html#syntax">http://sass-lang.com/documentation/file.SASS_REFERENCE.html#syntax</a><br/></td>
</tr>
<tr>
<td>sqlformat</td>
<td>:warning: Manual installation</td>
<td>:construction: Not an executable</td>
<td>:page_facing_up: Go to <ahref="https://github.com/andialbrecht/sqlparse">https://github.com/andialbrecht/sqlparse</a> and follow the instructions.</td>
</tr>
<tr>
<td>stylish-haskell</td>
<td>:warning: Manual installation</td>
<td>:construction: Not an executable</td>
<td>:page_facing_up: Go to <ahref="https://github.com/jaspervdj/stylish-haskell">https://github.com/jaspervdj/stylish-haskell</a> and follow the instructions.</td>
</tr>
<tr>
<td>terraformfmt</td>
<td>:warning: 1 executable</td>
<td>:white_check_mark: :100:% of executables</td>
<td>:whale: With <ahref="https://www.docker.com/">Docker</a>:<br/>1. Install <ahref="https://www.terraform.io">Terraform (<code>terraform</code>)</a> with <code>docker pull hashicorp/terraform</code><br/><br/>:bookmark_tabs: Manually:<br/>1. Install <ahref="https://www.terraform.io">Terraform (<code>terraform</code>)</a> by following <ahref="https://www.terraform.io">https://www.terraform.io</a><br/></td>
</tr>
<tr>
<td>Tidy Markdown</td>
<td>:white_check_mark:</td>
<td>:ok_hand: Not necessary</td>
<td>:smiley: Nothing!</td>
</tr>
<tr>
<td>TypeScript Formatter</td>
<td>:white_check_mark:</td>
<td>:ok_hand: Not necessary</td>
<td>:smiley: Nothing!</td>
</tr>
<tr>
<td>Uncrustify</td>
<td>:warning: 1 executable</td>
<td>:white_check_mark: :100:% of executables</td>
<td>:whale: With <ahref="https://www.docker.com/">Docker</a>:<br/>1. Install <ahref="http://uncrustify.sourceforge.net/">Uncrustify (<code>uncrustify</code>)</a> with <code>docker pull unibeautify/uncrustify</code><br/><br/>:bookmark_tabs: Manually:<br/>1. Install <ahref="http://uncrustify.sourceforge.net/">Uncrustify (<code>uncrustify</code>)</a> by following <ahref="https://github.com/uncrustify/uncrustify">https://github.com/uncrustify/uncrustify</a><br/></td>
</tr>
<tr>
<td>VHDL Beautifier</td>
<td>:warning: 1 executable</td>
<td>:x: No Docker support</td>
<td>:bookmark_tabs: Manually:<br/>1. Install <ahref="https://www.gnu.org/software/emacs/">Emacs (<code>emacs</code>)</a> by following <ahref="https://www.gnu.org/software/emacs/">https://www.gnu.org/software/emacs/</a><br/></td>
</tr>
<tr>
<td>Vue Beautifier</td>
<td>:white_check_mark:</td>
<td>:ok_hand: Not necessary</td>
<td>:smiley: Nothing!</td>
</tr>
<tr>
<td>yapf</td>
<td>:warning: Manual installation</td>
<td>:construction: Not an executable</td>
<td>:page_facing_up: Go to <ahref="https://github.com/google/yapf">https://github.com/google/yapf</a> and follow the instructions.</td>
</tr>
</tbody>
</table>
<h2id="language-support">Language Support</h2><p>See <ahref="docs/options.md.html">all supported options in the documentation at <code>docs/options.md</code></a>.</p><table>
<h3id="command-palette">Command Palette</h3><p>Open the <ahref="https://github.com/atom/command-palette">Command Palette</a>, type <code>Beautify</code>, and run <code>Beautify Editor</code>.</p><p><imgsrc="https://cloud.githubusercontent.com/assets/1885333/16542583/1c8d975c-4085-11e6-8307-e35df7430a10.png"alt="image"></p><h4id="beautify-a-specific-language">Beautify a Specific Language</h4><p>You can use the <ahref="https://github.com/atom/command-palette">Command Palette</a> to beautify the editor for a specific language.
The commands are in the form <code>Atom Beautify: Beautify Language {NAME}</code> (i.e. <code>atom-beautify:beautify-language-{NAME}</code> for keyboard shortcuts).
For example, you may want to beautify <code>JavaScript</code> code within a <code>HTML</code> file.</p><p><imgsrc="https://cloud.githubusercontent.com/assets/1885333/25775586/f3fc7ec4-327e-11e7-8576-45e735e80032.gif"alt="atom-beautify-language-commands"></p><h3id="selection-of-code">Selection of Code</h3><p>It will only beautify selected text if a selection is found -- if not, the whole file will be beautified.</p><table>
<h3id="beautify-on-save">Beautify On Save</h3><p><code>Beautify On Save</code> can be enabled for each language individually.</p><p>For example, for language <code>HTML</code> go into Atom-Beautify's package settings (<code>Atom</code> ➔ <code>Preferences</code> ➔ Search for <code>atom-beautify</code>), find <code>HTML</code>, and toggle the <code>Beautify On Save</code> option.</p><p><imgsrc="https://cloud.githubusercontent.com/assets/1885333/16542692/3e781e74-4089-11e6-9cf2-5a19af161093.gif"alt="atom-beautify-setup-beautify-on-save"></p><h3id="keyboard-shortcut">Keyboard Shortcut</h3><p>You can also type <kbd>Ctrl</kbd>-<kbd>Alt</kbd>-<kbd>B</kbd> as a shortcut or click <code>Packages > Beautify</code> in the menu.</p><h4id="custom-keyboard-shortcuts">Custom Keyboard Shortcuts</h4><p>See <ahref="https://atom.io/docs/latest/behind-atom-keymaps-in-depth">Keymaps In-Depth</a> for more details.</p><p>For example:</p><pre><codeclass="lang-coffeescript">'.editor':
</ul><p><strong>Note</strong>: <em>Comments are supported in <code>.jsbeautifyrc</code> thanks to <ahref="https://github.com/sindresorhus/strip-json-comments">strip-json-comments</a>.</em></p><p>See examples of both ways inside <ahref="examples"><code>examples/</code></a></p><p>See <ahref="docs/options.md.html">all supported options in the documentation at <code>docs/options.md</code></a>.</p><h3id="simple">Simple</h3><p>See <ahref="examples/simple-jsbeautifyrc/.jsbeautifyrc">examples/simple-jsbeautifyrc/.jsbeautifyrc</a>.</p><pre><codeclass="lang-json">{
<h2id="troubleshooting">Troubleshooting</h2><p>See <ahref="docs/troubleshooting.md"><code>docs/troubleshooting.md</code></a>.</p><h2id="contributing">Contributing</h2><p>See <ahref="CONTRIBUTING.md"><code>CONTRIBUTING.md</code></a>.</p><p><ahref="../../graphs/contributors">See all contributors on GitHub</a>.</p><p>Please update the <ahref="CHANGELOG.md.html">CHANGELOG.md</a>,
add yourself as a contributor to the <ahref="package.json">package.json</a>,