couple of ideas for "Document Declaration"
Milian Wolff
mail at milianw.de
Thu Mar 29 18:53:36 BST 2012
On Thursday 29 March 2012 14:53:38 Yngve Inntjore Levinsen wrote:
> Hi,
>
> I was just using the "Document Declaration" now (in C++), and there are a
> couple of points I figured might be worth while suggesting.
>
> 1. If the function is a void, what about not adding the line "@return void"?
> I don't see how that information is useful...
>
> 2. What about adding "@author %{fullname} <%{email}>"? In the snippets these
> macros are defined and will automatically put my name and e-mail. To me it
> is quite useful on a bigger project to know who wrote a given
> function/class...?
>
> 3. You could consider to add the line "@date %{year}" (or perhaps
> year-month) as well..?
I'm reluctant to add this to the default setting but completely agree that it
might be interesting to some people like you...
Personally, I think this shows that this template should be configurable...
Lets see, maybe the GSOC student working on templates - if we get enough slots
that is - could implement this.
bye
--
Milian Wolff
mail at milianw.de
http://milianw.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20120329/dfe928c4/attachment-0001.sig>
More information about the KDevelop
mailing list