Andy
Andy

Reputation: 17771

Netbeans-esque retrospective auto-comment/phpDocumentor tool (for Eclipse or standalone)

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
(source: vsj.co.uk)

Upvotes: 17

Views: 2143

Answers (3)

Elzo Valugi
Elzo Valugi

Reputation: 27856

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

Upvotes: 0

kguest
kguest

Reputation: 3844

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).

Upvotes: 1

wilbbe01
wilbbe01

Reputation: 1971

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.

Upvotes: 0

Related Questions