The autocomplete of eclipse is not working now and I searched for hours but I couldn\'t find an answer to solve it. I haven\'t used it for long time then the first thing aft
Window->Preferences->Java->Editor->Content Assist->Advanced
The following options have to be selected, then the autocomplete worked . No restart is required.
Java Proposals (must be selected, not sure the follows)
Java Non-Type Proposals
Java Type Proposals
Java Proposals (Task-focused)
This is recurring for me. I'm using Eclipse 2019-03 in Windows 10. The steps below work for my case, and does not require a restart.
Window->Preferences->Java->Editor->Content Assist->Advanced
The following options are de-selected, and when I set them the autocomplete worked as before. No restart needed.
I don't know what's triggering this but it only happens after I've created a new project. Usually doesn't. It simply doesn't happen often enough for me to notice a pattern to follow up on more. Clearly this problem occurs with a variety of causes, so review the other answers to see if they match your case.
The hot key combination ctrl+space
might be conflict with other settings in system if you are using windows.
Try modify this combination like alt+/
, i always use this one since the first time i knew eclipse. It works well.
Hope it works for you.
Recently, I also faced this issue. When I install neon version eclipse. By (1) deleting respective class, (2) restoring defaults appearance and (3) restarting eclipse, solved the problem for me. Hope it will help someone.
Also a possible problem that solved for me: http://blog.rtwilson.com/how-to-solve-the-ctrl-space-auto-complete-not-working-problem-in-eclipse/
I had the same Problem on Ubuntu 14.04. The problem for me was that ibus
used Ctrl+Space
as a shortcut. I solved it by starting the program ibus-setup
and chaning the shortcut to something else than Ctrl+Space
.