Any Live Templates - groovyScript() examples
Was looking at the new live templates features in IDEA 9, and see groovyScript as an option when I Edit Variables. However, I can't seem to find any docs, and playing with it, I can't get it to do anything useful.
Does someone have an example of what this might be used for?
I was hoping to do something like:
groovyScript( className() - 'Runner' )
where className() is another live templates function.
Dave
请先登录再写评论。
Hello David Weiler-Thiessen,
You can't use other live template functions, but you can use the classes
from the IntelliJ IDEA OpenAPI.
I'm not sure if we have any examples of groovyScript usage.
--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"
Thx - I will explore OpenApi to see what it has to offer