Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

remove annoying highlighting Netbeans 7.2 C++

Tags:

Anytime I write a variable's name I get this annoying IDK green or yellow highlight . What is it ? how to get rid of it?
Image here:
enter image description here

like image 486
Nash Vail Avatar asked Aug 27 '12 19:08

Nash Vail


People also ask

How do I remove black highlights in Netbeans?

This black color bar comes from the Fixable Error of Annotations . So just changing the background of this Fixable Error category from dark color to any color will do the work. (Have to close and re-open the code editor to see the change) .

How do I change the highlight color in Netbeans?

Try this : Tools->Options->Fonts & Colors. Syntax.


2 Answers

I know this is an old question but I thought what I have discovered might help others. :)

I had the same annoying problem and no matter what I could not remove the highlighting with the Tools->Fonts & Colours option mentioned here.

What actually did work is the Tools->Editor->Highlighting and turn off the "Mark Occurrences of Symbol Under Caret".

enter image description here

like image 129
ervinbosenbacher Avatar answered Sep 18 '22 13:09

ervinbosenbacher


You can change the background color in Tools → Options → Fonts & Colors. Here you select Language: "C++" and Category: "Mark Occurrences." Select a different background color and be happy!

Screenshot of NetBeans 6.9.1 Options / Fonts & Colors window

It was so annoying to me too.

like image 21
aSoler Avatar answered Sep 20 '22 13:09

aSoler