Since entering stuff like "Serial.print(9600);" and "digitalWrite(name,state);" is so tedious and error prone I've taken to using a keyboard macro to enter these things.
You can find it at programming.de, name 'multi clipboard'.
There are three clipboards available and you can enter nine strings of pre-programmed text in each.
One thing I like about it is the key definitions survive shutdown/restart.
Paul_KD7HB:
For me, it's easier to open a second IDE window and copy lines from a working program to the new program.
I've since shifted over to doing that too. With keeping my head in the project and all the stuff I'm trying to learn about the Arduino and C++ (I've added so many bookmarks in the last two months I've had to make subfolders for them) , it's too much to memorize which string goes with which macro.