Reputation: 33
I don't know if this is a bug or it's just how it's supposed to be، but whenever I try to type a class like the class random, in eclipse it doesn't give me a suggestion for it. Even when I press Ctrl + Space.
PS: However eclipse does tell me to import the class when I hover the mouse over it.
Upvotes: 1
Views: 761
Reputation: 2068
First thing to try is cleaning your projects via top menus: Project
> Clean
note: pressing Ctrl+Space multiple times will cycle through different content assist proposals. Also Ctrl+1 will bring up the quick fixes dialog for errors on your current cursor's line.
I had a similar issue recently, go to:
Window > Preferences
then Java > Editor > Content Assist > Advanced
In there I unchecked all the boxes and clicked Apply
at the bottom. Then turned on the same options I had just disabled and clicked Apply
again and that fixed it.
Upvotes: 2