News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

feature request about preprocessor directives

Started by Mr.BrYcE, May 13, 2006, 12:56:08 AM

Previous topic - Next topic

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) Select
#define MY_DEFINE 10
int my_func()
{
    return 5 * MY_DEFINE;
}


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