在Android Studio中的哪里可以找到自定义模板的路径 [英] In Android studio where to find custom templates path
问题描述
在Android Studio中,我尝试按照以下步骤创建新的Java模板
Android Studio->文件->编辑文件模板->添加了具有Java扩展名的新文件.-->
添加了所需的代码
我能够使用此模板来创建新文件.但是我想查看此模板路径.这些文件位于何处?
我可以在/AndroidStudio/plugin/android/lib/templates
中看到Android Studio预定义模板,但是看不到我新创建的模板.任何人都知道在哪里可以找到新创建的模板.
谢谢
1.导航至模板文件夹的位置:
{ANDROID_STUDIO_LOCATION}/plugins/android/lib/templates/other/
2.在MacOS上,该文件夹为以下文件夹:
/Applications/Android Studio.app/Contents/plugins/android/lib/templates/other/
In Android studio, I am trying to create new Java templates by following the below steps
Android Studio --> File --> Edit File Template --> Added New file with java extension.-->
Added required code
I am able to use this template for creating new files. But I want to see this template path.Where these are located?
I can see Android studio predefined templates in /AndroidStudio/plugin/android/lib/templates
BUT not seeing my newly created templates. Anyone has any idea where new created templates can be found.?
Thanks
1.Navigate to the location of the templates folder :
{ANDROID_STUDIO_LOCATION}/plugins/android/lib/templates/other/
2.On MacOS, this folder was the following:
/Applications/Android Studio.app/Contents/plugins/android/lib/templates/other/
这篇关于在Android Studio中的哪里可以找到自定义模板的路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!