Where are Live Templates stored in Android Studio

1.7k views Asked by At

I am looking for the location of where the Live Templates are stored in Android Studio in Windows.

I looked at previous answers where the locations is under: .\config folder but in my case there is no "templates" folder that I can look into.

I am using Android Studio 2.1

Thank you

2

There are 2 answers

0
tikhonos On

Templates location for Windows:

$ANDROID_STUDIO_PATH\plugins\android\lib\templates

0
CodeClown42 On

On linux there is no templates directory by default, but if you create one in ~/.config/Google/AndroidStudio[Version]/ and copy or link a live templates XML file, it will be used.

The directory and an XML file will also be created if you add a template via the settings interface.