Search code examples
eclipseeclipse-plugin

I am using devstyle with eclipse and it highlights the parts of the code that is not going to be executed


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


Solution

  • 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!