Author Topic: feature request about preprocessor directives  (Read 3208 times)

Mr.BrYcE

  • Guest
feature request about preprocessor directives
« on: May 13, 2006, 12:56:08 am »
please, make preprocessor directives green in code when defined, thanks :)

Offline Game_Ender

  • Lives here!
  • ****
  • Posts: 551
Re: feature request about preprocessor directives
« Reply #1 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
#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.