Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development

Doxygen script plugin

<< < (3/14) > >>

Jenna:

--- Quote from: er on April 14, 2008, 03:27:19 am ---Hello,

I am a newcomer to CB.

I have a related (i think) question:

Is it possible to set up CB to automatically generate Doxygen code, at the start of each source file? Such as:

/*
 * main.c
 * Copyright (C) Author Year <email>
 *
 * main.cpp is free software.
 *
 * You may redistribute it and/or modify it under the terms of the
 * GNU General Public License, as published by the Free Software
 * Foundation; either version 2 of the License, or (at your option)
 * any later version.
 *
 * etc...
 *
 */


--- End quote ---

I think "Settings -> Editor... -> Default code" is what you look for.
But it seems to be only for C/C++ users.

Edit:
By the way I don't think it's related to the doxygen script plugin, even if you would use it to create "doxygen comments".

Ekinoks:
Jomeggs, Thank you for this script ! :D

It is very easy to use and very effective ! ^^

THANKS !

jomeggs:

--- Quote from: Ekinoks on June 11, 2008, 05:19:07 pm ---Jomeggs, Thank you for this script ! :D

--- End quote ---
You're welcome!

I've another one for WINDOWS users. It opens the generated chm-file automatically after generation.

rockstar1707:
One question. I found this script really useful, but I have problems with the non-ASCII characters. The documentation that I write contains Eastern European characters, which are not shown correctly in generated documentation.

My source files are encoded in UTF-8, and the codepage in the browser is set to UTF-8 encoding as well. Is there something that I could/should change in that script, or this is some limitation of Doxygen/Code::Blocks?

jomeggs:
Hi rockstar1701,

maybe, it is enough to comment out the following line in the script:


--- Code: ---// sText +=  _T("INPUT_ENCODING         = ISO-8859-1\n");
--- End code ---

If not, please take a look to the doxygen dokumentation wich tells, that at least the windows binary uses UTF8 too. You should find the related configuration options here:http://www.stack.nl/~dimitri/doxygen/config.html#cfg_dot_fontname

Please have an eye on everything what has to do with "FONT" or "ENCODING" for the project options. As far as I know, doxygen uses libiconv.libwich supports a lot of encodings: http://www.gnu.org/software/libiconv/

Hope, this helps...

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version