When you open a new file by clicking the New File icon or by pressing Ctrl+N, PrimalScript uses your default template unless you specify a different one.
If you have not yet selected a template as your default, when you create a new file, PrimalScript displays this dialog box:
To select a default template
1.Press Ctrl+N.
2.In this dialog box prompt, click Yes.
3.In the template gallery, double-click a template.
-OR-
1.Click File, Options, Environment, Directories and, in the Templates box, select your Templates path.
2.In the <Templates path>\File Templates subdirectory, copy a template file.
3.Paste the template file in the <Templates path> directory (not in the File Templates subdirectory).
4.Change the base name of the file to Default. Do not change the file name extension.
For example, to make the JavaScript.js file your default template, copy it from <Templates path>\File Templates\JavaScript.js, and paste it to <Templates path>\ \Default.js
If you have more than one file named Default.* in the <Templates path> directory, PrimalScript uses the one that appears first in alphanumeric order.
See also:
Change the Templates Directory