Custom coloring of #ifdef code blocks [message #1470270] |
Wed, 12 November 2014 07:58 |
Robert Smith Messages: 2 Registered: November 2014 |
Junior Member |
|
|
I have C project which has different flavors for number of products.
There are common part of code which are enabled all the time and there are blocks of code which is enabled only for certain product flavor and enclosed with #ifdef.
I wonder whether there is option in Eclipse editor to customize color highlighting per each defined symbol?
For example:
#ifdef PRODUCT_A
/* Highlight everything with red */
#endif /* PRODUCT_A */
#ifdef PRODUCT_B
/* Highlight everything with blue */
#endif /* PRODUCT_B */
#ifdef PRODUCT_C
/* Highlight everything with green */
#endif /* PRODUCT_C */
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.03865 seconds