Content/Code Assist

In the Java editor press Ctrl + Space on code to complete. This opens a list of available code completions. Some tips for using code assist are listed in the following paragraph:

Configure the behavior of the content assist in the Java > Editor > Code Assist preference page.

Java editor
Java development tools (JDT)

Edit menu
Java editor preferences
Templates preferences