Beautify JavaScript, CSS, and HTML via JS Beautifier's CLI scripts
This package is available under js-beautifier
inside of Package Control, a Sublime Text plugin that allows for easy management of other plugins.
If you prefer the manual route, you can install the script via the following command in the Sublime Text terminal (ctrl+`
) which utilizes git clone
.
import os; path=sublime.packages_path(); (os.makedirs(path) if not os.path.exists(path) else None); window.run_command('exec', {'cmd': ['git', 'clone', 'https://github.com/twolfson/sublime-js-beautifier', 'js-beautifier'], 'working_dir': path})
Packages can be uninstalled via "Package Control: Remove Package" via the command pallete, ctrl+shift+p
on Windows/Linux, command+shift+p
on Mac.
(Coming soon)
(Coming soon)
In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality.
Support this project and others by twolfson via gittip.
As of Apr 09 2014, Todd Wolfson has released this repository and its contents to the public domain.
It has been released under the UNLICENSE.