Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ IDEA plugin development in other JVM languages

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 pointers on this on web, hence posting the question here.

like image 587
missingfaktor Avatar asked Apr 13 '13 15:04

missingfaktor


People also ask

Does IntelliJ support other languages?

Though designed primarily for Java development, IntelliJ IDEA understands many other programming languages, including Groovy, Kotlin, Scala, JavaScript, TypeScript, and SQL, and it provides smart coding assistance for each of them.

Which JVM does IntelliJ use?

Change the boot Java runtime of the IDE As a Java application, IntelliJ IDEA requires a Java runtime environment (JRE). By default, IntelliJ IDEA uses JetBrains Runtime (a fork of OpenJDK), which is included with the IDE.

Is IntelliJ IDEA a JVM?

IntelliJ IDEA is an Integrated Development Environment (IDE) for JVM languages designed to maximize developer productivity.


1 Answers

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.

like image 115
Vladimir Matveev Avatar answered Oct 04 '22 02:10

Vladimir Matveev