Getting Started with Play 2.0 in IntelliJ IDEA 12
December 13th, 2012 by Andrey CheptsovAs you know the new release of IntelliJ IDEA finally comes with support for Play 2.0, a popular Java and Scala framework for web development.
The support brings new project wizard, run/debug configurations and code assistance for Scala templates and routes, with code completion, navigation and on-the-fly code analysis.

Now you don’t need to switch between IntelliJ IDEA and Play console anymore. Everything is available right from your favorite IDE.
To enable support for Play 2.0, you need to install the plug-in from the repository.

Check also a quick tutorial showing how to create and run a simple Play 2.0 application from IntelliJ IDEA.
As always very welcome with suggestions and feedback on the discussion forum and in our issue tracker.
Develop with Pleasure!
Tags: Leda, Play 2.0, Play Framework, Tutorials

December 13th, 2012 at 10:38 am
Nice!! Was trying to figure out this integration last night. Very timely. Thanks.
December 13th, 2012 at 1:39 pm
And here I’ve been bumping along without the 2.0 plugin. Good tip…
December 13th, 2012 at 8:53 pm
Help me, Play 2.0 plugin does not show up in the repository on intelliJ here?
December 14th, 2012 at 3:56 pm
Play framework plugin does not work. I’ve installed it together with another playframework plugin but I do not see any play console in tools and there is no highlightning in the templates of my idea play projects.
December 16th, 2012 at 9:09 pm
Dealing with dependencies within Intellij with Play projects is a bit of a nightmare. is there any help for this? When I add a new dependency, it seems as though I have to do all the work to add it, and all the dependent libraries to the project. Is that the case?
December 18th, 2012 at 10:00 am
I’ve tried for several hours to setup intelliJ with a play app but failed.
I receive numerous errors, no template code highlighting, etc. I am uncertain as to what the actual problem is. Is there a good step-by-step tutorial on how to setup IntelliJ for Play! apps? The one on the play homepage didn’t help.
December 18th, 2012 at 10:13 am
Sample errors:
Cannot resolve method ‘ok(?)’
Cannot resolve symbol ‘index’
December 19th, 2012 at 4:09 am
@stefan Actually a link to the tutorial is attached to the blog entry: http://confluence.jetbrains.com/display/IntelliJIDEA/Play+Framework+2.0
December 26th, 2012 at 5:52 pm
Where can I find Play console in IDEA for Play 2 framework?
December 27th, 2012 at 11:34 am
@Lev, it is supposed that you don’t need it anymore, and the IDE provides what you need (e.g. run, compile, etc).
December 27th, 2012 at 2:23 pm
Is there a way to generate ER diagram of Play 2 model?
December 28th, 2012 at 2:45 pm
Play 2.0 plugin does not show up in the repository on intelliJ. Why?
January 13th, 2013 at 2:28 am
How to debug Play 2.0 application with IDEA 12?
When I run “Debug” command it acts the same way as “Run” starting Play on a usual port, but not on Debug Port.
January 16th, 2013 at 9:27 am
Same issue here, play2 runner does not start the debug port…
January 24th, 2013 at 11:35 am
Is it possible to debug play 2 apps with IDEA?
February 6th, 2013 at 7:30 am
Hi.
Actually it seems not to work with Play 2.1, but will it soon ?
Thanks.
February 11th, 2013 at 1:51 pm
I am having the same problem as @Egor: Play 2.0 plugin does not show up in the repository on intelliJ. Please respond to us.
February 12th, 2013 at 7:28 pm
@Egor and @Lesly
One of the reasons why Play 2.0 plug-in will not show-up in the repository is the edition of IntellJ IDEA you are running. It is supported in Ultimate edition only.
February 26th, 2013 at 9:01 am
I am student planning to apply for an Academic license for IntelliJ idea. Will this verison include support for the Play framework as that is what I need IntelliJ for?
February 26th, 2013 at 1:03 pm
@Brian, sure. It will include everything what is available in IntelliJ IDEA Ultimate.
February 28th, 2013 at 11:59 am
I am having a problem when I attempt to create a new Play framework project. I am evaluating IDEA 12. When I attempt to create a new Play project I do not see it as an option.
February 28th, 2013 at 12:01 pm
Relating to my previous question: I am using IDEA 12 Ultimate
February 28th, 2013 at 12:55 pm
I also installed IDEA 12.1 EAP Ultimate to try to create Play framework projects with no success.. I dont even see it as an option…Also, when I try to use “Add Framework support” to an existing Play! project, the play framework is not even listed…
February 28th, 2013 at 1:01 pm
Additional info relating to my posts above: I am using Mac OSX Lion
March 1st, 2013 at 5:37 am
Yep, play support seems to be broken. Using play framework 2.1 and IntelliJ build 123.169. Currently evaluating Ultimate Edition and will not be able to purchase license until I can evaluate play support. Hopefully JetBrains can update us as to when it will be fixed.
March 1st, 2013 at 8:43 am
@GJ Says: Have just checked Play support on 128.18 and everything works smoothly for me. Could you please add more details to the ticket, or try to double check if you have updated the plugin.
March 1st, 2013 at 8:55 am
Additional info relating to previous comments: I am also using play 2.1…
I also tried uninstall and reinstall of IDEA 12 Ultimate (and EAP) no success with Play support…I also tried to update the Play support plugin by downloading it and installing it via “Downloaded Plugins” feature..with no success either…So I am going to hold off recommending IDEA 12 Ultimate for my company.
March 1st, 2013 at 9:18 am
Hi, just installed latest version from website. Chose all default settings when installing. Checked plugins screen to ensure Playframework was checked. When I select New Project I am presented with the list of project types but Play is not listed. If I open an existing play project I don’t get any of the play features.
Running Windows 7 64bit
March 11th, 2013 at 12:08 pm
Same with me as with last couple of posters. I am on latest 12.0.4 Ultimate and trying to create/import Play 2.1.0 with no luck. Create new project shows no Play module and when trying to import existing Play project ( which has been morphed into Idea project with stb) gives me message no frameworks were detected. Hope this is going to get fixed asap.
March 22nd, 2013 at 11:51 am
I have the same problem - no Play Module available in Create New Project. Play 2.1.0 and Ultimate 12.0.4 (evaluation). I can’t buy unless this is fixed. Any news on a solution?
March 25th, 2013 at 7:00 pm
I have the same problem, no Play module shows in Create New Project. I bought IntelliJ purely for its Play support so this is a critical issue for me. What is the latest information on this problem?
March 27th, 2013 at 7:32 am
I deleted
~/Library/Application\ Support/IntelliJIdea12/
~/Library/Caches/IntelliJIdea12/
that solved it for me. Probably some other plugin that is causing a conflict
April 15th, 2013 at 5:08 am
Did you try 12.1? It should be fixed there