IntelliJ IDEA 2017.1 Help

Getting Started with Scala.js

On this page:

Introduction

IntelliJ IDEA lets you import or check out from VCS an existing Scala.js project. Scala.js compiles Scala code to JavaScript and lets you write your Web application entirely in Scala.

Before you start

Before you start importing your Scala.js project, make sure that the Scala plugin is downloaded and enabled in IntelliJ IDEA.

Importing a Scala.js project

IntelliJ IDEA lets you import an existing Scala.js project.

  1. On the main menu select File | New | Project from Existing Sources.
  2. In the window that opens, select a file that you want to import and click OK. The Import project wizard opens.
  3. On the first page of the wizard, select Import project from external model option and choose SBT project from the list. Click Next.
    /help/img/idea/2017.1/sbt_import_project.png
  4. On the next page of the wizard, select SBT options and click Finish.
    /help/img/idea/2017.1/sbt_project_wizard_import.png

See Also

Concepts:

Last modified: 18 July 2017