IntelliJ: How to auto-highlight variables like in Eclipse

tau-neutrino picture tau-neutrino · Sep 21, 2010 · Viewed 22.7k times · Source

My employer wants me to use IntelliJ for Java development. Previously, I've always used eclipse.

One of my favorite features in eclipse was being able to click on a variable, method parameter, class field, etc and see the usage of those variables highlighted throughout the class.

Is there a way to enable this feature in IntelliJ IDEA? I'm using Ultimate version 9.0.3.

Answer

CrazyCoder picture CrazyCoder · Sep 21, 2010

File | Settings (Preferences on Mac) | Editor | General | Highlight usages of element at caret.