开发者

improving scala code compilation time in Intellij IDEA

Iam in th开发者_运维百科e 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.


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).


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.
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜