Javascript Beautify
js-beautify for sublime
Details
Installs
- Total 287K
- Win 152K
- Mac 86K
- Linux 49K
Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | Aug 30 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 2 | 5 | 1 | 4 | 3 | 7 | 5 | 4 | 4 | 2 | 2 | 0 | 3 | 5 | 7 | 5 | 2 | 2 | 3 | 5 | 6 | 3 | 3 | 4 | 2 | 3 | 7 | 7 | 10 | 7 | 4 | 3 | 4 | 6 | 5 | 7 | 3 | 1 | 5 | 5 | 8 | 6 | 3 | 4 | 3 | 2 |
Mac | 0 | 2 | 1 | 1 | 2 | 2 | 1 | 4 | 3 | 2 | 0 | 2 | 6 | 5 | 3 | 4 | 1 | 2 | 5 | 6 | 1 | 4 | 5 | 3 | 2 | 2 | 4 | 4 | 3 | 1 | 0 | 2 | 4 | 4 | 1 | 2 | 0 | 0 | 1 | 2 | 3 | 2 | 3 | 2 | 1 | 0 |
Linux | 0 | 2 | 1 | 0 | 2 | 3 | 2 | 2 | 0 | 2 | 2 | 0 | 0 | 3 | 0 | 0 | 2 | 0 | 0 | 3 | 2 | 1 | 1 | 5 | 1 | 2 | 3 | 2 | 1 | 2 | 2 | 1 | 3 | 0 | 0 | 2 | 2 | 0 | 0 | 3 | 1 | 1 | 2 | 0 | 1 | 1 |
Readme
- Source
- raw.githubusercontent.com
Project Deprecated
Project Deprecated , since that I am busy with another project and most of the time I use atom, the project deprecated , andbody who use js beautify can use https://github.com/jdc0589/JsFormat
Thanks.
JS Beautify Wrapper for Sublime Text
Installation
1.Just 'Javascript Beautify' from Sublime's package manager.
Comment
1.current support embed js within jade file
Settings
JS Beautify sublime default settings (the same as js-beautify settings),only add // jsbeautify options “format_on_save”: true
{
"indent_size": 4,
"indent_char": " ",
"indent_level": 0,
"indent_with_tabs": false,
"preserve_newlines": true,
"max_preserve_newlines": 10,
"jslint_happy": false,
"brace_style": "collapse",
"keep_array_indentation": false,
"keep_function_indentation": false,
"space_before_conditional": true,
"break_chained_methods": false,
"eval_code": false,
"unescape_strings": false,
"wrap_line_length": 0,
// jsbeautify options
"format_on_save": true
}
License
You are free to use this in any way you want, in case you find this useful or working for you but you must keep the copyright notice and license. (MIT)
Credits
- Written by Edwin Liu, enginespot@gmail.com
- Get Idea from JsFormat Library by Davis Clark