Load defined file when create a new sketch


I would like to create a pattern or a template used on each new sketch.
Is it possible to do that with the arduino basic IDE ? And How ?
Thanks for your answer.

Best regards,

No, but you can have a workaround.

In the Arduino IDE, there is a drop-down menu to create more files.
You could copy a certain *.h file to every new project.

When the Arduio IDE is not running and you go to the projects folder, you can copy some kind of template project to a new folder.

Perhaps you could create a template class.