【发布时间】:2020-10-26 13:14:49
【问题描述】:
我正在 intellij IDEA 中创建一个模板,我需要一个可以调用的方法
fun setSomething()
但目前我的模板是这样写的
fun setsomething()
如何将此方法设置为驼峰式和首字母大写的Something?
fun set$List_Name(${List_Name}: List<${Model_Class}>){
this.${List_Name}.clear()
this.${List_Name}.addAll(${List_Name})
notifyDataSetChanged()
}
这里$List_name 需要大写首字母
【问题讨论】:
标签: android android-studio intellij-idea velocity