Sublime Forum

Change color of C++ macros

#1

Hello,

First of all, happy new year to everyone :wink:
I’m trying to change the foreground color of macros in C++ and I can’t find where to modify.
I’ve noticed that changing foreground color attribute of “Function Name” changes the color of a macro definition.
For example:

#define MAX 10

In the line above the “MAX” foreground color is modified when I modify Function Name foreground color, but when I use a macro, like this:

var = MAX;

the color is not affected, while other function calls are modified.

Anyone knows how to change the color when using macros or if it’s even possible?

0 Likes