How to tell Eclipse to show content assist automatically?

时间秒杀一切 提交于 2019-11-27 11:09:20

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!