Using templates

To use templates:

  1. In the Java editor, position the caret in a place where you want to insert a template.
  2. Invoke content assist by pressing Ctrl+Space.
  3. Templates appear in the presented list. Note that the list is filtered as you type, so typing a few first characters of a template name will reveal it.
  4. Note that a preview is presented for each selected template.