====== File Templates ====== File templates are files, with default pattern content, used to "pre-fill" newly created documents. Selection of the file template is done based on the extension of new document and name of the template: editor searches for a file with same extension and name "default" in the directory of file templates. To find directory where file templates are located select File->New->Manage File Templates (usually [[options:user_directory|]]\templates). {{:file_templates.png?400|New File Template}} You can have different templates for the same extension, you can use [[general:built-in-variables|built-in variables]] inside for filling default values, you can skip using of the file template by keeping Ctrl pressed when creating a new file. Because contents of file templates are preprocessed, you need to escape special characters as % -> %% same was as it done when defining [[options:syntax:code-templates|code templates]]. ====== Configuration ====== If you want to change default templates directory, you can do this by [[options:xml:templates-directory|direct modification of xml setting file]].