News:

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

Main Menu

Code Completion / Intellisense in C and C++ files

Started by ope, September 14, 2007, 08:12:35 AM

Previous topic - Next topic

ope

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

mariocup

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