Hi Matthias,
That looks like a good tool. I had tried using skeleton for srecode
a long time ago. It was good for comments, but not quite powerful
enough for code generation.
The SRecode package has a similar command which you can get at with
`srecode-document-insert-comment'. It then tries to figure out the best
kind of comment to do. It flips between doxygen or javadoc depending on
mode. I wrote the original a while ago, so some of the templates are a
bit old-school and could be improved. It also doesn't do Qt, which I
see your version handles. You might be able to update the templates for
your style of comments.
Eric
On 09/07/2012 06:02 AM, Matthias Meulien wrote:
> Hi,
>
> I just want to advertise for a package that helps generating
> documentation string from tags.
>
> Package: http://marmalade-repo.org/packages/doctags
> Sources: https://gitorious.org/doctags
>
> Calling `doctags-document-current-tag' with the point inside the
> following tag:
>
> bool
> operator()(const Segment&a, const Segment&b) const
> { return dist(a.first, a.second)< dist(b.first, b.second); }
>
> inserts:
>
> /*!
> \brief
>
> \param a
> \param b
> \return
> */
> bool
> operator()(const Segment&a, const Segment&b) const
> { return dist(a.first, a.second)< dist(b.first, b.second); }
>
> Suggestions, improvements welcome,
|