4

Iam in the process of learning Scala using IntelliJ IDEA 10.0.x with scala plugin and I have found that compiling scala takes more than 10 secs. I know there is a an option to turn on the fast code compilation (FSC) in scala however Iam unaware of how to configure that in IDEA is there any option available.

prassee
  • 3,651
  • 6
  • 30
  • 49

2 Answers2

6

After reading "Why does IntelliJ IDEA compile Scala so slowly?", I would rather use IntelliJ IDEA with sbt:

  • idea-sbt plugin: for using the SBT Console tool window to enter SBT commands directly.

Note that sbt cannot use fsc either (in interactive mode).

Community
  • 1
  • 1
VonC
  • 1,262,500
  • 529
  • 4,410
  • 5,250
2

After create a scala project in IDEA go Run/Edit Configurations:

  1. Click in +
  2. Select Scala Compilation Server, and give a name to this configuration.
  3. Now press run.