kbsali/Sublime-beautifier — pull request #1 by robinmalburn (2013-10-06 22:20:34+00:00)
Title: Major Update: Better settings integration for Sublime, wider range of features supported for php_beautifier

I know this is a pretty hefty update, but I've tried to briefly summarise the changes below. It all started with me wanting to add a preferences menu entry, and then I got caught up adding in some of the unimplemented php_beautifier options. Hopefully the changes are of use to you and the community at large, though.

ADD: Preferences menu entry
ADD: Support for more php_beautifier options
ADD: Configurable indentation types for PHP and JS
ADD: Support for ambiguous file types and unsaved buffers
ADD: Basic error handling / notifications, with override, for php_beautifier in particular
CHANGE: Remove reliance on creating files for php_beautifier - feed text in via stdin pipe instead.
CHANGE: Use shlex library to work around odd CLI option handling in php_beautifier
CHANGE: More consistent code formatting / naming and bring things a bit more inline with PEP8