Extract the download archive, paste the JsBeautifier folder in the Sublime Text 2 "Packages" directory, which is located where ever the
Browse Packages option in sublime takes you.
On Mac OS/X Sublime Text 2 installs it's packages into the
~/Library/Application\ Support/Sublime\ Text\ 2/Packages directory. One option is to create a symbolic link from the git repository to the Packages folder.Here's how I install from the git repo on my computer:
→ ln -s ~/src/oss/sublime-text/JsBeautifier ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/JsBeautifier
The default key binding is
- 8/25/2011 - Added sublime-commands file.
- 8/25/2011 - scrolls back to whatever line you were on prior to formatting the file (middle of screen) rather than leaving the view position at the top of the file after formatting.