Home Download Buy Blog Forum Support

[SOLVED] App crashing with a statement in a .scala.html file

[SOLVED] App crashing with a statement in a .scala.html file

Postby vijude on Thu Mar 21, 2013 11:31 am

Hello!

I was surprised that some ".scala.html" files (views files in the MVC play framework) didn't load in Sublime text.
I finally found the reason...

If you create a file named "test.scala.html" and paste the following snippet into, Sublime freezes completely :
@dummy.map { }.getOrElse { }

More precisely, the app stops working when you try to write the second curly brackets.

Does somebody know how to fix this ?

Thank you,
Julien
--
Sublime version 2.0.1
vijude
 
Posts: 2
Joined: Thu Mar 21, 2013 11:08 am

Re: [SOLVED] App crashing with a statement in a .scala.html file

Postby vijude on Tue Mar 26, 2013 11:21 am

For those who would face up to the same issue: check that you downloaded the latest sublime text package for play framework on https://github.com/guillaumebort/play2-sublimetext2
vijude
 
Posts: 2
Joined: Thu Mar 21, 2013 11:08 am


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 17 guests

cron