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
  • 8 years ago
  • 2 days ago
  • 12 years ago

Installs

  • Total 285K
  • Win 151K
  • Mac 86K
  • Linux 49K
Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14
Windows 4 6 3 11 9 7 6 5 5 7 7 4 7 10 4 4 7 4 11 8 4 7 1 2 7 4 10 4 7 5 3 13 8 10 12 6 4 2 12 11 9 4 8 5 19 2
Mac 3 1 0 4 4 6 2 2 1 0 3 1 5 5 5 1 3 5 4 5 2 5 1 0 7 2 8 2 5 3 3 1 7 6 7 8 0 1 4 3 4 6 2 1 3 2
Linux 2 0 1 2 1 5 1 1 1 1 2 1 1 2 26 2 2 2 3 0 2 3 1 2 2 5 4 3 3 6 5 4 1 3 5 0 1 2 2 5 2 0 0 3 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