User forums > Using Code::Blocks
How to edit documentation keywords?
(1/1)
DreamCT:
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.
mariocup:
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).
DreamCT:
Oh... I looked at "keywords..." part in former days.
--- Quote ---Set == 3 is documentation
--- End quote ---
But, I failed to catch that the above is able to change.
Thanks to mariocup in addition to tip where the setting is saved...
Navigation
[0] Message Index
Go to full version