Hi some days before I updated my eclipse 2021-06 to 2021-09 and after that its code completion will not show all the methods and classes. For example if I type frame.setS
, then it is showing no default proposals.
But At the same time when I type frame.setC
and press ctrl+space, it is working This is the
Also in my settings everything is checked.
I searched the web and found many stack overflow questions and I tried the answers. But it didn't work
I deleted the .metedata
folder and uninstalled and reinstalled eclipse for 5 times.
I tried installing eclipse from installer and zip.
Is this a bug or something.
I have also installed the java 17 plugin from eclipse marketplace.
In eclipse 2021-12 (4.22)
which released yesterday (08-12-21),
java.awt.*
is not filtered out. So no problem. Also it has Java-17 support..
In Eclipse 2021-09 (4.21) everything of java.awt.*
is filtered out in the content assist by default.
To disable this default filter, go to the preferences (Window > Preferences; in macOS in the application menu) Java > Appearance > Type Filters and uncheck the checkbox java.awt.*
.
I reported it to Eclipse and it has been fixed within two weeks, so it will be in the next release Eclipse 2021-12 (4.22) that will be released on December 8, 2021 (and also sooner in the milestone builds starting with M2):