How to tell Eclipse to show content assist automat

2019-01-21 19:48发布

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.

2条回答
Emotional °昔
2楼-- · 2019-01-21 19:49

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

查看更多
看我几分像从前
3楼-- · 2019-01-21 20:09

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.

查看更多
登录 后发表回答