Feature Showcase - Snippet that Prompts for Input
If necessary, display the Toolbox sidebar (View > Tabs & Sidebars > Toolbox).
In the Toolbox menu, select Tools > New Snippet.
Configure the snippet. The
%asksegment is an interpolation shortcut that prompts for an entry when the snippet is used.
Double-click the snippet. A dialog box is displayed that prompts for the “Company Name” value.
The snippet value is inserted at the cursor position in the Editor pane.