Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
config:templates [2019/10/15 16:13] – pick a title wesdean | config:templates [2019/10/24 21:03] (current) – typo fix wesdean | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== | + | ====== |
Templates are based on files stored in [[https:// | Templates are based on files stored in [[https:// | ||
+ | |||
+ | ==== Automatic Comment Strings in Templates ==== | ||
+ | |||
+ | Most templates (fileheader, | ||
==== File Templates ==== | ==== File Templates ==== | ||
Line 22: | Line 26: | ||
==== File Header Templates ==== | ==== File Header Templates ==== | ||
- | File header templates are used at the top of files and may be included in an existing file (i.e., //Edit | Insert Comments | Insert File Header// | + | File header templates are used at the top of files and may be included in an existing file (i.e., //Edit | Insert Comments | Insert File Header// |
Whereas there may be multiple file templates (e.g., templates for PHP files, HTML files, etc.), there is but one file header template. | Whereas there may be multiple file templates (e.g., templates for PHP files, HTML files, etc.), there is but one file header template. | ||
Line 37: | Line 41: | ||
Function templates are used to document functions within a file and may be included in an existing file (i.e., //Edit | Insert Comments | Insert Function Description// | Function templates are used to document functions within a file and may be included in an existing file (i.e., //Edit | Insert Comments | Insert Function Description// | ||
- | However, like file header templates, | + | Like file header templates, there is only a single function template. |
* **system**: ''/ | * **system**: ''/ | ||
Line 45: | Line 49: | ||
There are two license templates included with Geany the short forms of the: GPL and BSD (3-Clause) licenses. | There are two license templates included with Geany the short forms of the: GPL and BSD (3-Clause) licenses. | ||
- | |||
- | As with file header and function templates, the strings to start comments are added to the start of lines included in the license templates, as per the current document' | ||
As with file header, and function, there is only a single changelog template. | As with file header, and function, there is only a single changelog template. | ||
Line 76: | Line 78: | ||
Documentation from the Geany manual regarding templates is available at [[https:// | Documentation from the Geany manual regarding templates is available at [[https:// | ||
+ | |||
+ | {{tag> |