Developer forums (C::B DEVELOPMENT STRICTLY!) > Development
Adding a style to the CPP Lexer
(1/1)
~guilio:
Hi Code::Blocks team
Excuse my ignorance, but i have a question regarding the style elements in the 'lexer_cpp.xml'.
I use doxygen to comment the project i am working on and tend to use the '///' doxygen comment indicator as appose to the default '/** */' comment indicator. I really like the syntax highlighting of Doxygen commands within the comments and was wondering if there was a way to add the '///' style comment to the lexer so that i could have the editor syntax highlight the commands in the later format
so the below two patterns would be treated the same
/** @brief This is my comment */
/// @brief This is my comment
If i can't add it myself would it be a candidate for a feature request? :-)
Thanks
mandrav:
Please use the latest version. It's already supported.
The sample code in the colors configuration contains both types of documentation comments and it highlights them equally well.
At least that's what I see.
Yiannis.
Navigation
[0] Message Index
Go to full version