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

Installs

  • Total 207K
  • Win 106K
  • OS X 67K
  • Linux 35K
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 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3
Windows 21 61 64 73 79 63 35 41 61 75 63 58 40 32 38 37 61 69 65 52 23 30 68 65 61 75 69 41 40 58 66 58 70 69 33 49 68 60 60 61 50 38 30 61 75 64
OS X 8 25 34 27 22 31 11 16 20 25 33 32 20 15 17 19 27 21 33 19 9 14 29 27 25 24 29 8 10 32 25 31 30 23 23 14 23 26 28 32 52 18 16 29 42 34
Linux 7 24 19 18 17 14 11 11 13 9 11 14 21 13 10 15 11 24 25 19 6 20 14 20 15 16 20 10 12 18 16 18 21 20 14 11 11 15 19 17 16 9 15 20 28 14

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