Using content/code assist

You can use content assist (also called code assist) when writing Java code or Javadoc comments.

  1. Place your cursor in a valid position on a line of code in an editor and either If the Java editor finds valid candidates for this position, a list of possible completions is shown in a floating window. You can type further to narrow the list. You can also hover over the selected list items to view its Javadoc information, if it is available.
  2. Use the arrow keys or the mouse pointer to navigate through the possible completions.
  3. Select an item in the list to complete the fragment by doing one of the following:

Related concepts

Java editor
Scrapbook

Related tasks

Using the Java editor
Formatting Java code
Using the Java editor
Viewing Javadoc information
Views and editors

Related reference
Java Content Assist