Re: How do I alter the platform templates?
Brett Ryan <[email protected]>
| Newsgroups | gmane.comp.java.netbeans.devel |
|---|---|
| Message-ID | <[email protected]> |
Sorry, wrong list. > On 30 Nov 2015, at 05:22, Brett Ryan <[email protected]> wrote: > > In all my source files I like to include the name and creation date/time of each file. Within the templates section it's not possible to edit this, I'd like to add this to the start of my module source templates: > > <#assign licensePrefix = " * "> > <#assign dateFormat = "MMM d yyyy, HH:mm"> > <#assign currentTime = "${date} ${time}"> > /* > ${licensePrefix}${nameAndExt} ${currentTime?datetime?string(dateFormat)} >