Content/Code Assist
If activated from a valid line of code in an editor, this command opens a scrollable list of available code completions. Some tips for using code assist are listed in the following paragraph:
-
If you select and then hover over a selected line in the content assist list, you can view Javadoc information for that line.
-
You can use the mouse or the keyboard (Up Arrow, Down Arrow, Page Up, Page Down, Home, End, Enter) to navigate and select lines in the list.
-
Clicking or pressing Enter on a selected line in the list inserts the selection into the editor.
-
You can access specialized content assist features inside Javadoc comments.
Configure the behavior of the content assist in the Java > Editor > Code Assist preference page.
Java editor
Java Development Tools (JDT)
Using content/code assist
Edit menu
Java editor preferences
Templates preferences