Doxygen syntax highlighting

General questions regarding the usage of CodeLite
DSP_Programmer
CodeLite Veteran
Posts: 63
Joined: Mon Apr 06, 2009 10:43 am
Contact:

Doxygen syntax highlighting

Post by DSP_Programmer »

Hi,

I use CL 2793 on Win 7 and a file with *.c extension.

I try to have a different syntax coloring for a doxygen multiline C-comment section:

/**
doxygen comment here
*/

but always get the coloring as for regualar C-Comments in writing:

/*
C comment here
*/

I managed to get doxygen keywords (like @todo, ...) to have a different color, but not a whole multiline section /** ... */.

Is there anything I can do about this (within the syntax coloring configurations)?

Thanks and best regards.
nemesis
CodeLite Enthusiast
Posts: 37
Joined: Fri Oct 01, 2010 8:32 pm
Genuine User: Yes
IDE Question: all
Contact:

Re: Doxygen syntax highlighting

Post by nemesis »

hej.

in 'settings -> syntax highlights and fonts -> c++' there are four different comment color variables.
'common c style comment' is for /* test */
'common c++ style comment' is for // test
'doxygen c style comment' is for /** test */
'doxygen c++ style comment' is for /// test

regards,
nem
Last edited by nemesis on Wed May 04, 2011 1:40 pm, edited 1 time in total.
DSP_Programmer
CodeLite Veteran
Posts: 63
Joined: Mon Apr 06, 2009 10:43 am
Contact:

Re: Doxygen syntax highlighting

Post by DSP_Programmer »

Hi,

thanks for the reply but I don't have an entry of 'doxygen c style comment' (see screenshot), I only have 'Doxygen C++ style comment'. Any ideas?

regards.
You do not have the required permissions to view the files attached to this post.
nemesis
CodeLite Enthusiast
Posts: 37
Joined: Fri Oct 01, 2010 8:32 pm
Genuine User: Yes
IDE Question: all
Contact:

Re: Doxygen syntax highlighting

Post by nemesis »

i checked both revisions i use (4375 on linux and 4778 on win7) and both have it. your revision (2793) is pretty dated. it probably got introduced later so i would recommend updating (even apart from the comment color thing ;) ).

regards,
nem
DSP_Programmer
CodeLite Veteran
Posts: 63
Joined: Mon Apr 06, 2009 10:43 am
Contact:

Re: Doxygen syntax highlighting

Post by DSP_Programmer »

Hi,

ok, I found the problem. My "lexer" files were not up to date. After updating them everything works fine. And the rev. is 4798 (not 27..).

Thanks.
Post Reply