In the configuration dialog you can find a tab "Templates"
(see <ahref="ch03s08.html#prefs_templ"title="Figure3.10.Template tab in preferences dialog">Figure3.10, “Template tab in preferences dialog”</a>). You can define the default values which
will be inserted in the templates. You should restart <spanclass="application">Geany</span>
after making changes, because they are only read at startup.
Each template can be customized to your needs. The templates are stored in the
<codeclass="filename">~/.geany/templates/</code> directory (see <ahref="ch03s02.html"title="Command line options">the section called “Command line options”</a>
</p><divclass="table"><aname="id2814994"></a><pclass="title"><b>Table4.4.Template wildcards</b></p><divclass="table-contents"><tablesummary="Template wildcards"cellspacing="0"cellpadding="4"border="1"><colgroup><col><col><col></colgroup><thead><tr><th>Wildcard</th><th>Description</th><th>Available in following templates</th></tr></thead><tbody><tr><td>developer</td><td>The name of the developer.</td><td>filetypes, file header, function description, ChangeLog entry,
bsd, gpl</td></tr><tr><td>initial</td><td>The developer's initials, e.g. "ET" for
Enrico Tröger or "JFD" for John Foobar Doe.</td><td>filetypes, file header, function description, ChangeLog entry,
bsd, gpl</td></tr><tr><td>mail</td><td>The email address of the developer.</td><td>file header, function description, ChangeLog entry,
bsd, gpl</td></tr><tr><td>company</td><td>The company the developer is working for.</td><td>filetypes, file header, function description, ChangeLog entry,
bsd, gpl</td></tr><tr><td>year</td><td>The current year in the format: YYYY</td><td>filetypes, file header, function description, ChangeLog entry,
bsd, gpl</td></tr><tr><td>version</td><td>The initial version of a new file.</td><td>filetypes, file header, function description, ChangeLog entry,
bsd, gpl</td></tr><tr><td>date</td><td>The current date in the format: YYYY-MM-DD</td><td>filetypes, file header, function description, ChangeLog entry,
bsd, gpl</td></tr><tr><td>untitled</td><td>The string "untitled" (this will be translated to your locale),
used in filetype templates</td><td>filetypes, file header, function description, ChangeLog entry,
bsd, gpl</td></tr><tr><td>geanyversion</td><td>The actual <spanclass="application">Geany</span> version,
e.g. "Geany 0.11"
</td><td>filetypes, file header, function description, ChangeLog entry,
bsd, gpl</td></tr><tr><td>datetime</td><td>The current date and time in the format: DD.MM.YYYY HH:mm:ss ZZZZ</td><td>file header, function description</td></tr><tr><td>filename</td><td>The filename of the current file. Only available for the file header template.</td><td>file header</td></tr><tr><td>gpl</td><td>This wildcard inserts a short GPL notice.</td><td>file header</td></tr><tr><td>bsd</td><td>This wildcard inserts a short BSD licence notice.</td><td>file header</td></tr><tr><td>functionname</td><td>The function name of the function at the cursor position.
</p></div></div></div><divclass="navfooter"><hr><tablewidth="100%"summary="Navigation footer"><tr><tdwidth="40%"align="left"><aaccesskey="p"href="ch04s02.html">Prev</a></td><tdwidth="20%"align="center"><aaccesskey="u"href="ch04.html">Up</a></td><tdwidth="40%"align="right"><aaccesskey="n"href="apa.html">Next</a></td></tr><tr><tdwidth="40%"align="left"valign="top">Filetype extensions</td><tdwidth="20%"align="center"><aaccesskey="h"href="index.html">Home</a></td><tdwidth="40%"align="right"valign="top">AppendixA.Contributing to this document</td></tr></table></div></body></html>