Re: How do I alter the platform templates?

geertjan wielenga <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Organization Oracle Corporation
Message-ID <[email protected]>
https://platform.netbeans.org/tutorials/nbm-filetemplates.html

Maybe helps part of the way, let us know what more you need.

Gj

On 29-11-2015 19:31, Brett Ryan 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)}
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.