Developer forums (C::B DEVELOPMENT STRICTLY!) > Development

feature request about preprocessor directives

(1/1)

Mr.BrYcE:
please, make preprocessor directives green in code when defined, thanks :)

Game_Ender:
You can change the syntax highlighting options.  I believe its in settings->editor->syntax highlighting.  Now if you want something like this:

--- Code: (cpp) ---#define MY_DEFINE 10
int my_func()
{
    return 5 * MY_DEFINE;
}

--- End code ---

But with the MY_DEFINE within the function body to be green as well, that is not possible.

Navigation

[0] Message Index

Go to full version