Code Template

gregorss:
I think everyone should be able to have his/her own code template (to be opened automatically when starting a new sketch).

The code that's added when you open a new sketch is from {Arduino IDE installation folder}/examples/01.Basics/BareMinimum. You can edit that file to whatever your preference is for new sketches. The Arduino IDE doesn't allow you to save example sketches so you'd need to do it using a regular text editor. The only problem is that, since the BareMinimum file is saved in the Arduino IDE installation folder, you need to redo this every time you update to a new version of the Arduino IDE. So you might want to save your template somewhere safe so it's quick and easy to copy it over to BareMinimum after updating the IDE.