IntelliJ IDEA IDE integration

Import steps:

1. Import the project as Maven project.

imp0.png

Click Import Project button.

imp.png

Select Maven external model and click Next button.

imp2.png

Accept default values and click Next button.

imp3.png

Click Next button.

imp4.png

Click Finish button.

When import process finishes, the project looks like on the image below.

imp5.png

It requires two additional configuration steps.

2. Configure project after import

Open project’s popup menu

imp6.png

and click Maven/Generate Sources and Update Folders menu.

Maven generates Scala and Java sources from routes file and HTML templates and adds target/src_managed/main as additional sources root

imp7.png

3. Add Scala support

Open project’s popup menu

imp8.png

and click Add Framework Support… button.

imp9.png

Select Scala support and click OK button.