js-beautify for sublime
Switch branches/tags
Nothing to show
Clone or download
Pull request Compare This branch is 11 commits behind enginespot:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
libs
.gitignore
Context.sublime-menu
Default (Linux).sublime-keymap
Default (OSX).sublime-keymap
Default (Windows).sublime-keymap
JavascriptBeautify.sublime-commands
JavascriptBeautify.sublime-settings
Main.sublime-menu
README.md
jsbeautify.py
package-metadata.json
packages.json

README.md

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