User forums > General (but related to Code::Blocks)

Feature request: Enhance syntax highlighting regarding defines

(1/1)

BlackRose:
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

--- End code ---

BlackRose

MortenMacFly:

--- 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?

--- End quote ---
This is currently not supported, so: No.

Navigation

[0] Message Index

Go to full version