Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: BlackRose on January 27, 2010, 08:05:16 am

Title: Feature request: Enhance syntax highlighting regarding defines
Post by: BlackRose on January 27, 2010, 08:05:16 am
Hi!
Is possible to have syntax highlighting enhanced to show blocks of code under undefined preprocesor condition as remarks?
For example
Code
#define _CONDITION1

#if defined (_CONDITION1)
  //here is code highlighted as usual
#else
  //here is code shown in color of remark
#endif

BlackRose
Title: Re: Feature request: Enhance syntax highlighting regarding defines
Post by: MortenMacFly on January 27, 2010, 08:16:23 am
Is possible to have syntax highlighting enhanced to show blocks of code under undefined preprocesor condition as remarks?
This is currently not supported, so: No.