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