Author Topic: Code Completion / Intellisense in C and C++ files  (Read 3716 times)

ope

  • Guest
Code Completion / Intellisense in C and C++ files
« 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

mariocup

  • Guest
Re: Code Completion / Intellisense in C and C++ files
« Reply #1 on: September 14, 2007, 10:02:46 am »
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