To use it just go to Apatana's menu Source >> Format:
By default, however, arrays may not be formatted as expected. To change this, you need to update the default configuration options:
- Go to Aptana's preferences
- Type "formatter" click on "Formatter"
- In Preview select PHP and edit it
- Then in the tab: "New Lines"
- Check: Insert new line between array creation elements.
Now you can use this tool to quickly format your code to Drupal's Coding Standards