A few days ago I was using autocomplete features and Ctrl-click without any problem.
But now those features don’t work anymore: the autocomplete shows up but is always empty, and Ctrl-click doesn’t work because Eclipse doesn’t recognize the classes anymore.
This doesn’t even work for a class or function or variable in the same file, so I guess this is not a configuration problem, but maybe a cache that is corrupted?
Answer
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.
Attribution
Source : Link , Question Author : Matthieu Napoli , Answer Author : slhck