function ($scope, JsRoutes) {
$scope.rows = [
${"#{list rows, as: 'row', separator: ','}"}
{
#{list fieldConfigs, as: 'f', separator: ','}
${f.name} : ${'$'}{row.${f.name}.toJson()}#{/list}
}
${'#{/list}'}
]
}
是否有可能配置的IntelliJ,先不要格式化(但格式化文档的其他部分)?由于想法将很难在格式化后读:
function ($scope, JsRoutes) {
$scope.rows = [
${"#{list rows, as: 'row', separator: ','}"}
{
#{list fieldConfigs, as: 'f', separator: ','}
${f.name} :
${'$'}{
row.${f.name}.toJson()
}#{/list}
}
${'#{/list}'}
]
}
2012-12-24
Freewind
+1
可能重复的[如何禁用代码的一部分代码格式化?](http://stackoverflow.com/questions/3375307/how-to-disable-code-formatter-for-some-part-of代码) –