Play2
Compiler
Use this tab to manually specify settings for the Play2 compiler if they were not generated automatically during the project import or if the project was created with an external tool such as gen-idea.
Item | Description |
---|
Use SBT Watcher | Select this check box to separately execute an SBT process with ~compile:test command. In this case IntelliJ IDEA monitors project sources and recompiles the project when changes are detected. |
Use Play 2 compiler for this project | Select this check box to use the Play 2 compiler version to enable the Play 2 compiler for this project explicitly . |
Don't compile the project within IDEA before run | Select this check box if you do not want to compile the project before run. SBT will additionally compile the necessary source files. |
Play2 module | Use this field to specify the Play 2 module for this project. |
Project uri | Use this field to specify the SBT project's root address. For the imported projects, the SBT project's root matches the content root of the IntelliJ IDEA project. |
Additional SBT options | Use this field to specify additional options that you can pass directly to SBT. For example, -Xmx2048M . |
Routes
Use this tab to configure settings for the routes file in your project.
Item | Description |
---|
Minimum space for routes formatting | Use this field to set a minimum space for routes formating. |
Ignore URL depth in route files | Select this check box to ignore the URL depth in the routes files. |
Re-format routes file on Enter | Select this check box to reformat new entry in your routes file when you press Enter. |
Other
Use this tab to configure additional settings for your Pla2 project.
Item | Description |
---|
Exclude 'target' dir on refresh | By default, when you refresh a project the 'target' directory is excluded. Clear this check box if you want to include the 'target' directory when your refresh your project. |
Set template imports manually | Select this check box to add the Play2 framework's imports manually to your project. |
Last modified: 18 July 2017