I would like to create a live template to insert a TAG property/field, e.g.
companion object {
private val TAG = $CLASS_NAME$::class.java.name
}
I would like to automatically insert the current class name, but it comes up blank whether I set the Expression
or the Default value
to classNameComplete()
in the Edit Template Variables
dialog.
If I wish to use className(sClassName)
what should the value for sClassName
be?
PS.
I tried it scoped to Object and to Class.