For example, you can associate the identifier forb (short for "for-block") with the following code:
for (<caret>) { } Then, whenever you type forb followed by a trigger (e.g., a space) into a text area with this CodeTemplate, the code snippet is added in place of forb. Further, the caret is placed at the position denoted by <caret>.Static text replacements are done with {@link StaticCodeTemplate}. Dynamic templates can also be created and used. @author Robert Futrell @version 0.1 @see StaticCodeTemplate
| |
| |