Tool for emacs to load file template when create new file, or load project template.
eg: you can auto create header guard for c++ header files.
A template is not just single file, it also can organized as directory that contains a set of template.
As a emacs user, I think yasnippet should be a must have tool, It’s very useful for auto insert code snippets. Now you can use yasnippet’s syntax to create template, that’s easy.
;;file template
(setq file-template-enabled t) ;;enable file template
(autoload 'file-template-setup "filetemplate" nil t) ;;auto load
(file-template-setup) ;; setup
happy coding!