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.

Before you start: If necessary, display the Toolbox sidebar (View|Tabs & Sidebars|Toolbox).

../img/tourlet_codecomp_addsnip.pngClick in the Add button to create a new snippet in the Toolbox.

../img/tourlet_snipinput_config.pngConfigure the snippet. The %ask segment is an interpolation shortcut that prompts for an entry when the snippet is used.

../img/tourlet_snipinput_prompt.pngDouble-click the snippet. A dialog box is displayed prompts for the "Company Name" value.

../img/tourlet_snipinput_insert.pngThe value is interpolated into the comment configured in the snippet.