Overview
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:
- Select or clear the check box Enable postfix templates in the Postfix Templates page of the editor settings.
Using postfix templates
To apply a postfix template:
- Type your code followed by a dot, until a suggestion list appears , or press ⌘J or ⌘J⌘J or ⌘J^ J, ⌃J or ⌃J^ J, ⌃J or ⌃J.
- Choose the desired postfix template from the suggestion list. If necessary, choose an expression to be surrounded or replaced.
- Press the expansion key, defined in the Postfix Templates page of the editor settings.
Example

There is one more template not included in the list of available postfix templates; this is negating an entire expression with an exclamation mark (!).