Eclipse when writing code to prevent automatic code completion + press the space bar autocomplete

  Know in Eclipse autocompletion code is a very useful tool

  as follows:

1.Windows——>Preferences——>Java–>Editor–>点击Content Asist  

 

The arrow points to the place marked .qwertyuiopasdfghjklzxcvbnm

A point behind the 26 letters on the keyboard to play again on the line, to complete the automatic code completion.

 

 

But also brought a boring place, it is time to enter one thing, the following will come out the code completion. Some of the code used to automatically fill in a whole number equal to add spaces and the like, then press the space bar to put this code is the code incomplete, even coder does not want this completion, which is annoying, so that the following settings so that in future we write the code only when and only then press Enter Code completion:

Open eclipse Click Window -> Perferences -> Java -> Editor -> Content Assist

Hook Disable insertion triggers except 'Enter', as shown in FIG
only use the "Enter" after the completion of candidate codes.

 

Guess you like

Origin www.cnblogs.com/juzijuziju/p/11577887.html