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 » Thu Mar 03, 2005 1:10 pm

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
kuchnie warszawa opinie

Who is online

Users browsing this forum: No registered users and 17 guests