Preprocessor definitions affect to syntax highlighting
Posted: 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:
If TARGET_1 is not a defined preprocessor definitions in the project, the code 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
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
Code: Select all
WORD wTest;
So the code is easier to read for the actual target or another predefine enabled or disabled feature.
Best regards
Michael