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
- Select or clear the check box Enable postfix templates in the Postfix Templates page of the editor settings.
Using postfix templates
- Type your code followed by a dot, until a suggestion list appears , or press .
- 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.
There is one more template not included in the list of available postfix templates; this is negating an entire expression with an exclamation mark (!).