Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
config:templates [2019/10/24 20:56] – add clarification re: single vs multiline comments wesdeanconfig:templates [2019/10/24 21:03] (current) – typo fix wesdean
Line 3: Line 3:
 Templates are based on files stored in [[https://www.geany.org/manual/current/index.html#configuration-file-paths|Configuration file paths]].  Geany reads when they are saved or by selecting //Tools | Reload Configuration// except for file templates which are read when they are used to create a new file. Templates are based on files stored in [[https://www.geany.org/manual/current/index.html#configuration-file-paths|Configuration file paths]].  Geany reads when they are saved or by selecting //Tools | Reload Configuration// except for file templates which are read when they are used to create a new file.
  
-==== Automatic Comment Strings it Templates ====+==== Automatic Comment Strings in Templates ====
  
 Most templates (fileheader, function, gpl, bsd) will automatically include the comment strings (e.g., '#' to start a shell script comment) when they are inserted; however, file templates and the changelog template do not include the strings to signal comments.  The exact comment strings are determined based on the filetype of the document into which they are being inserted.  By default, multi-line comments are preferred to single-line comments if both single- and multi-line comments are available. Most templates (fileheader, function, gpl, bsd) will automatically include the comment strings (e.g., '#' to start a shell script comment) when they are inserted; however, file templates and the changelog template do not include the strings to signal comments.  The exact comment strings are determined based on the filetype of the document into which they are being inserted.  By default, multi-line comments are preferred to single-line comments if both single- and multi-line comments are available.
Print/export