Can I use the default token value in Intellij Live templates ? For example, I have the following live template that declares a private variable that I would like to create for almost every class:
private static final Logger logger = Logger.getLogger($CLASS$.class)
It seems unnecessary to type $CLASS$ every time this live template is used, because it can be obtained from a class in a scope or file name. I was wondering if the characters indicated by the environment can be used in live templates by default?
java intellij-idea live-templates
Leonid May 23 '11 at 13:11 2011-05-23 13:11
source share