Make sure that you have installed the necessary plugins or tools, such as code completion plugins or code hinting tools.
Check and confirm if the autocomplete function is enabled. In the settings of Eclipse, you can locate the relevant option and make sure it is turned on.
Try restarting Eclipse. Sometimes software may encounter issues that prevent its functions from working properly, and restarting may solve these problems.
Check the code for syntax errors or other issues, as this may cause the prompt function to not work properly.
If none of the above methods work, you can try uninstalling and reinstalling Eclipse, or updating Eclipse to the latest version.