The Snippet command enables you to reference a snippet of the Snippet Glossary that you want to expand inside an expansion.
When selecting the Snippet... menu item, the following dialog will help you choose the wanted snippet:
At expansion time the snippet reference is replaced by the snippet's expansion.
We have defined the following snippet named select-next-word in our Snippet Glossary:
Snippet name | select-next-word |
---|---|
Expansion | {Ctrl Shift Right} |
Display as | Select [next word] |
and reference it in the following expansion:
Its purpose is to uppercase the next word to the right of the current cursor position.
At expansion time the
{Snippet}select-next-word{/Snippet}
snippet command gets expanded as the referenced snippet's expansion:
{Ctrl Shift Right}
Then the remainder of the expansion that follows the snippet command is produced:
{UpperCase}