Postfix Completion

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 Cmd+Z on macOS or Ctrl+Z on Windows/Linux.

Pro tip:

  • Postfix Completion options are displayed as a part of the Basic Completion suggestions list. Press ⌘+J on macOS or Ctrl+J on Windows/Linux to see a full list of the Postfix Completion templates applicable in the current context.
  • You can change the names of all Postfix Completions in the settings dialog.
  • In the same dialog, you can also disable the templates you don't need, or even turn off Postfix Completion completely.

How to use:

Open the Postfix Completion page via Settings/Preferences | Editor | General to see the complete list of supported templates. Learn, play, and of course, enjoy!