I'm trying to write some live templates that would have some parameters that could be filled in. In particular, I'm trying to understand the "Expression" and "Default value" field.
There are a number of expressions documented at http://www.jetbrains.com/idea/webhelp/edit-template-variables-dialog.html , but some of the existing templates have undocumented Scala-specific expressions, such as:
scalaVariableOfType('scala.Option") // I guess this will suggests variables in scope with the class specified by the string. Can it support parameterized types?
suggestScalaVariableName("option", OPTION) // I'm guessing this is a vararg function that will suggest either the variable name "option", or same name as the OPTION Template variable?
Is this interpretation right, and are there any other useful documented or undocumented expressions?