Javascript Beautify
js-beautify for sublime
Details
Installs
- Total 284K
- Win 150K
- Mac 85K
- Linux 48K
Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | 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 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 11 | 8 | 13 | 1 | 5 | 3 | 11 | 9 | 7 | 5 | 4 | 3 | 5 | 10 | 5 | 10 | 7 | 2 | 2 | 9 | 9 | 12 | 9 | 11 | 3 | 4 | 14 | 9 | 2 | 6 | 10 | 7 | 7 | 5 | 9 | 8 | 8 | 7 | 3 | 5 | 13 | 11 | 16 | 10 | 7 |
Mac | 0 | 6 | 4 | 5 | 1 | 1 | 3 | 3 | 10 | 6 | 3 | 0 | 5 | 1 | 4 | 7 | 6 | 4 | 5 | 5 | 6 | 4 | 5 | 3 | 0 | 1 | 1 | 6 | 1 | 3 | 5 | 3 | 2 | 3 | 7 | 5 | 3 | 2 | 7 | 3 | 1 | 4 | 5 | 8 | 3 | 3 |
Linux | 0 | 6 | 2 | 3 | 3 | 2 | 3 | 2 | 1 | 6 | 3 | 0 | 1 | 2 | 3 | 5 | 2 | 2 | 0 | 2 | 2 | 3 | 4 | 4 | 0 | 3 | 2 | 2 | 0 | 2 | 4 | 6 | 1 | 0 | 1 | 1 | 2 | 5 | 3 | 1 | 4 | 2 | 4 | 3 | 6 | 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