Intellij Idea setup for Scala, clarification needed

前端 未结 3 1228
無奈伤痛
無奈伤痛 2020-12-14 03:28

Using IntelliJIdea 12, i downloaded the Scala plugin and created a HelloWorld application.

The following import seems odd. Why does IDEA not recognize this to be a S

3条回答
  •  天涯浪人
    2020-12-14 04:01

    When creating a new Scala project from the wizard IDEA can download and configure everything for you:

    New Scala Project

    Settings can be changed later in the Scala Facet:

    facet

    and in Compiler:

    compiler

    Libraries configuration:

    compiler

    scala

    Code and imports completion is available from the Scala library:

    completion

提交回复
热议问题