rikvdkleij / intellij-haskell

IntelliJ plugin for Haskell
https://rikvdkleij.github.io/intellij-haskell/
Apache License 2.0
1.31k stars 94 forks source link

compilation errors when building plugin #472

Closed joprice closed 5 years ago

joprice commented 5 years ago

I am interested in contributing, so I tried building the project by following the steps in the contributing guidelines, but the build failed with many compilation, e.g. missing imports like import com.intellij.compiler.impl._. It seems like something is missing from the classpath. I made sure to run updateIdea, and I did see the correct idea build get downloaded when starting sbt.

rikvdkleij commented 5 years ago

Great to hear!

Thanks for reporting. I can reproduce this issue with sbt. There are 2 libraries with same package name. For now I do not know how to solve this.

Alternative solution is to import the project in IntelliJ. Compiling inside IntelliJ works. You can try that.

rikvdkleij commented 5 years ago

FYI, created issue https://github.com/JetBrains/sbt-idea-plugin/issues/24

rikvdkleij commented 5 years ago

@joprice Adapted the build instructions because of this issue.

mutcianm commented 5 years ago

Please add java plugin as an internal plugin dependency See https://github.com/JetBrains/sbt-idea-plugin/issues/24#issuecomment-532883050

rikvdkleij commented 5 years ago

@mutcianm Thanks for helping!