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
  • 3 years ago
  • 1 hour ago
  • 6 years ago

Installs

  • Total 232K
  • Win 120K
  • OS X 72K
  • Linux 39K
Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21
Windows 43 55 39 39 28 38 29 40 38 43 38 18 29 44 35 39 40 48 18 27 36 48 53 48 42 22 22 41 43 47 40 26 26 51 44 57 64 43 46 19 21 53 50 45 55 40
OS X 17 15 18 20 6 8 9 12 19 24 15 9 12 20 16 18 13 14 13 6 10 29 27 16 18 5 12 16 15 19 18 21 14 12 15 20 20 19 16 8 10 9 12 19 24 23
Linux 12 9 11 17 5 4 10 15 13 13 16 10 7 14 17 9 20 15 5 9 15 18 17 16 14 7 9 14 12 16 23 15 11 14 14 14 16 12 11 6 4 13 10 15 13 16

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