Unlike the other snippet kinds, freeform code snippets can contain any kind of source code. The code can be in any language, does not need to be compilable and does not have to conform to any layout rules.
Because of the nature of freeform snippets, CodeSnip can make no assumptions about them and therefore cannot include the code in a compilable unit. This has two major implications:
If you can live without these features and just want to use CodeSnip as a simple code repository, freeform snippets are by far the easiest way to create your own snippets.
You should use freeform snippets if:
Select the snippet in the Overview Pane and look in the Detail Pane. Look for the "Kind" section. (This section appears just below the source code unless the display layout has been customised.)
Select the snippet in the Overview Pane then select the Snippets | Edit Snippet menu item to open the Edit Snippet dialogue box. On the Code tab select a suitable value in the Kind drop down list and press OK.
Warning: Don't change the kind unless you are happy that the snippet conforms to the requirements of the new kind. (Learn more).