couple of ideas for "Document Declaration"

Milian Wolff mail at
Thu Mar 29 17:53:36 UTC 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.

Milian Wolff
mail at
-------------- 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: <>

More information about the KDevelop mailing list