Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » C / C++ IDE (CDT) » Unwanted Highlight in Dark Theme
Unwanted Highlight in Dark Theme [message #1751570] Wed, 11 January 2017 15:18 Go to next message
Jeff Dargish is currently offline Jeff DargishFriend
Messages: 1
Registered: January 2017
Junior Member
Hi everyone!

As I installed Eclipse again not too long ago for work, I imported my project and started working on it when this problem just appeared.

I get several white highlights on several parts of my code which I did not highlight manually.
Furthermore, I can't work on my code because everything I write becomes highlighted in white.

I searched for half a day but couldn't find anything specific to my problem.

Any hints is highly welcomed!


  • Attachment: Highlight.PNG
    (Size: 15.68KB, Downloaded 224 times)
Re: Unwanted Highlight in Dark Theme [message #1751612 is a reply to message #1751570] Wed, 11 January 2017 22:31 Go to previous message
David VavraFriend
Messages: 1413
Registered: October 2012
Senior Member
You are being shown inactive code.. The expression in the #if is being evaluated false.
To change the color:
Window --> Preferences --> C/C++ --> Editor.
In the Appearance color options box, select Inactive code highlight then set the color.

You can turn it off completely by unchecking Highlight Inactive code shown at the top of the first image.


[Updated on: Sun, 15 January 2017 11:14]

Report message to a moderator

Previous Topic:syntax error compiling with "(" in command line
Next Topic:NEON fails to build binary ?
Goto Forum:

Current Time: Sun Jan 23 03:57:21 GMT 2022

Powered by FUDForum. Page generated in 0.02201 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top