10

On double click, NetBeans highlights all occurrences of a variable. How can I change this color? I've played with Tools->Options->Fonts & Colors, but can not find element responsible for this.

netbeans screenshot

TOP KEK
  • 224
  • 2
  • 8
  • 1
    Maybe the conversation on this page may help you : http://netbeans.org/projects/php/lists/users/archive/2011-06/message/85 – t1w Dec 07 '12 at 13:08

2 Answers2

10

Try this :

  • Tools->Options->Fonts & Colors
  • Syntax
  • Select language "Java"
  • Change "Mark Occurences" Background
tvirgil
  • 116
  • 1
  • 2
3

In my case (Java / Netbeans 8.1)

Tools->Options->Fonts & Colors
Syntax
Select language "All Languages"
Change "Mark Occurrences" Background
RichEarle
  • 31
  • 2
  • Welcome to Super User! This duplicates another answer and adds no new content. Please don't post an answer unless you actually have something new to contribute. – DavidPostill Nov 26 '16 at 11:00
  • 1
    I know this is old, but the other answer didn't work for me and this one did. It's not a duplicate, they say to go to different submenus. – Griffork Sep 09 '20 at 07:48
  • @DavidPostill Agreed with Griffork – Erhannis Aug 28 '21 at 03:08