Improving Eclipse autocompletion?

前端 未结 6 1962
长发绾君心
长发绾君心 2020-12-13 20:00

Currently the Eclipse autocompletion seems only to be triggered after a dot or on parameters, I want to use it for variables too, e.g. if I have

Strin

6条回答
  •  时光说笑
    2020-12-13 20:52

    First of all, thanks for all the replies. They are correct, however you have to press the key combination each time. Here's how it's done automatically:

    That plug-in is not necessary any more. Just go to Preferences > Java > Editor > Content Assist and paste:

    ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz.
    

    into the "Auto activation triggers for Java:" field.

    This simply triggers auto activation after any English alphabet character and after dot. https://bugs.eclipse.org/bugs/show_bug.cgi?id=159157#c12 Works fine :-)

    Hint: You probably want to additionally set the auto activation delay to 0, at least if you are used to visual studio ;-)

提交回复
热议问题