How to tell Eclipse to show content assist automatically?
Asked Answered
I

2

41

When I am typing Eclipse does not automatically shows content assist, but only after I press Ctrl + Space. I used to type class name and Eclipse gave good proposals automatically.
But now it is not working.

Ingeingeberg answered 18/10, 2013 at 12:1 Comment(0)
H
102

Go to, Window >> Preferences >> Java >> Editor >> Content Assist >> Auto activation triggers for Java, and enter .abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ , this will trigger the auto activation for class names, methods, etc.

Hypochondrium answered 18/10, 2013 at 17:50 Comment(1)
I also inserted the @ sign, which is useful for annotation autocompletion.Beetner
W
2

Look in Preferences in Java / Editor / Content Assist and check the Enable auto activation check box is ticked and has a sensible delay.

Wendel answered 18/10, 2013 at 13:4 Comment(1)
Thanks! It is checked and delay is 200ms. Auto-activation triggers is set to dot(.) meaning content-assist is only when dot is typed. But I used to type class name or method name and eclipse poped-up content- assist right away.Ingeingeberg

© 2022 - 2024 — McMap. All rights reserved.