# Postfix Completion

> **TL;DR**
> `File | Settings | Editor | General | Postfix Completion` for Windows and Linux
>
>
>
> `IntelliJ IDEA | Settings | Editor | General | Postfix Completion` for macOS
>
>
>
> `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) ![the Settings icon](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.settings.svg)

On this page, enable and disable postfix templates , create new ones, and choose keyboard keys to expand them.

> **Note:**
> Learn more about using postfix completion from [Postfix completion](postfix-code-completion.html).

| Item | Description |
| --- | --- |
| Enable postfix completion |      * Select this checkbox to have IntelliJ IDEA transform expressions with postfixes into other expressions by expanding postfix-specific templates. When the checkbox is selected, choose the postfixes to apply transformations to by selecting the checkboxes next to postfixes in the list below.    * When this checkbox is cleared, no template expansion is applied.    |
|  Expand templates with  |  From this list, choose the keyboard key that will invoke template expansion. The available options are: `Tab` (Windows), `⇥` (macOS), `⇥` (IntelliJ IDEA Classic (macOS)), `⇥` (macOS System Shortcuts), `Tab` (XWin), `Tab` (GNOME), `Tab` (KDE), `Tab` (Emacs), `Tab` (Sublime Text), `⇥` (Sublime Text (macOS)), `Tab` (NetBeans), `Tab` (Visual Studio), `⇥` (Visual Studio (macOS)), `Tab` (Eclipse), `⇥` (Eclipse (macOS)), `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `Enter` (NetBeans), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (Eclipse), `⏎` (Eclipse (macOS)), or `Space` (Windows), `Space` (macOS), `Space` (IntelliJ IDEA Classic (macOS)), `Space` (macOS System Shortcuts), `Space` (XWin), `Space` (GNOME), `Space` (KDE), `Space` (Emacs), `Space` (Sublime Text), `Space` (Sublime Text (macOS)), `Space` (NetBeans), `Space` (Visual Studio), `Space` (Visual Studio (macOS)), `Space` (Eclipse), `Space` (Eclipse (macOS)).  |
| List of available postfix templates |     To enable or disable a template, select or clear the checkbox next to it. When you select a template, the right pane shows its description and illustrates how it works by displaying the expression before and after the template is applied.        Custom templates can be copied, updated, and removed. For predefined templates you can only change their postfixes, for example, to replace a long key with a shorter one, or to expand the list of expression types where a template can be applied.        * To add a custom template, click ![Add button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.add.svg) and [create a new template](postfix-code-completion.html#custom-postfix-templates) in the dialog that opens.    * To remove a template, select it in the list and click ![Remove button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.remove.svg). Note that you can remove only user-defined templates. For the predefined ones the icon is not available.    * To edit a template, select it and click ![Edit button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.edit.svg).    * To copy a template, select it in the list and click ![Duplicate button](https://resources.jetbrains.com.cn/help/img/idea/2026.2/app.expui.general.copy.svg).    |

## How it works

* [Postfix completion](postfix-code-completion.html)

## See also

### Procedures

[Postfix code completion](postfix-code-completion.html)

