Do all the things like ++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatarSign Up
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple APILearn More
asgs10463116dWriting code from memory by hand is not something a Developer does
I don't know about live templates but there is no shame in using a few snippets from SO or any other website as long as we know what we do
I use them, they are a nice addition for productivity. Mainly they are useful when writing boilerplate code, if I find myself doing same things over and over on the project I write a live template for it (if it makes sense)
Yet there is one that rules them all for my work:
"_todo" template generates "// TODO (my_name) "
line, I work in a massive code base so having todo's automated is a nice feature.
I have many more templates and all start with "_" prefix for nice autocomplete
Hazarth5528115dI use them occasionally, but my job doesn't include a lot of boilerplate. But I still find them useful as shortcuts for writing something with a lot of annotations or when wanting to automate stuff regarding our coding standards
Hazarth5528115dActually on top of Live Templates I also recommend the plugin Custom Postfix Templates. This allows you to write custom auto fills for when writing a dot after a variable. That can often save some good time too
ihavePCSD943115dI actually have never heard of live templates, so thanks I'm going to go try it