Is there a Javadoc-like plugin for Xcode that automatically generates the doc template?

documentation-generation, objective-c, xcode

Solution

The script here http://www.duckrowing.com/2011/05/14/using-the-doxygen-helper-in-xcode-4/ does exactly what you want.

EDIT: Here is an updated version of the Script: https://github.com/premosystems/DoxygenXCodeHelper

Problem

I'm aware of Doxygen to generate the documentation. What I'm looking for is quick way to insert documentation in Xcode similar to what Eclipse does when editing Java files. Let's say I have an objective-c method with a couple of arguments like this: ``` -(NSInteger*) sumOf: (NSInteger*) one and:(NSInteger*) two {... ``` In Eclipse, if you place the cursor above the method and type: `/**<Enter>` you get a Javadoc template pre-populated with `@param` and `@return` tags. Is it possible to achieve something similar in Xcode? After typing `/**<Enter>`, I'd like to get this automatically: ``` /** * * @param one * @param two * * @return */ -(NSInteger*) sumOf: (NSInteger*) one and:(NSInteger*) two {... ```

Original source

Related problems