Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/enginespot/js-beautify-sublime
js-beautify for sublime
https://github.com/enginespot/js-beautify-sublime
Last synced: 7 days ago
JSON representation
js-beautify for sublime
- Host: GitHub
- URL: https://github.com/enginespot/js-beautify-sublime
- Owner: enginespot
- Created: 2013-06-10T14:12:08.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2017-04-18T09:14:06.000Z (over 7 years ago)
- Last Synced: 2024-08-02T16:48:59.909Z (3 months ago)
- Language: Python
- Size: 661 KB
- Stars: 101
- Watchers: 5
- Forks: 30
- Open Issues: 23
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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/JsFormatThanks.
# 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```json
{
"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
* Written by Edwin Liu,
* Get Idea from JsFormat Library by Davis Clark