To turn on the code auto-prompt function, first find the location of the setup prompt :
Open the Content Assist, Editor-and-perferences, Windows-I, Eclipse, Window, and find auto-activation in the bottom-right column, with three options below Item, find the second "Auto activation triggers for Java:" option in the text box that follows to see a "." Exist. This means: only enter "." Then there will be code hints and auto-completion, and that's where we're going to change.
Supposedly put the "." In the text box Replace it with ". Abcdefghijklmnopqrstuvwxyz"and you can. but! Eclipse does not allow such characters to be entered, and a maximum of 4 characters is allowed in the text box, so it is implemented by modifying the configuration file.
In a nutshell, Export the window-to-perferences configuration file, replace ". ABC" with ". Abcdefghijklmnopqrstuvwxyz", modify and then import the configuration file
The following steps are described:
1. Open eclipse, then "window" → "Preferences"
2. Select "Java", expand, "Editor", and select "Content Assist".
3. Select "Content Assist" and see the "Auto Activation triggers for Java" option under "Auto Activation" on the right. Actually, it means "." is the trigger code hint. This symbol.
4. "Auto Activation triggers for Java" option in "." After the addition of ABC letters, convenient to find the following changes. Then "Apply" and click "OK".
5. Then, "File" → "Export", in the pop-up window select "General" → "perferences", click "Next".
6. Select the export file path, I export to the desktop, enter "ABC" as the file name, click "Save".
7. On the desktop, locate the file "ABC.EPF" that you just saved, and right-select "Open with Notepad."
8. Press "CTRL + F" shortcut key, enter ". ABC" and click "Find Next".
9. Find the configuration information for ". ABC" as follows:
10. Change ". abc" to ". ABCDEFGHIJKLMNOPQRSTUVWXYZ (,", Save, Close "TEST.EPF").
11. Back to the MyEclipse interface, "File" → "Import", in the pop-up window select "Perferences", click "Next", select
Select the "abc.epf" file that you have just modified, click "Open" and click "Finish". This step is similar to the export step above.
12. After the modification, test it on the line.
How to turn on the Eclipse Code hints feature