Code Templates Preferences

Opens the Code Templates preference pageMagik > Code Style > Code Templates preference page lets you configure the format of newly generated code and comments.

The page contains code templates that are used by actions that generate code. Templates contain variables that are substituted when the template is applied. Some variables are available in all templates, some are specific to templates.

Action

Description

Edit...

Opens the Code Template dialog to edit the currently selected code template.

Import...

Imports code templates from the file system.

Export...

Exports all selected code templates to the file system.

Export All...

Exports all code templates to the file system.

Code Templated preference page

Code Template dialog

The following fields and buttons appear in the dialog:

Action

Description

Description

A description of the template

Pattern

The template pattern.

Insert Variables...

Displays a list of pre-defined template specific variables.

Related reference

Magik editor
Magik editor preferences
Templates preferences