Eclipse doesn't autocomplete and find references anymore

Solution 1:

Try this:

  • Go to Preferences » Java » Editor » Content Assist » Advanced.
  • Make sure Other Java Proposals is ticked/checked

If that does not work simply "close" the project and reopen it.

Solution 2:

This was a tough one for me to solve (running Juno Version: 4.2.1 Build id: M20120914-1800 on Mac OSX 10.6.8).

The steps I had to take were:

  1. Run Help » Check for updates and then restart to get to the most recent version
  2. As noted above, Go to Preferences » Java » Editor » Content Assist » Advanced
  3. Click everything Java related in both sections
  4. Restart again