Some people do that but personally I type it out fully manually or if it's repetitive code such as this, I make a quick python script to automatically do it.