You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.lang.IllegalArgumentException: Expected to open file with extension scala.html, found some.scala.txt.
at org.scalaide.editor.CompilationUnitProvider.getFile(CompilationUnitProvider.scala:29)
at org.scalaide.editor.CompilationUnitProvider.fromEditor(CompilationUnitProvider.scala:19)
at org.scalaide.play2.templateeditor.TemplateConfiguration.getTextHover(TemplateConfiguration.scala:125)
The text was updated successfully, but these errors were encountered:
I have the same issue. Please remove this validation.
My reason for renaming it to .scala.txt is that the template engine doesn't have a mkString equivalent for Html, and using the mkString from String results in undesired escaping of apostrophes.
And no, the Html helper doesn't seem to help when your template text is multi line and contains curly braces, like this:
On attempt to open scala.txt template I get
The text was updated successfully, but these errors were encountered: