Child pages
  • Scala Compiler Settings
Skip to end of metadata
Go to start of metadata

Starting from version 2.7.2 Scala compiler supports compilation of mixed Scala/Java code base.

Mixed Code Base Compilation Requriements

  • Scala version 2.7.2 or later
  • Scala code should be compiled before Java

IntelliJ IDEA Scala plugin includes settings that let you affect the mixed code base compilation.

  1. Press Ctrl+Alt+S to open the Settings Dialog
  2. Expand Compiler
  3. Click Scala Compiler 

Select Compile Scala files first if you are using a 2.7.2 or later version to propely compile the mixed code base.
If you're using an older version, it's good to clear this option because the mixed code base is not supported anyway.

  • No labels


  1. Anonymous

    are the command line options the ones supporte by scalac?

  2. Anonymous

    when will the new compiler server be standard?

  3. Anonymous

    The first comment is really important, how do the "Command line parameters" work?!

    Every scalac-option entered here is rejected! W T F!

  4. This is way out of date; most options were moved to the Scala facet, and additional options were added since the last update (e.g. fsc use in the plugin).