2

This issue has been bugging me for a while. I am using devstyle with eclipse and it highlights the parts of the code that is not going to be executed (I think) because of some #if. can someone help me turn it off?

setting problem

  • Hello! Just do confirm this is a DevStyle related issue. Can you switch to Eclipse Dark theme (In Window > Preferences > General > Appearance) and then share a ScreenShot of how it looks there? – Aaron Lara Nov 06 '20 at 14:30
  • I don't think it's an issue, it's just a setting I didn't know how to turn off, Aaron answer below helped! – notalphazero Nov 06 '20 at 18:25

1 Answers1

1

This is a feature specific to C/C++ Editors. As indicated on this post you can just go to Window -> Preferences -> C/C++ -> Editor and uncheck "Highlight inactive code".

Cheers!

Aaron Lara
  • 196
  • 6