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.
How to tell Eclipse to show content assist automatically?
Asked Answered
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.
I also inserted the @ sign, which is useful for annotation autocompletion. –
Beetner
Look in Preferences in Java / Editor / Content Assist and check the Enable auto activation
check box is ticked and has a sensible delay.
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.