The CTRL space completion of Java – Eclipse: main is no longer valid

I use eclipse (3.7.1), and I like Ctrl space autocompletion It was once used to generate static public void main (string [] args) method, but it is no longer applicable; Conversely, if I type Mai or main and press Ctrl spacebar, I get a bunch of main classes

@H_ 502_ 8@

What happened and how should I solve this problem@ H_ 502_ 8@

For its value, I installed Lombok 0.9 3. So I want to know if this is a mess@ H_ 502_ 8@

Solution

Have you been playing content assist?

@H_ 502_ 8@

A quick attempt will go to window - > preferences and select Java - > editor - > content assist@ H_ 502_ 8@

In the content assist properties pane, press restore defaults @ H_ 502_ 8@

Either @ h_ 502_ 8@

Set sort proposals to alphabetical – this should restore the default content assistance behavior@ H_ 502_ 8@

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>