This problem has been bothering me for a long time and I've always felt that eclipse was not as convenient as the VA, and then finally found a solution to discover that Eclipse's AutoComplete feature is much stronger than vs.
Workaround 1
In fact, the Eclipse default AutoComplete shortcut is CTRL + Space but this shortcut and the system input shortcut key conflict, so we need to change the next Eclipse Auto completion shortcut keys.
Even press two times ctrl+shift+l into the shortcut settings interface, enter the content assist in type filter text and then the corresponding binding shortcut, select it, change the value of the following binding can change its shortcut key ~ It is more convenient to use the key on the left of the number 1.
Workaround 2
The above method only allows eclipse to be automatically completed in the context of the key, without the convenience of VA, this is the ultimate solution
Enter windows->perferences->java->editor->content assist to fill in the auto activition triggers for java. ABCDEFGHIJKLMNOPQRSTUVWXYZ (,
Fill in the @# below.
Oh now try whether there is automatic completion of it.
But sometimes the automatic completion is too smart, often help you name variables ~
So I'm usually more accustomed to the first type when needed, click the shortcut key automatically completed out of the ~
In addition, Eclipse code collation is simply a matter of selecting code to press Ctrl+shift+f
In addition in the perferences can also customize the style of the code ~ ~ This is quite strong ah ... Oh everyone down their own groping it ~ ~ ~
Above