Can IntelliJ IDEA properly format scala.html files and how do I enable it to do so?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: IntelliJ IDEA 12 Ultimate and CE format the following line in my main.scala.html file (in a Play application) <link rel="stylesheet" media="screen" href="@routes.Assets.at("stylesheets/main.css")"> As <link rel="stylesheet" media="screen" href="@routes.Assets.at(" stylesheets /main.css")"> Yes. really. It breaks up a quoted string. I understand it thinks the string ends after at( , but this is an incorrect interpretation of the code. Can IntelliJ correctly format this code? How do I enable/use that formatting? 回答1: It's an open issue: http:/