How to make the color theme inside #ifdef more readable in Eclipse?

后端 未结 5 1050
無奈伤痛
無奈伤痛 2020-12-25 12:11

I love the color themes (thanks!), but one seriously nagging issue is that the code that is #ifdef\'d out, is impossible to read (and annoyingly bright). If I highlight tho

5条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-25 13:04

    Well, I found a partial answer:

    Preferences -> C/C++ -> Editor -> syntax highlighting -> preprocessor -> directives changed the foreground color to black.

    Preferences -> C/C++ -> Editor -> syntax highlighting -> preprocessor -> others changed foreground color to black

    Preferences -> C/C++ -> Editor -> syntax highlighting -> code -> others changed foreground color to black.

    At least now I can see it. Anyone know how/where to change the background color for those blocks?

    Thanks!

提交回复
热议问题