Is there a way to create custom postfix completions in IntelliJ?

前端 未结 3 1353
走了就别回头了
走了就别回头了 2020-12-31 02:50

I want to be able to make custom postfix completions, but I can\'t seem to find anywhere to do so and haven\'t been able to find anything online. Anyone know how?

3条回答
  •  难免孤独
    2020-12-31 03:07

    You can't.
    Well, postfix feature is basically Postfix Plugin for IntelliJ(now integrated). All templates are just compiled code, as you can see here:

    https://github.com/controlflow/intellij-postfix/tree/master/src/org/jetbrains/postfixCompletion/templates

    Sadly, there isn't such easy xml like configuration. :(

提交回复
热议问题