score:20

Accepted answer

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.

score:0

go to preferences » java » editor » content assist » advanced. make sure other java proposals is ticked/checked.

i checked windows has no conflict of ctrl+space (of eclipse autosuggestion) with windows.

this is mere configuration issue of eclipse. reinstallation would fix it.

thanks.

score:0

i select all the parameters in preferences -> java -> editor -> content assist -> advanced. it help me and resolve the my problem. cltr+space work using this step.

score:0

saving my work and restarting eclipse solved this for me. i hadn't shut down eclipse in a while, maybe weeks.

score:0

i had the same problem (macos monterey, eclipse 06-2022). turned out it works with pressed fn button.

score:0

go to windows >> preferences » java » editor » content assist. then check the auto activation triggers for java, add this in the text box .abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz

score:1

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.

score:2

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.

score:3

i faced hot key problem with use ctrl+space. i tried to fix the issue first by windows->preferences->...->content assist-> advanced and selected select the proposal kinds contained in the 'default' content assist list:

  • other java proposals,
  • list item
  • swt template proposals
  • template proposals
  • type proposals

but didn't help.

therefore, i tried another solution. there would be multiple languages on your computer which could be eating up your ctrl command. to solve this go to control panel -> region and language -> keyboards and languages (tab) and then change keyboards.

you’ll see a list of languages installed – remove any that you don’t want (click the language and then click the remove button) until you only have the ones you want left. that fixed it for me, but you can also check the advanced key settings tab to make sure that none of the keyboard short-cuts that are set include ctrl-space.

once you’ve done that, ctrl-space should work nicely!!!!

score:7

i was facing the same issue. if you use os x eclipse ctrl+space shortcut can be interfering with os x system's "selecting previous input source" using ctrl+space shortcut as default.

it is necessary to edit system preferencies/keyboard/shortcuts/input source and uncheck the "selecting previous input source" or change the shortcut on something else. eclipse should work after that even without restart.

score:14

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)

score:148

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.

 1. java non-type proposals 
 2. java proposals 
 3. java type proposals
 4. java proposals (task-focused)

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.


Related Query

More Query from same tag