Any working Play IDE?

559 views
Skip to first unread message

Marek Roman

unread,
Mar 27, 2013, 9:24:06 AM3/27/13
to play-fr...@googlegroups.com
Is there any IDE that works well with Play 2.1? I tried NB (with NBPlay, NBScala plugins), Eclipse, IDEA (with Play plugin) and they all work poorly with the framework (to say the least). There is zero support for html views with mixed in scala.

I mean, what are you developing Play in? What are sites like Linkedin working in?

I can't imagine that there isn't a single IDE that just works (code completion, views, routes and all).

Julien Richard-Foy

unread,
Mar 27, 2013, 9:28:52 AM3/27/13
to play-fr...@googlegroups.com
IntelliJ works well. Check that you installed the plugin for playframework 2.x.
Eclipse is getting better and better too.
> --
> You received this message because you are subscribed to the Google Groups
> "play-framework" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to play-framewor...@googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

Jonas K

unread,
Mar 27, 2013, 9:31:52 AM3/27/13
to play-fr...@googlegroups.com
The Eclipse Scala IDE (http://scala-ide.org/docs/tutorials/play20scalaide20/) with Play plugin (http://download.scala-ide.org/play2/nightly_3.0-M_juno_2.10-M/site/) has some support for templates and routes

_jonas

Andrew Gaydenko

unread,
Mar 27, 2013, 9:32:26 AM3/27/13
to play-fr...@googlegroups.com

Marek Roman

unread,
Mar 28, 2013, 7:41:35 AM3/28/13
to play-fr...@googlegroups.com
Thanks, that was the problem, I had the play framework plugin (default one) but not 2.x (from the plugin repository)... my bad.

Dne středa, 27. března 2013 14:28:52 UTC+1 Julien Richard-Foy napsal(a):

Elie Dac

unread,
Apr 2, 2013, 8:40:38 AM4/2/13
to play-fr...@googlegroups.com
Hi all, 

Just a little feedback: I've recently tried the three more famous IDE: Intellij IDEA, Scala-IDE for eclipse and Netbeans:

* Intellij IDEA: The Community Edition does not have Play2 support, it is only available on the Ultimate Edition => ~180$ => "goodbye my lover, goodbye my friend.."
However, it supports scala (for free this time! awesome isn't it?)

* Scala-IDE for eclipse: It does have a Play2 plugin, *but* it cannot indent scala code by default... because it does not understand inference. Here is the answer I've got from thr Scala-IDE ml:

On Thursday, March 28, 2013 1:45:16 PM UTC+1, Luc Bourlier wrote:
Yes, it is a long standing issue in the Scala editor [1].
This is the type of problem people don't really see anymore after a while, so it is really good to remind us of it.

In a nutshell, the code is using some Java code heuristics, which doesn't work fine in Scala (specially with inferred semi-colons). It likely needs to be rewritten from scratch.
The workaround is to use formatting (shift+ctrl+f) instead.



*  Netbeans: It knows how to parse Scala, but does not support Play2 yet. However, it seems to well support SBT

If anyone uses another IDE (available for Linux), I would be glad to give it a try since I'm currently using an editor without play 2.x support.

Elie


Derek Williams

unread,
Apr 2, 2013, 2:49:29 PM4/2/13
to play-fr...@googlegroups.com
I have not seen the lack of "complete" support as a real show stopper.  I use Eclipse Juno with the Scala plugin and it works pretty well.  The one thing that I occasionally wish that I had was a way to debug template code; my work around has been to put the code in question into a Scala class and debug it there, so not a big problem but it does consume time to work around.  I've also been pretty thrilled with Sublime Text which starts almost instantly and is very good for light editing, such as JS or templates.
Derek Williams
Cell: 970.214.8928

Michael Slinn

unread,
Apr 2, 2013, 3:57:30 PM4/2/13
to play-fr...@googlegroups.com, der...@gmail.com
I use IDEA Ultimate with Play and Scala. I debug template code by either putting breakpoints in the Scala files generated from the .scala.html files (look for them in the target/scala-2.10/src_managed/main/views.html directory), or by writing templates in pure Scala. BTW, IDEA 12.0.5, currently available as a free early access product, can do code completion, etc for Play templates. I believe 12.0.5 is expected to be released this week.

Mike

Derek Williams

unread,
Apr 2, 2013, 3:59:18 PM4/2/13
to Michael Slinn, play-fr...@googlegroups.com
Well, I feel dumb.  Thanks!


On Tue, Apr 2, 2013 at 1:57 PM, Michael Slinn <msl...@gmail.com> wrote:
I use IDEA Ultimate with Play and Scala. I debug template code by either putting breakpoints in the Scala files generated from the .scala.html files (look for them in the target/scala-2.10/src_managed/main/views.html directory), or by writing templates in pure Scala. BTW, IDEA 12.0.5, currently available as a free early access product, can do code completion, etc for Play templates. I believe 12.0.5 is expected to be released this week.

Mike



Michael Slinn

unread,
Apr 2, 2013, 4:01:53 PM4/2/13
to play-fr...@googlegroups.com, Michael Slinn, der...@gmail.com
Sorry, did not mean to make you feel bad. Just trying to be helpful!

Mike

Derek Williams

unread,
Apr 2, 2013, 4:08:19 PM4/2/13
to Michael Slinn, play-fr...@googlegroups.com
I was just kidding (insert face palm moment) It was quite helpful.   Thanks


On Tue, Apr 2, 2013 at 2:01 PM, Michael Slinn <msl...@gmail.com> wrote:
Sorry, did not mean to make you feel bad. Just trying to be helpful!

Mike



Elie Dac

unread,
Apr 3, 2013, 3:31:00 AM4/3/13
to play-fr...@googlegroups.com
Hi,

@Derek weird, a simple example makes the indentation to fail:

object Foo {
   val bar = 1
   val foo = bar // this line should not be correctly indented 
}

@Michael I cannot find the 12.0.5 version? Is this one for free for beta testers?

Elie



Skamander

unread,
Apr 3, 2013, 6:49:35 AM4/3/13
to play-fr...@googlegroups.com
@Elie Dac - There is no 12.0.5. From one of the JetBrains members: "Sorry, we are not going to build any 12.0.x builds anymore. But 12.1 is a direct successor of 12.0.x – both belong to bugfix stream, so for all practical means you may consider 12.1 as a 12.0.5 :)"

So you can use the 12.1 RC2 instead (30 days free testing of the ultimate edition)

http://confluence.jetbrains.com/display/IDEADEV/IDEA+12.1+EAP

---

I tried Eclipse (Scala IDE), Netbans and Intellij Ultimate for Play 2 development, and like Intellij the most from the Big Three. It has the best scala and play 2 support, which means good Intellisense, good auto imports, syntax / error highlighting etc, and is in my opinion the most respsonsive IDE of the three. The only "downside" is that you have to pay for it. But the JetBrains team delivers software which is worth the price.

Although I like Intellij, at the moment I prefer Sublime Text 2*. It has no real intellisense or autocomplete, and it can't auto import the needed packages for you. But it is faster then a real IDE,  has syntax highlighting for all files, nice snippets (type action and then hit tab, and you get a standard controller action with implicit request in scope), and it forces me to memorize the imports :) (because it lacks auto import as mentioned). So in short I use Sublime not because of objective reasons. ;D

* with the following plugins:
- package controll (to install the plugins easily): http://wbond.net/sublime_packages/package_control
- play 2 plugin from guillaume: https://github.com/guillaumebort/play2-sublimetext2
- soda theme: https://github.com/buymeasoda/soda-theme/
- emmete (zen coding like in netbeans)
- sidebar enhancements

Mike Slinn

unread,
Apr 3, 2013, 10:30:41 AM4/3/13
to play-fr...@googlegroups.com, Elie Dac
Apologies, you want 12.1 EAP, not 12.0.5 EAP
http://confluence.jetbrains.com/display/IDEADEV/IDEA+12.1+EAP
Yes, it is free for 30 days.

Mike
You received this message because you are subscribed to a topic in the Google Groups "play-framework" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/play-framework/L2-YR9X4ljk/unsubscribe?hl=en-US.
To unsubscribe from this group and all its topics, send an email to play-framewor...@googlegroups.com.

Tanson Thomas

unread,
Mar 13, 2017, 6:57:31 AM3/13/17
to Play Framework
Team, I stumbled on issues and landed on this page now i.e. 2017. Most of the discussions I see here are dated 2013. Im still facing issues like ide freeze and code completion in scala ide on Mac. Also the plugin updates shown here is non existent. Is this issue experienced by many or is it Im doing something wrong. Im a newbie to scala so trying out some typesafe template application and the scala ide is annoying me.

Will Sargent

unread,
Mar 13, 2017, 11:12:17 AM3/13/17
to play-fr...@googlegroups.com
The Scala Plugin for IntelliJ IDEA has Play Framework integration built in if you have Ultimate Edition.


--
Will Sargent
Engineer, Lightbend, Inc.


--
You received this message because you are subscribed to the Google Groups "Play Framework" group.
To unsubscribe from this group and stop receiving emails from it, send an email to play-framework+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/play-framework/02aadef4-b17a-464f-b95a-a6662572590d%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Will Sargent

unread,
Mar 13, 2017, 11:13:21 AM3/13/17
to play-fr...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages