如何告诉 Eclipse 自动显示内容辅助? [英] How to tell Eclipse to show content assist automatically?
问题描述
当我输入 Eclipse 时,它不会自动显示内容辅助,但只有在我按下 Ctrl + Space 后才会显示.我曾经输入类名,Eclipse 会自动给出好的建议.
但现在它不起作用了.
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.
推荐答案
转到,Window >> Preferences >> Java >> Editor >> Content Assist >> Auto activation triggers for Java,然后输入 .abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ
,这将触发类名、方法等的自动激活
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.
这篇关于如何告诉 Eclipse 自动显示内容辅助?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!