-->

How to tell Eclipse to show content assist automat

2019-01-21 19:22发布

问题:

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.

回答1:

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.



回答2:

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