Page 1 of 1

Preprocessor definitions affect to syntax highlighting

Posted: Thu Mar 03, 2005 1:10 pm
by HardyPill
Hi Jussi,

most of my programs I write in C language for different target systems. Is it possible to add project specific preprocessor definitions, which have affect to the syntax highlighting?

Code: Select all

#ifdef TARGET_1
    WORD wTest;
If TARGET_1 is not a defined preprocessor definitions in the project, the code

Code: Select all

WORD wTest;
should be colored like a comment, otherwise as usual.

So the code is easier to read for the actual target or another predefine enabled or disabled feature.

Best regards