Preprocessor definitions affect to syntax highlighting

Post any comments, suggestions, annoyances or ideas for future releases here. Please do not post bug reports or questions here.
Post Reply
HardyPill
Posts: 13
Joined: Wed Feb 09, 2005 12:58 pm
Location: Germany

Preprocessor definitions affect to syntax highlighting

Post 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?
Sample:

Code: Select all

#ifdef TARGET_1
    WORD wTest;
#endif
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

Michael
Post Reply