Eclipse with Java does not display matching variables

Hey man, I still haven’t come to this. My Eclipse used to show me where I used other global and local variables when I clicked on one of them. This is no longer the case. I looked at General> Appearance> Colors and Fonts. In the Java folder, I find what looks like what I want. Colored labels match. The description says: Background color used to highlight matches when color labels in Java views are turned on. I searched for it in Java> How strange it is, I cannot find it again when I write this post. Anyway, I think I'm looking. Enabling color labels in Java. Where is it?

+5
source share
2 answers

To access your location of variables: you need to click on the variable and save "ctrl". for color: right-click in your java class, go to "open with", then select a java editor, if the color problem persists, go to Windows> preferences> Java> Editor ther click "restore default" or specify your editor , then click OK. Hope my intervention helps you.

+3
source

I tried window -> preferences -> java -> editor -> mark occurrences ->and selected all the options.

Now it works.

+2
source

All Articles