Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: DreamCT on December 17, 2007, 02:08:09 am
-
Hi all.
There are "Comment keyword" in "Syntax highlighting Setting".
The keyword "@file", "@version", "\class", "\code", "\endcode", "@param" and etc. are work.
But I need more for example "Created, Created by, Modified, Modified by, Purpose, ...".
And I want to modify "@file" to "File:", "@version" to "Version:" and more...
Does it can in the CodeBlocks? If it is not possible, where i find the possible keyword list?
Thanks in advance.
-
Hi DreamCT,
select the Settings->Editor->Syntax Highlighting. Select the scheme for highlighting e.g. C/C++ and push the keywords button. With Set you select a category of keywords. Set == 3 is documentation. If you set it to 3 you can modify the keywords. The keyword list is saved in the lexer_<language>.xml of Codeblocks (search in the Codeblocks installation directory).
-
Oh... I looked at "keywords..." part in former days.
Set == 3 is documentation
But, I failed to catch that the above is able to change.
Thanks to mariocup in addition to tip where the setting is saved...