First step: Open Eclipse, select Window-->preferences in the menu bar
Step two: Select General-->keys on the Left tree menu bar
Step three: Enter content in the text box on the right and select content Assist
The fourth step: then press the alt+/key in the binding to indicate the shortcut key for the item, and select editing text in when, indicating that it can be triggered when the text is edited.
Fifth step: Select Content assist--> in conflicts click the button apply
Sixth step: After the above steps, press alt+/to be able to prompt the smart
Add: If you go through the above steps or feel the trouble of alt+/, then, from the left of the tree column, select: Java-->editor-->content Assist, on the right of the auto activation trigger for There is only one '. ' In the Java text box, then '. ' Overwrite to the following string:
. abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz
Click OK, then you do not need to press alt+/to automatically prompt.
Code hinting feature for Eclipse or MyEclipse