How do I build the Scala plugin in IDEA?
Hi,
I'm interested in fixing some bugs in the plugin.
I followed the guide on http://confluence.jetbrains.net/display/SCA/How+to+build+Scala+plugin+for+IntelliJ+IDEA+from+scratch , checked out the plugin sources and compiled it using ant. That worked fine.
But how do I set up the IDEA project correctly?
I followed the steps on http://www.jetbrains.org/display/IJOS/Writing+Plug-ins and configured an "Intellij IDEA SDK" using IDEA IC-96.1121. Afterwards, IDEA could find most of the intellij packages and classes, but it still claims about a few missing ones:
com.intellij.psi.impl.PsiManagerImpl
com.intellij.psi.impl.compiled
So what did I wrong?
Please sign in to leave a comment.
Modify your IDEA SDK to include:
$IDEA_HOME/lib/idea.jar
$IDEA_HOME/plugins/maven/lib/maven-facade-api.jar
$IDEA_HOME/plugins/maven/lib/maven.jar
$IDEA_HOME/plugins/maven/lib/maven-2.2.1.jar
Would be nice to get this documented on confluence.
-jason
Thanks. I got it working now, at least the module "Scala". I added the lib/idea.jar to the SDK and the scalap.jar to the project. But I could not find maven jar files in my IDEA installation (community edition). Therefore, I had to exclude two files from compile which references org.jetbrains.idea.