ZF-6982: "zf create action" automatic code formatting messed up
When I create an action for an existing controller via "zf create action ", Zend_Tool creates an action method stub in the controller file.
The bad part of it: it also inserts a blank line after every line and messes with the indentation, indenting everything after the first line in every method. If you create subsequent actions, the effect accumulates. So after the creation of a few actions, your file consists of mostly blank lines with occasional code lines inbetween, and most of the code lines are indented by several tabs.
Thus, everytime I use the Zend_Tool via the CLI, I'll have to tidy up the mess, only to have it all scrambled up with the next action creation.
I'm on a Mac, so maybe part of the problem relates to different line break characters between Windows and Mac OS X. But that's just a shot from the hip.
I'm also using Zend Studio on Mac, if you want to know.
Best regards, Constantin