JRuby support for new Hash and Lambda Syntax
Hello,
Just noticed that when marking a new JRuby on Rails project as a Java project (in order to take advantage of all the Java methods), it no longer recognizes the new Hash and Lambda syntax as per 1.9.
Attached are two examples. One with JRuby on a Java Project, the other with just a normal Ruby project. Is there anyting I can do to make the Java/JRuby project recognize the new syntax?
Thanks,
-Robert
Attachment(s):
Ruby.png
JRuby.png
Please sign in to leave a comment.
What ruby sdk version is set for JRuby facet?
Regards, Oleg.
Hi Oleg,
It is currently set at JRuby 1.7.9 in 2.0 mode.
-Robert
Attachment(s):
Screen Shot 2013-12-29 at 5.08.46 PM.png
Hi,
this is abug :( Please file it in our tracker http://youtrack.jetbrains.com/issues/RUBY
Thanks in advance, Oleg.
Hey Oleg,
Just posted it here: http://youtrack.jetbrains.com/issue/RUBY-14819
Thanks,
-Robert
Thank you, the problem will be fixed in next version of plugin.
Regurds, Oleg.
I see this has been fixed in 6.0.3. I'm using IDEA 13.0.1 and the current Ruby plugin version is 6.0.0.20131207. Do you know when 6.0.3 will become available or if there's a way to get this fix prior to the release?
Thanks!
Our current plan is to release 6.0.3 (and new plugin) early next week.
Regards, Oleg.
Fixed in plugin version 6.0.0.20140123.
Thanks!