Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm having a problem with Eclipse. It randomly highlights code in grey, usually as I type something. It doesn't always appear when I type, and goes away at random times too. It's really annoying. I can't seem to figure out what the color is attached to in preferences Either.

I have the Web package installed. Here's an example of the highlighting:

enter image description here

share|improve this question

The highlighting you're seeing here is related to variable instances. You can disable its color highlighting from the preferences screen as a permanent solution, but I discourage that as highlighting instances is invaluable!

Instead, you can fairly easily resolve this each time by placing your caret on a different variable. It may require an intermediate save.

I've seen this sort of odd behavior fairly rarely; perhaps you should also make sure you're using recent version of Eclipse.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.