Sublime Forum

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

#1

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

0 Likes

#2

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

0 Likes