couple of ideas for "Document Declaration"
Lambert CLARA
lambert.clara at yahoo.fr
Mon Apr 2 12:24:30 BST 2012
Hello,
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.
Bye,
Lambert
----- Mail original -----
De : Milian Wolff <mail at milianw.de>
À : kdevelop at barney.cs.uni-potsdam.de; kdevelop at kdevelop.org
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 ->
CodeUtilsPlugin::documentDeclaration
bye
--
Milian Wolff
mail at milianw.de
http://milianw.de
_______________________________________________
kdevelop mailing list
kdevelop at kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patchOneLineNoVoid.diff
Type: application/octet-stream
Size: 2377 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop/attachments/20120402/4baa3898/attachment.obj>
More information about the KDevelop
mailing list