How to add live template (code snippets) in Android Studio…
2 min readApr 18, 2020
Live templates are so useful, and it is easy to add in Android Studio. I will show step by step with screenshots. Let’s go..
1- First step: Go to: File > Settings >Editor>Live Templates
2- Second Step: Click add button.
3-Third Step:Write an abbreviation and description for your self, i will give an example in next step. Then choose an expand form from right of the screen. This will be default tab, but you can change it if you want.
4-Fourth Step: Fill the blank areas.
5-Last Step: Now you can use your snippet … you have to write your abbreviation and than click tab on keyboard.