1 安装pear
http://www.cnblogs.com/heiing/archive/2011/12/07/2279405.html
2 安装php-beautifier
http://upshots.org/wamp/komodo-ide-format-php
3 设置komodo-ide with php-beautifier
http://www.activestate.com/blog/2009/03/using-php-beautifier-komodo-ide
4 just use php-beautifier to reformat you code komodo debugger for php
https://docs.joomla.org/Debugging_Joomla_with_Komodo_IDE
http://komodoide.com/packages/addons/beautify-js/