Try OpenEdge Now
skip to main content
Online Help
Introducing the ABL Editor : Tasks : Writing ABL code : Using annotations : Adding templates for code annotations
Adding templates for code annotations
You can add your own templates to the library of annotations that are available for insertion into ABL source files via the Add Annotation wizard.
To add an annotation template:
1. Choose Window > Preferences.The Preferences window appears.
2. Choose Progress OpenEdge > Editor > Annotations. The Annotation page appears.
3. Click Add to launch the New Annotation dialog.
4. Fill in the new annotation's name and value.
5. Click OK.
Note: The templates that ship with the Annotation Generator contain two specially coded preprocessors, %FILENAME% and %MODULE%. %FILENAME% expands to the filename including the extension. %MODULE% expands to the name of the directory where the file is stored. These are the only preprocessors the tool can expand. The tool does not support customer-created preprocessors.