Android Studio 中的自定义创建方法选项
Customize Create Method option in Android Studio
当我编写代码调用尚不存在的方法时,Android Studio 将其设为红色,当我按下 Alt + Enter 它建议创建方法 $NAME$。
如何自定义这个方法创建模板?
终于在 File
-> Settings
-> File and Code Templates
-> Code
选项卡 -> New Method Body
[=15= 中找到了操作方法]
当我编写代码调用尚不存在的方法时,Android Studio 将其设为红色,当我按下 Alt + Enter 它建议创建方法 $NAME$。
如何自定义这个方法创建模板?
终于在 File
-> Settings
-> File and Code Templates
-> Code
选项卡 -> New Method Body
[=15= 中找到了操作方法]