Feature Showcase: Code Completion Snippet

Create a snippet that contains the structure for a code object. In this example, a common usage of Perl's if syntax is stored in a Toolbox 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_codecomp_snipconfig.gifConfigure the snippet.

../img/tourlet_codecomp_inssnip.gifDouble-click the snippet to insert the contents at the cursor position in the Editor Pane.