score:16
When creating a new Scala project from the wizard IDEA can download and configure everything for you:
Settings can be changed later in the Scala Facet:
and in Compiler:
Libraries configuration:
Code and imports completion is available from the Scala library:
score:2
I got around this by downloading the Scala library from scala-lang.org, unzipping it and then pointing the project to it. It worked fine after that. But of course, I'm an eclipse guy so perhaps someone else might be able to give you a better automated (?) solution. Here's what my project looks like in Module Settings -> Libraries:
score:5
You need to add Scala as a framework for your project.
To do this, right click on the top level directory in your project, choose "Add Framework Support..." and select Scala. Then Scala will be added as a "Facet" of your project.
Here is a good page with more info:
Source: stackoverflow.com
Related Query
- Intellij Idea setup for Scala, clarification needed
- How to use Scala in IntelliJ IDEA (or: why is it so difficult to get a working IDE for Scala)?
- Module SDK for Scala in IntelliJ Idea
- IntelliJ IDEA Hotkey for comment does not work with Scala
- Attaching sources in IntelliJ IDEA for scala project
- How to setup Intellij for Scala 2.10
- Stuck at "Hello World" with IntelliJ IDEA 9.0.1 for Scala
- Partial EMMA code coverage in Scala Case Class for IntelliJ IDEA 10.5
- How to configure code style for Scala in IntelliJ IDEA
- IntelliJ Idea debugger's evaluator gives different results than normal program for comparing Scala Long and Float variables
- Scala signature error for Scala module in IntelliJ Idea Maven project
- How to make Scala Power Pack for IntelliJ Idea to work?
- Unable to run integration test in Intellij Idea for scala project
- Scala plugin for IntelliJ IDEA 10 not detecting simple errors?
- Intellij Idea - what configuration to use for Scala
- Scala home directory for creating Scala project in IntelliJ IDEA
- How setup big data tools plugin for Intellij Idea to connect aws zeppeling notebook?
- Intellij IDEA - Cannot add framework support for Scala
- sbt version and scala version. project configuration for intellij idea with sbt-idea plugin
- Tell IntelliJ IDEA I want library sources for a Scala project after the fact
- IntelliJ Idea 13 setup Scala / Windows 7
- code completion for liftweb scala in intellij idea
- Intellij IDEA doesn't show compile errors for Scala project
- IntelliJ IDEA stopped offering Run... commands for Scala project after upgrading to 2019.3.3
- IntelliJ IDEA stopped offering Run... commands for Scala project after upgrading to 2019.3.3
- Workflow and Scheduling Framework for Spark with Scala in Maven Done with Intellij IDEA
- How to create xml scala code format schema for IntelliJ IDEA
- Setting up Intellij IDEA for Scala
- How can I use IntelliJ IDEA 10.5.2 to connect to a database for a Scala application
- IntelliJ Idea 12 + Android + Scala nowadays
More Query from same tag
- Cassandra Phantom tutorial : Are there any basic tutorials for using Phantom?
- How to split a List to tuples?
- Change values in a multidimension Scala array
- How to compose function to applicatives with scalaz
- Put elements in stream and return an object
- How can I select a non-sequential subset elements from an array using Scala and Spark?
- scalatest report contains $u0020 and $colon
- Scala get a substring
- Can't resolve symbol toJson
- Akka HTTP and Akka streams - using Flows with high level routes API
- Spark streaming does not print some data
- Store ListBuffer[List[Double]] with Redis
- mongodb ORMs without full schema?
- JOIN single table flink tableapi by two columns
- Scala filter to filter id's from list of string not working
- org.apache.avro.SchemaParseException: Undefined name
- Make List whose sublists cover all combinations of two input Lists
- Find min,max labels in RDD[LabeledPoint] Spark/Scala
- Scala: orElse on a component of a return value
- Build sbt project in uber jar instead of individual submodule jars
- How to parse two different types in one parser in Scala?
- What does "=>" mean in import in scala?
- Exclude libraries that are marked as Provided using the sbt-osgi plugin
- Turning A => M[B] into M[A => B]
- Scala lifting enums to native types with path-dependent types
- apache spark DataFrame Operations reading json file
- Change Spark Dataframe Array[String] to Array[Double]
- No ClassTag available compilation error
- Handling private fields in Scala traits when implementing them in Java
- Inheritance and self-recursive type inference