【发布时间】:2016-03-15 12:03:04
【问题描述】:
我在 android studio 中找不到可以保存自定义代码的位置,例如,如果我想保存: Toast.makeText(getApplicationContext(), "Message.",Toast.LENGTH_SHORT).show(); 如果我想保存代码并为其创建快捷方式,例如 toastMT 我该怎么做?
【问题讨论】:
标签: android android-studio save
我在 android studio 中找不到可以保存自定义代码的位置,例如,如果我想保存: Toast.makeText(getApplicationContext(), "Message.",Toast.LENGTH_SHORT).show(); 如果我想保存代码并为其创建快捷方式,例如 toastMT 我该怎么做?
【问题讨论】:
标签: android android-studio save
您可以在此处找到预定义模板的列表,也可以添加自定义模板。如果您想使用您的模板,只需开始输入,例如toastMT 和 Android Studio 将提供使用您的模板的建议。
【讨论】: