Editor user interface
Template Completion
Template completion is a powerful way to improve your development speed and
avoid 'stupid bugs' in commonly used code segments. For example, type "xN" and then
shift+space. The xN will be
replaced by:
(
)
ASSEMBLE
CON(1) 8* Tell parser 'Non algebraic'
RPL
xNAME |
::
;
This is the standard xNAME
template. Now there is no need to type it each time. A few templates are defined by default,
it is up to you to define new ones. To see the
current templates and add new ones, select Edit / Edit Source Templates
from the editor menu. The Source Template window will open for
editing and inspection.
The first character of each line of a template determines how
the line is used:
# starts a comment line
= starts a model line which gives the code to be
inserted into your source file. If a | character appears in that line, the
edit cursor will be placed there after the template is copied.
any anything other than the above two characters begins
the name of a new template. In the window above, you can see that the line
beginning with "::" begins the definition of a simple template for a verb.