Accepted answer

You need to install the IDEA Scala plugin, have your project with the Scala Facet, and make sure you have a valid compiler.

I use maven projects so IDEA picks up the configurations.

I would recommend you check the plugin site and the community for more details.

Related Query

More Query from same tag