In eclipse, how does one implement automatic word completion without pressing the shortcut key?
Open eclipse-> window-> perferences-> JAVA-> Editor-> content, and the bottom column is auto-activation.
Only one "." exists. Indicates that only "." Is input. Code Note: This is the place where we want to modify it. However, by default, Eclipse only allows the input of four
Define characters. Enter a few casual characters in ".", such as "aaaa" and click "OK" at the bottom to save the settings. Then open the file in eclipse->
Export, expand general-> perferences --> export all in the window, and then click Next. Click "Browse" and select any path to save the configuration file.
And then click "finish ". Use NotePad to open the saved configuration file (extension file name: *. EPF), press "Ctrl + F", and enter "aaaa ",
Find the string. Change "aaaa" to "abcdefghijklmnopqrstuvwx"YZ. ", save it, and exit notepad.
Open File-> Import of Eclipse, expand general-> perferences in the window that opens, click Next, and select the modified configuration file,
Finish. Now, open window-> perferences, expand Java-> Editor-> content assist in sequence, and you will find that there are more than 4 characters
It means that the Code prompts will be displayed when we enter any letter or.