Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Unwanted Highlight in Dark Theme
Unwanted Highlight in Dark Theme [message #1751570] Wed, 11 January 2017 10:18 Go to next message
Eclipse UserFriend
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!

Regards,

Jeff
  • Attachment: Highlight.PNG
    (Size: 15.68KB, Downloaded 382 times)
Re: Unwanted Highlight in Dark Theme [message #1751612 is a reply to message #1751570] Wed, 11 January 2017 17:31 Go to previous message
Eclipse UserFriend
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.

index.php/fa/28104/0/
index.php/fa/28105/0/

[Updated on: Sun, 15 January 2017 06:14] by Moderator

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


Current Time: Mon Jun 23 00:26:14 EDT 2025

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

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

Back to the top