Drupal code formatting for Zend Studio or Eclipse
This post started out about code formatting, but it's grown to include all my Eclipse setup.
History
Originally I built a PHP formatter in Zend Studio, but I had difficulties setting up the free Eclipse PDT with this config. I followed instructions at: http://drupal.org/node/75242, then tweaked some of the configuration. I pulled it into Eclipse (Juno), changed the XML paths and ignored the warnings, then resaved it out again from the wizard to get it in the right format.
Eclipse setup