Author Topic: Feature request: Enhance syntax highlighting regarding defines  (Read 2944 times)

Offline BlackRose

  • Multiple posting newcomer
  • *
  • Posts: 13
Feature request: Enhance syntax highlighting regarding defines
« 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

Offline MortenMacFly

  • Administrator
  • Lives here!
  • *****
  • Posts: 9694
Re: Feature request: Enhance syntax highlighting regarding defines
« Reply #1 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.
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: https://www.codeblocks.org/docs/main_codeblocks_en.html
C::B FAQ: https://wiki.codeblocks.org/index.php?title=FAQ