Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Play framework support in IntelliJ IDEA Community Edition

I installed IDEA version 15 with the Scala plugin, but Play projects are enabled only in the Ultimate edition. I'm new to Scala and Play, any issues if I run Play outside of IDEA? Would Play "hot deploy" any changes I make in scala source code?

like image 483
ps0604 Avatar asked Oct 15 '25 21:10

ps0604


2 Answers

Just open it as an SBT project and it's fine.

like image 171
andyczerwonka Avatar answered Oct 17 '25 10:10

andyczerwonka


This is how it works: (1) create a project using play/activator, (2) open IntelliJ and import as SBT project (accept all defaults), (3) run the project in a command line (externally to IntelliJ), (4) edit project source files in IntelliJ - when you update a file, it is automatically compiled (you can see that refreshing the url localhost:9000)

like image 27
ps0604 Avatar answered Oct 17 '25 10:10

ps0604



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!