If you want to add some file template idea, you can refer to the following method:
file --- setting --- file and code templates, to mapper.xml file as an example, the template content to fill, and save it.
When a new file, add the selected template file before you can implement custom files