How to specify import for Live Template with Kotlin extension function in Intellij

Viewed 256

I'm using the following Live Template:

timber.log.Timber.debug { "$METHOD_NAME$" }

where debug is an extension function:

package timber.log
inline fun Timber.debug(throwable: Throwable? = null, message: () -> String) {
  log(DEBUG, throwable, message)
}

Intellij adds import timber.log.Timber automatically. Is it possible to specify the import also for timber.log.debug in Intellij/Android Studio?

0 Answers
Related