views:

1178

answers:

3

Is there anything similar to netbean's Javadoc auto comment tool for PHP/phpDocumentor/Eclipse? In the netbeans implementation:

A dialog pops up and allows you to run through all the members of your class and enter comments, which are added to the source file. It even verifies that there are no parameters you have not accounted for, so you can be sure that your comments are complete.

Ideally this would be standalone software, but plugins are OK too :)

p.s. netbeans 6+ auto comment was moved/renamed. Now in "Tool->Options", Tab: "Java Code", Javadoc: "Hints"

edit: screengrab of the original Netbeans tool: alt text

A: 

Not quite automatic, but close. Here is how to generate phpDocs from your PHP code

Elzo Valugi
I can generate phpDocs just fine, it's creating the comments by stepping through existing code that I'm after :)
Andy
A: 

I'm not sure if eclipse has an auto documenting feature or not, but you might check out http://www.zend.com/community/pdt. Eclipse is basically like netbeans, but it is very easy to obtain plugins for a multitude of other languages. The link I gave should give you eclipse with the php part included.

wilbbe01
I use PDT and it does not have the retrospective auto-doc functionality that Netbeans used to offer. Do you know of a similar plugin?
Andy
+1  A: 

Also if you use vim, you'd be doing yourself a great disservice to not look at Tobias Schlitt's VIP toolset (VIP = VIM integration for PHP).

kguest