How to change background color in eclipse for undefined area?

Really annoyed by the eclipse of masking over #if a certain area with a gray color. I want to either disable this function or make it the same as for the normal area. You were looking for some solution, but you didn’t find anything.

HELP!

Thanks.

+7
source share
2 answers

You can customize the syntax coloring of the language with

Window> Preferences> [Your Language]> Editor> Syntax Coloring

for the specified background color, you can check

Window> Preferences> Appearance> Colors and Fonts

Inside the panel, you can find out the color / font preferences for your language.

UPDATE :

IN

there is an option "Appearance of color",

Window> Preferences> [Your Language]> Editor

For the C / C ++ editor, it has the "Inactive Code" option.

+9
source

On Mac:

  • Eclipse
  • Preferences
  • C / c ++
  • Editor
  • Inactive code allocation (second option)
+2
source

All Articles