IntelliJ IDEA 14.1.0 Help

Using Postfix Templates


Postfix templates appear after dot in Java code. They are especially useful to speed up coding, enabling you to reduce backward caret jumps.

Enabling or disabling postfix templates

To enable or disable showing postfix templates in the suggestion list:

Using postfix templates

To apply a postfix template:

  1. Type your code followed by a dot, until a suggestion list appears , or press Ctrl+J.
  2. Choose the desired postfix template from the suggestion list. If necessary, choose an expression to be surrounded or replaced.
  3. Press the expansion key, defined in the Postfix Templates page of the editor settings.



Important note

See Also

Last modified: 14 July 2015