Clear Play Framework Structure in IntelliJ

I had a spelling error in the conf/routes file that caused the wrong class names to be created in the Play Framework. Reconstructing a project and even launching Invalidate Caches does not solve the problem in IntelliJ.

Wrong class files were regenerated when I manually ran play clean from the command line.

Is there a Build Clean equivalent for Play Framework projects in IntelliJ?

+4
source share
2 answers

You can use cd for the project and run play clean compile

or

create a launch configuration to make it directly from IDEA: enter image description here

+8
source

Assuming this is a 2.x game, you can run the command:

 cd <project-dir> ../play clean-all 
0
source

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


All Articles