Extract of the link:

You can add the following predefined variables, if needed:

 *

   ${date} inserts the current date, in this format: Feb 16, 2008

 *

   ${encoding} inserts the default encoding, such as: UTF-8

 *

   ${name} inserts the name of the file.

 *

   ${nameAndExt} inserts the name of the file, together with its extension.

 *

   ${package} inserts the name of the package where the file is created.

 *

   ${time} inserts the current time, in this format: 7:37:58 PM

 *

   ${user} inserts the user name.

Le 07/02/2023 à 08:41, Tom Rushworth a écrit :

I'm sorry but for me that's overkill.  I don't need to create a new template.  I'm happy to modify an existing one.  Therefore, all I need is a list of the available predefined variables.

Tom

On 2/7/2023 2:16 AM, John Lavelle wrote:
https://netbeans.apache.org/tutorials/60/nbm-filetemplates.html

Best regards,
John


On Tue, Feb 7, 2023 at 2:42 AM Tom Rushworth <tjr...@twc.com> wrote:

    When creating a file template, I know that there are predefined
    variables. For example, ${date}, and ${time}.  Will someone point
    me to
    a list of all the predefined variables that I can use?


    ---------------------------------------------------------------------
    To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
    For additional commands, e-mail: users-h...@netbeans.apache.org

    For further information about the NetBeans mailing lists, visit:
    https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to