News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

How to edit documentation keywords?

Started by DreamCT, December 17, 2007, 02:08:09 AM

Previous topic - Next topic

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.

QuoteSet == 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...