问题
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.
来源:https://stackoverflow.com/questions/19449175/how-to-tell-eclipse-to-show-content-assist-automatically