After you press "." When writing a Java file, eclipse does not prompt. press Alt +/and no code prompts to finally find a solution, as shown below:
1. Check the options WINDOW> preferences> JAVA> editor> content assist> enable auto activation.
2. For Windows --> preference --> workbench --> keys, set the content assist shortcut key.
3. Window-> preferences-> JAVA-> Editor-> content assist-> select the proposal kinds contained in the 'default' content assist list on the tab above the advanced: to check the other Java proposals option.
For details about how to use Chinese eclipse, see the following:
1. Choose menu> WINDOW> preferences> JAVA> editor> content assist> enable automatic activation.
2. Window --> preferences --> workspace --> key-> Restore Default Value
3. Window-> preferences-> JAVA-> Editor-> content assist> advanced, select the "default" option in the recommendation type included in the content help list and check other suggestion options. you can.