couple of ideas for "Document Declaration"

Lambert CLARA lambert.clara at
Mon Apr 2 12:24:30 BST 2012


I've made a patch for that some time ago. In addition to removing the @return line for void return types, it also squeezes some of the generated comments to gain space :

Before :

 * @brief foo
 * @return bool bar
bool func();

Now :

/// @brief foo
/// @return bool bar
bool func();

I've attached the patch as an example. Hope this helps.


----- Mail original -----
De : Milian Wolff <mail at>
À : kdevelop at; kdevelop at
Cc : 
Envoyé le : Lundi 2 avril 2012 12h37
Objet : Re: couple of ideas for "Document Declaration"

On Saturday 31 March 2012 10:08:27 Yngve Inntjore Levinsen wrote:
> Hi,
> Thanks for the response with interesting arguments for and against.
> As for KDevelop currently not knowing this information, the snippets tool
> clearly does so you could use the same (not sure if I am talking about this
> KABC thing now).
> So far I have not seen any arguments against my first point?

nope, that could be done indeed :) patches welcome: 
kdevplatform/plugins/codeutils/codeutilsplugin.cpp -> 

Milian Wolff
mail at
kdevelop mailing list
kdevelop at
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patchOneLineNoVoid.diff
Type: application/octet-stream
Size: 2377 bytes
Desc: not available
URL: <>

More information about the KDevelop mailing list