Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| options:syntax:code-templates [2014/02/09 01:50] – external edit 127.0.0.1 | options:syntax:code-templates [2018/04/13 14:51] (current) – admin | ||
|---|---|---|---|
| Line 2: | Line 2: | ||
| {{ : | {{ : | ||
| - | You can define so many templates as you want. | + | You can: |
| - | + | * define so many templates as you want | |
| - | You can add/ | + | |
| - | + | | |
| - | You can hide/or show code templates inherited from parent syntaxes (//Show Inherited Templates// check). | + | |
| Every template shall have unique //key// (text that triggers template expanding), can have a description (if not defined, //key// is used as description) and can have an [[options: | Every template shall have unique //key// (text that triggers template expanding), can have a description (if not defined, //key// is used as description) and can have an [[options: | ||
| - | Shortcuts for Code Templates have priority | + | Shortcuts for Code Templates have priority |
| After execution of the Code Template, associated key/text will be replaced by code template code, that can be defined in //Code// window here. In the template code, you can use as text as variables, which will be substituted by corresponding value during execution. \\ | After execution of the Code Template, associated key/text will be replaced by code template code, that can be defined in //Code// window here. In the template code, you can use as text as variables, which will be substituted by corresponding value during execution. \\ | ||