Feature Showcase - Snippet that Prompts for Input

Create a snippet that prompts for input. This showcase uses an interpolation shortcut to prompt for a string that is interpolated into the snippet.

  1. If necessary, display the Toolbox sidebar (View > Tabs & Sidebars > Toolbox).

  2. In the Toolbox menu, select Tools > New Snippet.

  3. Configure the snippet. The %ask segment is an interpolation shortcut that prompts for an entry when the snippet is used.

  4. 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.