Pretty straightforward: I'm allergic to Java but want to write a plugin for IntelliJ. Is this possible?
It wants me to set up a project SDK, but it only allows for Java SDKs, not Scala. Since they both run in JVM, I don't see why using Scala would be a problem.
To start working with Scala in IntelliJ IDEA you need to download and enable the Scala plugin. If you run IntelliJ IDEA for the first time, you can install the Scala plugin when IntelliJ IDEA suggests downloading featured plugins. Otherwise, you can use the Settings | Plugins page for the installation.
The Scala plugin extends the Java plugin to add support for Scala projects. It can deal with Scala code, mixed Scala and Java code, and even pure Java code (although we don't necessarily recommend to use it for the latter).
Scala plugin for IntelliJ IDEA has 85% Scala code, so yes it's possible. You can take a look for our configuration: https://github.com/JetBrains/intellij-scala Together with setup description you will be able to setup plugin development for your plugin: http://confluence.jetbrains.com/display/SCA/Setting+up+Scala+plugin+project+in+IntelliJ+IDEA
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With