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