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.

Labels:
None
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.
  1. Jan 07, 2010

    Anonymous

    are the command line options the ones supporte by scalac?

  2. Mar 17, 2010

    Anonymous

    when will the new compiler server be standard?

  3. Jun 04, 2010

    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. Jun 23, 2011

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