In Aptana, I somehow broke functionality to automatically generate phpdoc comments for functions inside classes. Apparently this only affects my current project.
Usually I can type / ** in the line before the function and press enter, and Aptana will create a phpdoc comment with the correct @param values, etc. For some reason, when I do this, Aptana creates 2 comments, one in the other. eg.
*/ public static function getByLogin($loginID, $ip, $userAgent) { }
It works fine if I try this for global functions. It also works for class variables and the classes themselves.
source share