Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » How do I change highlighting of C++ preprocessor directives?
icon5.gif  How do I change highlighting of C++ preprocessor directives? [message #758631] Wed, 23 November 2011 19:31 Go to previous message
Arman  is currently offline Arman
Messages: 15
Registered: November 2011
Junior Member
Ok so suppose I have this:

#define MYDIRECTIVE

#ifdef MYDIRECTIVE
bool myswitch = 1;
#else
bool myswitch = 0;


Eclipse will go ahead and white out the bottom half of that if statement (because MYDIRECTIVE is defined), which is fine, but I'd like to change the color of that highlighting. I initially thought to look here: Windows->Preferences->C/C++->Editor->Syntax Coloring->Preprocessor

However, all I find there is how to change the coloring of the preprocessor text, not the highlighting. Any ideas? I'm using Eclipse 3.7.0 with the eclipse color theme plugin v0.11.0, running on ubuntu.

[Updated on: Thu, 24 November 2011 23:37]

Report message to a moderator

 
Read Message icon5.gif
Read Message
Read Message
Previous Topic:Which Eclipse for Android development?
Next Topic:How to redirect the output to the designer?
Goto Forum:
  


Current Time: Fri May 24 01:35:26 EDT 2013

Powered by FUDForum. Page generated in 0.01597 seconds