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

Javascript Beautify

by enginespot ST2/ST3 Top 100

js-beautify for sublime

Details

  • 2017.04.18.09.14.05
  • github.​com
  • github.​com
  • 2 years ago
  • 2 hours ago
  • 6 years ago

Installs

  • Total 222K
  • Win 114K
  • OS X 70K
  • Linux 38K
Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 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
Windows 33 44 24 20 39 51 55 48 32 23 21 41 55 54 42 57 28 25 39 43 46 51 38 21 33 32 45 52 36 34 22 24 40 62 52 51 46 29 31 56 53 56 53 47 31 34
OS X 18 21 9 9 16 22 17 11 21 10 5 13 19 26 21 26 10 4 21 16 20 13 12 8 13 10 12 20 15 9 10 9 21 28 27 23 12 12 7 18 14 31 25 23 11 9
Linux 10 14 8 9 21 15 16 13 8 7 8 12 15 16 18 13 8 7 13 14 14 17 12 7 6 19 16 16 15 14 8 9 15 17 16 22 12 12 5 14 14 14 17 12 9 8

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