Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: ope on September 14, 2007, 08:12:35 am
-
Hi,
I'm writing on a C Source File "blah.c" and would like write static foo bar. The code completion algorithm got me 'static' and 'static_cast' - the last is a c++ cast. Is this a bug?
Thanks
Olaf
-
Hi Ope,
the auto complete feature of CodeBlocks scans the lexer_*.xml files. So these entries static, static_cast are part of these lexer files, so you get auto complete for C and C++. You can modify the keyword in the settings/editor/syntax hightlghting. Just select keyword set 1 and modify the entries.
Bye,
Mario