'Eclipse no longer makes import suggestions in quickfixes

eclipse isn't making import suggestions anymore. I don't know why it stopped. Here is an example. enter image description here



Solution 1:[1]

First check to see if it is enabled to automatically do it. Go to Preferences > Java > Editor > Content Assist and make sure Enable auto activation is checked.

If that doesn't fix anything, you can try to manually get it to show up by pressing CTRL + SPACE.

You should also check Content Assist > Advanced and make sure that at the very least Java Proposals is checked.

Solution 2:[2]

Reopen eclipse.Thats the only case i make it work again each time it happen.Cleaning up project doesnt help.I found this really annoying.Bud im sorry to tell that i have no idea why this happens. Seems like a bug in eclipse https://bugs.eclipse.org/bugs/show_bug.cgi?id=75582

Solution 3:[3]

It can happen when you have some brackets missing in your source code, and the suggestion system just cannot figure out how to do suggestions anymore.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 WOUNDEDStevenJones
Solution 2 Tomas Bisciak
Solution 3 Bob Yoplait