Please accept YouTube cookies to play this video. By accepting you will be accessing content from YouTube, a service provided by an external third party.

YouTube privacy policy

If you accept this notice, your choice will be saved and the page will refresh.


Show the video description

In this video we will learn, how to use and create live templates with which we can drastically reduce the amount of repetitive boilerplate code we have to write. Live templates are an IntelliJ feature which we can also use in Android Studio.
We will learn how to create variables and set expressions like “suggestVariableName” and “variableOfType”, how to use default values, how to use $END$ and $SELECTION$ and everything else that is necessary to properly set up our very own live template.

Live template documentation: