代码之家  ›  专栏  ›  技术社区  ›  zerocewl

如何向Intellij插件添加文件模板?

  •  3
  • zerocewl  · 技术社区  · 8 年前

    为了Intellij的想法?

    https://www.jetbrains.org/intellij/sdk/docs/tutorials/live_templates.html

    1 回复  |  直到 8 年前
        1
  •  1
  •   zerocewl    8 年前

    也许有人也需要解决方案…

    1. 将.ft扩展名添加到模板文件中,例如testtemplate.py.ft

    File templates of the Julia plugin for the IntelliJ Platform

    另请参见: File Template extension with IntelliJ plugin