📣 Help Wanted - Looking for Maintainer: https://github.com/Glavin001/atom-beautify/issues/2572 | 💄 Universal beautification package for Atom editor (⚠️ Currently migrating to https://github.com/Unibeautify/ and have very limited bandwidth for Atom-Beautify Issues. Thank you for your patience and understanding ❤️ )
58a375f8b6
Applied in order of precedence: - Default - User Home .jsbeautifyrc - Closest .jsbeautify to the current file, see #15 |
||
---|---|---|
examples | ||
keymaps | ||
lib | ||
menus | ||
spec | ||
.editorconfig | ||
.gitignore | ||
.jsbeautifyrc | ||
.jshintrc | ||
CHANGELOG.md | ||
LICENSE.md | ||
README.md | ||
package.json |
README.md
atom-beautify
Beautify HTML, CSS and JavaScript in Atom.
Attention: A different package with a similar name exist. Maybe you want to visit this one: Beautifier.
Usage
Open the Command Palette, and type Beautify
.
This will beautify JS, HTML or CSS files.
XML is supported as an experimental feature.
It will only beautify selected text, if a selection is found - if not, the whole file will be beautified.
Shortcut
You can also type ctrl-alt-b
as a shortcut or click Packages > Beautify
in the menu.
Package Options
You can also choose to beautify on every file save.
Configuration
Edit your .jsbeautifyrc
file in any of the following locations:
- Same directory as current file
- Project root
atom-beautify
will recursively look up from the current file's directory to find.jsbeautifyrc
. - Your User's Home directory
You can see examples of both way inside examples/
Contributing
See all contributors on GitHub.
Please update the CHANGELOG.md file and submit a Pull Request on GitHub.