-
Notifications
You must be signed in to change notification settings - Fork 64
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Managed ClassPath in Runtime + Scala.js causes Intellij to Perform Full Optimized Scala.js build in project load #154
Comments
yes I am seeing something like this too |
Is there an issue filed with Jetbrains about this? |
@wsargent Not that I am aware of, but is it their fault? Afaik, Intellij now uses SBT to resolve dependencies, so it seems like SBT is triggering the build of Scala.js when it shouldn't be? |
Is there any progress on this, or should I make an issue at Jetbrains? |
I made an issue on Intellij's bug tracker to see if its on their end https://youtrack.jetbrains.com/issue/SCL-12594 |
IntelliJ Scala developer here. The IntelliJ import depends on the |
@wsargent So it seems like this is purely an issue with sbt-web or Scala-js, if you do this managedClasspath in Runtime += (packageBin in Assets).value You are literally telling SBT (and hence Intellij) that in order to evaluate my classpath you need to package all of my assets (which actually doesn't make any sense, they are seperate things). I have also made an issue with Scala-js |
@jastice Perhaps IntelliJ should read the value of |
@sjrd IntelliJ actually depends on |
I will involve the sbt guys to see whats their comment here |
If you use
sbt-web
combined with Scala.js and you use the following in your build.sbtWhen you try to load the project in IntelliJ with this following line, IntelliJ tries to do a full optimized Scala.js build when you try to load the SBT project. Often this times out and causes the project to be unusable within Intellij.
I am not entirely sure if this is an issue with Scala.js or sbt-web. sbt-web is what requires you to put
managedClasspath in Runtime += (packageBin in Assets).value
inside your build.sbt, but I think this clashes with Scala.jsThe text was updated successfully, but these errors were encountered: