ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Javascript Beautify

by enginespot ALL Top 100

js-beautify for sublime

Details

  • 2017.04.18.09.14.05
  • github.​com
  • github.​com
  • 3 years ago
  • 3 hours ago
  • 7 years ago

Installs

  • Total 234K
  • Win 122K
  • Mac 73K
  • Linux 40K
Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23 Dec 22 Dec 21 Dec 20 Dec 19 Dec 18 Dec 17 Dec 16 Dec 15 Dec 14 Dec 13 Dec 12
Windows 7 26 39 43 26 39 30 24 20 36 42 50 39 46 28 25 38 44 41 34 39 24 16 33 36 20 31 32 21 24 34 33 32 25 38 15 23 39 36 42 29 39 15 29 42 48
Mac 2 4 20 20 9 12 19 11 3 10 20 13 22 19 8 12 19 19 18 19 11 5 12 20 11 5 11 18 6 5 9 9 13 15 11 4 5 15 19 25 16 9 7 10 19 15
Linux 1 9 9 13 12 10 7 14 14 11 17 11 15 22 7 10 14 12 18 8 11 5 5 8 10 4 10 9 4 9 9 9 11 7 7 4 6 7 12 9 14 15 10 5 8 12

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