File | Settings | Editor | General | Postfix Completion

Overview

Postfix code completion lets you transform an already typed expression to another one based on the postfix you type after a dot, the type of the expression, and its context. This transformation is performed by expanding the postfix-specific predefined template. For example, the .if postfix applied to a boolean expression wraps it with an if statement. See more at: http://blog.jetbrains.com/idea/2014/03/postfix-completion/#sthash.mI1AHa17.dpuf.

On this page, enable and disable postfix templates and appoint key to activate the template expansion.

Controls

ItemDescription
Enable postfix templates Select this check box to enable using postfix templates; if this check box is not selected, the postfix templates will not be used:

postfix_templates1

Expand templates withFrom the drop-down list, select the key that will expand the selected postfix template. The possible options are: Tab, Space, and Enter.
Table of available postfix templates The table below shows the list of available postfix templates. To enable or disable a template, select or clear the check box next to it. When you select a template, the right-hand pane shows its description and illustrates how it works by displaying the expression before and after the selected template is applied.

See Also

Procedures:

Web Resources: