This tab of the Preferences dialogue box is used configure the format of source code that CodeSnip writes to file or copies to the clipboard. The tab is accessed by selecting the Tools | Preferences menu item then clicking the Code Formatting tab.
Descriptions of snippets can be included as comments in generated source code. The placing of such comments can be customised using the Commenting style drop down list. Options are:
A preview of the comment style is displayed below the drop down list.
Some snippets have multi-paragraph descriptions, all of which would normally appear in the snippet's comment in generated code. You can limit the comment to use just the first paragraph of the snippet's description by ticking the Truncate comments to one paragraph check box.
Note: Descriptive comments are not applicable to freeform snippets.
The default format of output files is configurable. The available output types are HTML, rich text and two types of unformatted text, i.e. Pascal files and plain text files. You choose the default output type using the Output file type drop down list.
HTML and rich text file types can be syntax highlighted. To enable this option check the Enable syntax highlighting check box. The highlighting can be customised using the Syntax Highlighter tab.