Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse hangs when I use Content Assist

I am using Eclipse IDE for Enterprise Java Developers.

Version: 2020-09 (4.17.0)
Build id: 20200910-1200

I installed the JBoss tools plugin from the Eclipse Marketplace which is used for Hibernate. Then, after like a day, out of the blue the content assist stopped working. I wouldn't say JBoss is the culprit but I've read that installing plugins from the Eclipse marketplace seems to cause such errors. So whenever I tried to press Ctrl + Space for suggests, Eclipse would just hang and I had to force close it. Reinstalling it wouldn't be a solution for me as it's work through.

like image 323
Tejas Naresh Suvarna Avatar asked Sep 01 '25 05:09

Tejas Naresh Suvarna


1 Answers

Such errors occur when you usually add a new plugin from Eclipse Marketplace, so do try uninstalling the plugin and see if the error goes off. Also...

For my case, I had to go to Windows > Preferences > Java > Editor > Content Assist > Advanced. I am not sure if this is the case for everyone, but I had these Default Proposal Kinds that didn't have any icon and were basically blank. Here in the image, "Basic proposals" and "WebSocket Proposals" were ticked and the icons were blank. I unchecked them and them and now the Content Assist works perfectly. The blank icon proposals disappeared when I uninstalled the Jboss plugin. So if your content assist is hindered anyhow, then do check your plugins and try uninstalling them safely. That should do the trick. enter image description here

like image 197
Tejas Naresh Suvarna Avatar answered Sep 02 '25 17:09

Tejas Naresh Suvarna