Reference: http://blog.163.com/zhengjiu_520/blog/static/3559830620118157419374/
The settings are as follows:
OpenEclipse-> window-> perferencesTo open the perferences setting page.
OpenEditorTab to find auto activation triggers for Java.Only one "." exists. Indicates that only "." Is input.CodeNote: here we want to modify it. By default, Eclipse only allows the input of four custom characters.
However, you can export the current settings, save them as a file, modify the settings in the file, and then import the settings to break through the eclipse restrictions.
Enter a few casual characters in ".", such as "ASDF" (useful later), and click "OK" at the bottom to save the settings.
Then openEclipse file-> Export
Expand in windowGeneral-> perferencesClick Next.
Click "Browse" to select any path, save the configuration file, and click "finish ".
Use NotePad to open the saved configuration file (extension file name: *. EPF), press "Ctrl + F", enter the set "ASDF", and find the string. Change "ASDF" to"Abcdefghijklmnopqrstuvwxyz.", Then save and exit notepad.
Open the eclipseFile-> ImportThen expand in the window that opensGeneral-> perferencesClick Next, select the modified configuration file, and finish.
now, open window-> perferences, expand JAVA-> Editor-> content assist in sequence, and you will find that there are more than four characters, that is, we enter any letter and ". "There will be code prompts.