Author Topic: How to configure "Insert -> All class methods..." auto documentation  (Read 4074 times)

Jii

  • Guest
I just discovered the righteously awesome feature, right clicking and selecting "Insert -> All class methods without implementation." This is big time saver for me, except that the documentation style doesn't fit my project. How do you configure the template documentation symbols used when the members are filled in? Here's a verbose example:

By default, it looks something like this:

/** @brief KD_Tree
  *
  * @todo: document this function
  */
 KD_Tree::KD_Tree()
{

}

I'd like it to fit my team's documentation style, to look like this:

//------------------------------------------------------------------------------
/// Document this function
//------------------------------------------------------------------------------
KD_Tree::KD_Tree()
//------------------------------------------------------------------------------
{

}
//------------------------------------------------------------------------------

Where do I configure this? Thanks!

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: How to configure "Insert -> All class methods..." auto documentation
« Reply #1 on: November 08, 2009, 10:14:45 am »
It's hardcoded (at the moment) in "codecompletion.cpp".

You can file a feature-request (so the request does not get lost) at berlios for it to be configurable: http://developer.berlios.de/account/login.php?return_to=%2Ffeature%2F%3Ffunc%3Daddfeature%26group_id%3D5358 .
You need a berlios account to do so.

Jii

  • Guest
Re: How to configure "Insert -> All class methods..." auto documentation
« Reply #2 on: November 09, 2009, 02:05:51 am »
Thanks, I just submitted a feature request.