Postfix Completion lets you transform an expression into another one, based on the postfix you specify after the dot, the current context, and the expression type.
For example, you can turn a bool expression into an if statement, or create a pointer to an expression. If anything goes not as planned, everything can be reverted via simple ⌘Z (macOS) / Ctrl+Z (Windows/Linux).
Open the Postfix Completion page via Settings/Preferences | Editor | General to see the complete list of supported templates.
Postfix Completion options are displayed as a part of theBasic Completion
suggestions list. Press Ctrl+J on Windows/Linux, or ⌘J</kbd on macOS to see a full list of the Postfix Completion templates applicable in the current context.