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

后端 未结 5 1044
無奈伤痛
無奈伤痛 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:05

    Window -> Preferences -> C/C++ -> Editor -> Appearance code options -> Inactive code highlight Choose another color. I prefer grey.

    I also recommend to change occurrences background: General -> Editors-> Text Editors -> Annotations -> C/C++ Occurrences

提交回复
热议问题