Command Snippet Snippet...

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:

Snippet Input

At expansion time the snippet reference is replaced by the snippet's expansion.

Example

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:

{Snippet}select-next-word{/Snippet}{UpperCase}

Its purpose is to uppercase the next word to the right of the current cursor position.

At expansion time the

snippet command gets expanded as the referenced snippet's expansion:

Then the remainder of the expansion that follows the snippet command is produced: