Tag: live templates

Live模板不能在Kotlin中工作

希望你已经使用Android默认的实时模板。 喜欢: Generate debug log statement: “logd”+TAB Generate error log statement: “loge”+TAB Generate info log statement: “logi”+TAB Generate TAG declaration: “logt”+TAB Generate parameter logging: “logm”+TAB Generate method return log: “logr”+TAB 它在KOTLIN中不可用? 在Android Studio 3.0 Canary版本中不可用吗?

我怎样才能通过在活动模板中的types自动命名variables?

使用匕首,林注入领域很多 – 所以我创建了一个活的模板声明一个注入的variables: @Inject lateinit var $var$: $TYPE$ 在Java中,当我指定types为Repository ,类似的活动模板会自动填充存储 Repository 。 但是在Kotlin中 – 事实并非如此。 但我确定它可能吗?

Live模板不能在Kotlin中工作

希望你已经使用Android默认的实时模板。 喜欢: Generate debug log statement: "logd"+TAB Generate error log statement: "loge"+TAB Generate info log statement: "logi"+TAB Generate TAG declaration: "logt"+TAB Generate parameter logging: "logm"+TAB Generate method return log: "logr"+TAB 它在KOTLIN中不可用? 在Android Studio 3.0 Canary版本中不可用吗?