Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Mr.BrYcE on May 13, 2006, 12:56:08 AM

Title: feature request about preprocessor directives
Post by: Mr.BrYcE on May 13, 2006, 12:56:08 AM
please, make preprocessor directives green in code when defined, thanks :)
Title: Re: feature request about preprocessor directives
Post by: Game_Ender on May 13, 2006, 01:01:43 AM
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.