Chris Miller
11/13/2017, 3:31 PMclass MyClass {
companion object {
log|
}
}
Then when I press <tab>, it expands to this:
class MyClass {
companion object {
private val log = Logger.getLogger(MyClass::class.java)
}
}
My template looks as follows:
private val log = Logger.getLogger($CLASS$::class.java)$END$
The problem is, there doesn't appear to be any expression I can use for the $CLASS$ variable that does the correct thing. "KotlinClassName" inserts "Companion", "ClassNameComplete" doesn't insert anything. Any ideas how I can get this working?