How to create a Play project in IntelliJ IDEA 14 Community Edition?

I am trying to create a Scala project in IntelliJ IDEA 14. As mentioned in the IntelliJ IDEA help , the Scala plugin already has Play 2.x support.

I installed the Scala plugin, and when I create a new project, I can select the Scala > Scala and Scala > SBT projects, but there is no Scala > Play 2.x .

Are there any additional measures necessary to ensure accessibility? I am using IDEA 14 Community Edition.

I tried to import the module into a Scala project using the generated generated .impl file, but the IDE was not able to handle it well, for example. found errors in the full game! views.

+5
source share
2 answers

Play Framework is only supported in the final edition of Intellij Idea.

Here https://www.jetbrains.com/idea/features/editions_comparison_matrix.html , section "Frames and Technologies".

+9
source

For anyone looking for an answer for Play 2.4+, the easiest way to get up and running is:

  • Create a new launch configuration. In the main menu, select "Run" → "Change Configurations"
  • Click the "+" button to add a new configuration.
  • From the list of configurations, select "SBT Task"
  • In the input field "tasks" just put "run"
  • Apply changes and select OK.

Now you can select Run from the Run main menu and launch the application

https://www.playframework.com/documentation/2.4.x/IDE

+3
source

Source: https://habr.com/ru/post/1208246/


All Articles