[embedyt] https://www.youtube.com/watch?v=IOaAOe38p50[/embedyt]
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:
jetbrains.com/help/idea/template-variables.html