IntelliJ IDEA plugin development in other JVM languages

后端 未结 1 330
傲寒
傲寒 2021-01-19 00:09

Is it possible to use other JVM languages such as Scala and Clojure for developing an IntelliJ IDEA plugin? Or do we have to use Java for this purpose? I could find no point

相关标签:
1条回答
  • 2021-01-19 00:49

    Yes, it is entirely possible.

    Any plugin essentially is a set of extensions for several extension points which IDEA API provides. These extensions are regular java classes implementing predefined interfaces, and these classes are referenced to in the manifest. Also, you can bundle any libraries along with the plugin. So, if your language of choice allows implementing interfaces and finding out resulting class names, then nothing prevents you writing plugins in it.

    0 讨论(0)
提交回复
热议问题