If you’ve spent time programming, you might have realized that there are some tasks you end up completing over and over again. This may be as simple as creating a function or building up a commonly used architecture. Either way, these tasks can start to feel tedious after so many repetitions. Shouldn’t you be using your brainpower to solve problems rather than type in the boilerplate code for a ViewModel again? In comes Live templates to the rescue.
Live templates are a feature that JetBrains thoughtfully included in IntelliJ. By using them, you can quickly and intelligently add frequently used code patterns and constructs to your code, letting the IDE do the tedious work for you. This can help improve your productivity by providing some autocomplete and removing some of the cognitive burdens of boilerplate.
#competitiveprogramming #intellijidea #ide #java #happycoding
![](https://s2.save4k.ru/pic/_6gpKr0_WjY/maxresdefault.jpg)