Accepted answer

you don't have to press ctrl * space but maybe the delay is too big or you don't like the trigger (default is '.'). go to

window -> preferences -> java/editor/content assist

and change the settings under auto activation to your likings.

if this does not work for windows users then see this answer.


i once had the same problem, and then i searched and found this and it worked for me:

i had got some of the boxes unchecked, so i checked them again, then it worked. just go to

windows > preferences > java > editor > content assist > advanced

and check the boxes which you want .


d3dave's answer is cool. however thegreengarbage mentioned an issue about it which i too find rather annoying. so here's one that doesn't immediately suggest something after '=' sign and when typing blank space:


what i did was simply remove the space and '=' chars from the array :)

alternatively if you want suggestions when typing blank space, but not after '=' sign:

abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz .(!+-*/~,[{@#$%^&


if it's not working even when you already have code assist enabled, eclipse's configuration files are probably corrupt. a solution that worked for me (on eclipse 3.5.2) was to:

  1. close eclipse.
  2. rename the workspace directory.
  3. start eclipse. (this creates a new workspace directory.)
  4. import (with copy) the java projects from the old workspace.


tony is a pure genius. however to achieve even better auto-completion try setting the triggers to this:

abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz =.(!+-*/~,[{@#$%^&

(specifically aranged in order of usage for faster performance :)


i've get closer to visualstudio-like behaviour by setting the "autocomplete trigger for java" to


and setting delay to 0.

now i'd like to realize how to make it autocomplete method name when i press ( as vs's intellisense does.

Related Query

More Query from same tag