Search code examples
intellij-ideaidelive-templates

How can i make special live template in IntelliJ?


I have been make Live Template in IntelliJ which name is syso [ System.out.println($END$); ]

But i want to make like sout or par. didn't find anything information.

a busy cat

How can i do this??


Solution

  • I did not find the release number bringing this feature, but as of 2019.2.1 you can now edit and create custom Postfix Completion really easily in File | Settings | Editor | General | Postfix Completion.

    Note: to my knowledge, you cannot edit some built-in postfix templates (e.g.: !).

    Source: https://www.jetbrains.com/help/idea/settings-postfix-completion.html