Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change highlighting color of auto-highlighted variable names in netbeans?

When I move over a class name all the other places that that class name shows up are highlighted. When I hover over a variable it does the same thing with different places that I have used that variable. I cannot find where to change that setting in Netbeans.

I changed everything else, but even when I looked under every option in the highlighting section there were none with the same shade of yellow that is seen here:

Two highlighted class names

There was also nothing in the Syntax or Annotations section that had that shade of yellow. Is this even a setting that I have control of?

I have Netbeans 7.2.1 if anyone needs to know.

like image 479
Joshua Harris Avatar asked Nov 13 '12 20:11

Joshua Harris


People also ask

How do I remove yellow highlights in NetBeans?

Tools -> options -> font & color then choose your language and it should be there... Save this answer.

How do you highlight variables?

Highlighting a variable or subfunction usage is easy, just click on any variable or subfunction name in the editor, and after a brief pause, all the usages of that variable or subfunction will be highlighted in light blue.


2 Answers

It is Language-specific. You have to go to Syntax > Change a Language and modify the "Mark Ocurrency" color.

Know more: How to change the highlight variable color in NetBeans IDE ?

like image 84
snagnever Avatar answered Oct 14 '22 16:10

snagnever


I found this theme generator - helped me with my own color theme.

Below link to the online netbeans color theme generator

Net Beans theme builder

  • allow to point - click select code type and assign new colors
  • allow to export colors for netbeans (as .zip) aslo for eclipse color theme (.xml)
  • Tested on NetBeans 7.4
like image 1
pietr Avatar answered Oct 14 '22 15:10

pietr