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

#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
Quote from: BlackRose on January 27, 2010, 08:05:16 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.