score:2
Accepted answer
Turning on fsc might help (it sets the Scala compiler up as a daemon / service rather than starting it from scratch every time). In Scala facet of your project:
click "Use project FSC", then click Settings and select a compiler library for fsc.
If you're doing a larger project you probably want to use sbt to manage your build, as it does incremental compilation. IDEA has a good sbt plugin you can try.
Source: stackoverflow.com
Related Query
- Complete code base is recompiled on every change in IntelliJ IDEA
- How to run tests on every code change in IntelliJ IDEA from Scala sbt project?
- How do I change intellij idea to compile with scala 2.11?
- How to run scala code on Intellij Idea 11?
- How to run Scala code in Intellij Idea 10
- Partial EMMA code coverage in Scala Case Class for IntelliJ IDEA 10.5
- How to configure code style for Scala in IntelliJ IDEA
- improving scala code compilation time in Intellij IDEA
- How make Intellij Idea debug a Play 2.1 app's source code files, instead of project definition only
- Intellij IDEA showing error on legit Scala code
- Intellij IDEA reformat scala code
- IntelliJ IDEA underlines my Scala code with implicits, but code works
- Code completion of not-imported "pimps" in IntelliJ IDEA
- Navigating the code of an actor system in Intellij IDEA
- Debugging scala code with recursive function in Intellij Idea
- Scala code compiles through command-line sbt but fails when compiled through Intellij Idea - how set up Intellij to use external sbt?
- Intellij IDEA 2017 Scala code inspection problems
- Intellij IDEA : Spark code running results in java.lang.VerifyError
- How to change Ivy home in IntelliJ IDEA
- Scalaz code highlighted with red in Intellij Idea 12 and 13
- SparkUI is stopping after execution of code in IntelliJ IDEA
- How to change runtime JAVA heap space in intellij IDEA on MacOS?
- Debugging the code of an external library in Intellij Idea
- Variable not appearing when debugging scala code with IntelliJ IDEA
- Problems to use scala code project in IntelliJ IDEA 15
- Formatting "*.scala.html" code in IntelliJ IDEA 15 community edition
- Error on opening the Apache Spark source code in IntelliJ IDEA
- Why my scala code works in IntelliJ IDEA but reports errors in cmd?
- IntelliJ IDEA Scala plugin good code red
- Set changing scala project dependency in Intellij IDEA 14 (for code completion and inspection)
More Query from same tag
- Arquillian Java deployment with dependent Scala classes will not load
- NullPointerException when testing controller in Play 2.6
- Slick 3.0 many-to-many query with the join as an iterable
- df.show() Not printing to file
- Scala: Transform and replace values of Spark DataFrame with nested json structure
- Update state in actor from within a future
- java.lang.NumberFormatException error in spark scala
- Traverse tree in a functional way
- In scala, is it possible to discourage the compiler from searching for Predef implicit first?
- Forms in Scala play framework
- Dead Code encountered with x fatal warnings on
- How to get the actorRef of the failing actor in a OneForOneStrategy setup?
- Trouble with deserializing Avro data in Scala
- How to get sum of product from columns in 2 data frame using PySpark
- When does Scala actually copy objects?
- Fragment Evaluation Error
- ProGuard fails with "Warning: class [*] unexpectedly contains class [*]", despite reading the FAQ
- Scala - Spark GraphX: debug code that runs Pregel operator
- Play 2: idiomatic approach to binding a form to List[Model]
- Get all arguments passed to a class in Scala
- Spark-shell uses different version of Scala. Used homebrew to install both scala and apache-spark
- Scala: Can you overload a constructor with more than just a one-line constructor?
- Why spark.read.parquet() runs 2 jobs?
- How to add multi-threading/multi-client feature to a very simple scala server program?
- Play Framework(Scala) Compilation not working propery
- The method execution puzzle in Scala
- Take first n records from dataframe grouped by unique id
- How to get all sublists possible from a list by removing one element in Scala?
- scala override methods in child object of class
- Acquiring 2 implicits for scalacheck function