# 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).

Click in the Add button to create a new snippet in the Toolbox.
Configure the snippet.
Double-click the snippet to insert the contents at the cursor position in the Editor Pane.