See also the tutorial Getting Started with Scala.


1. Create play application with project wizard

Before you create a project make sure that Scala and Play Framework version 2.0 plugins are enabled in IntelliJ IDEA.

Starting with IntelliJ IDEA 14 EAP build, the Play 2.0 plugin is merged with the Scala plugin.


{span:class=shortcut}Project Wizard{span}
, select
{span:class=id}Play 2.x{span}
section and click

On the next page of the wizard, specify your project's information and click


The IDE will create an empty application.

2. Import play project

IntelliJ IDEA lets you import an existing Play project.

{span:class=shortcut}Project Wizard{span}
and select
{span:class=shortcut}Import Project{span}
You can also use main menu and select
{span:class=shortcut}Import Project{span}

In the window that opens, select a file that you want to import and click OK.

On the first page of the wizard, select Import project from external model option, choose SBT project from the list and click Next.

On the next page of the wizard, you can select the following options:

Click Finish.

3. Check project settings

To make sure that project libraries are set up correctly, open

{span:class=shortcut}Project Structure{span}
and check if module dependencies are resolved without warnings.

Since we use Scala for our application, also ensure that

{span:class=id}Compiler library{span}
is set in Scala facet settings.

4. Use code assistance features

When everything is set up, you can use code completion, navigation and on-the-fly code analysis features in your Play files. IntelliJ IDEA also supports code assistance for

files and code inspections.

5. Run play app

You can run Play application and check the output in your default browser.

6. Debug play application

You can easily start a debugger session. You can use default configurations' settings and simply click OK.

See also the tutorial Getting Started with Scala.