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

1

2 Answers 2

10

Try this :

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

In my case (Java / Netbeans 8.1)

Tools->Options->Fonts & Colors
Syntax
Select language "All Languages"
Change "Mark Occurrences" Background
3
  • 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, 2016 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 9, 2020 at 7:48
  • @DavidPostill Agreed with Griffork
    – Erhannis
    Aug 28, 2021 at 3:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .