http://alorry.blog.163.com/blog/static/6472570820122883822790/
Body:
The Eclipse Code AutoComplete feature defaults to only the point ".", that is, only the input "." The auto-complete prompt box appears. It is also troublesome to always press "ALT +/" To complete the auto-completion.
in fact, simply setting it in Eclipse allows you to enter any and all auto-completion prompt boxes.
The
setup steps are as follows:
- Select the Preferences item under the Windows menu in the Eclipse menu bar
- On the left, find "Java" = "Editor" = "Content Assist" (mouse click this)
- Find "Auto Activation triggers for Java" under the "Auto Activation" item on the right (you can see that the default in the Settings box is only ".", which is why the default is only "." To trigger an auto-complete window)
- At the midpoint of the box. Then enter the letter you want to trigger the auto-completion (the middle does not need to be separated, you can type it next to each other), such as: "Abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyz.", Typing any uppercase and lowercase letters when you write the code will trigger an auto-fill window Popup
- OK when you are finished typing.
"Go" eclipse how to set up auto-complete