#3 How to indent comments correctly

closed
5
2007-02-02
2006-06-10
No

Hi!

I'm trying to figure out how to insert comments so that
they get aligned to the following function correctly.

If I have this code:

baz_type foo(bar_type& foobar);

And then put the cursor in front of the fange and type
C-c d f, I get the following:

///
///
/// \param foobar
///
/// \return
///
baz_type foo(bar_type& foobar);

How can I get the desired result?

///
///
/// \param foobar
///
/// \return
///
baz_type foo(bar_type& foobar);

Regards
Christian

Discussion

  • Logged In: YES
    user_id=1440711

    OK, SourceForge killed my indentation. If have attached an
    indented version to this request.

     
  • Indented version of this support request

     
    Attachments
  • Logged In: YES
    user_id=152677
    Originator: NO

    Sorry for the lateness of this reply.

    Doxymacs simply follows the same rules of indentation as you have set up for C++ mode, so you would have to tweak those setting to get what you want.

    How to tweak those settings to get that style of comment indentation I don't know.

    Cheers

     
    • status: open --> closed
     
  • Logged In: YES
    user_id=1440711
    Originator: YES

    No problem. I'm closing this bug as it is no Doxymacs problem.