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

Javascript Beautify

by enginespot ST2/ST3 Top 100

js-beautify for sublime

Details

  • 2017.01.07.07.07.44
  • github.​com
  • github.​com
  • 3 months ago
  • 7 minutes ago
  • 4 years ago

Installs

  • Total 148K
  • Win 72K
  • OS X 50K
  • Linux 25K
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 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9
Windows 6 53 88 102 81 96 98 44 55 94 88 119 82 73 37 67 94 105 93 102 87 40 44 89 112 98 77 86 44 39 75 83 104 71 93 46 53 81 105 79 102 83 38 49 77 98
OS X 1 23 44 57 50 60 61 19 40 46 53 47 48 54 27 27 50 62 54 60 41 21 26 44 46 53 47 43 19 21 49 45 53 72 35 31 24 54 68 67 38 43 22 18 50 54
Linux 0 16 20 32 33 34 34 10 16 22 44 28 26 28 18 14 20 32 28 28 31 13 17 35 28 29 22 27 11 21 34 20 36 36 30 16 21 24 34 29 22 36 13 11 17 24

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