1, open Eclipse.
2. Open the window → Preferences.
3. Click Java→ Editor → Content Assistant.
4. Modify the value of java's automatic activation trigger to:. Abcdefghijklmnopqrstuvw xyzabcdefghijklmnopqrstuvw, and then click the Apply button.
5. If you need to modify the display time of the code prompt, please modify the value of automatic activation delay to the time you need, in milliseconds ... For example, if you enter 100, it means that the waiting time of the code prompt is100 ms.