Is there something similar to T4 to do code generation in Scala with IntelliJ? -


not sure if it's possible, given case class in scala, generate class , methods using reflection.

for example, phantom table definition, must have specific object extends column type. things have less error-prone if can generate them instead of hand code them.

intellij live template doesn't seem can allow me this.

i reading scala marco http://docs.scala-lang.org/overviews/macros/overview , this: http://docs.scala-lang.org/overviews/macros/implicits.html

but still have no idea how apply ide yet.


still reading, if has done t4 in scala programming, please share insight.


Comments

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -