Code Snippets provide a way for you to insert ready-made blocks of code that act as customizable templates.
SQL Visualizer comes with several pre-defined Snippets and also allows you to create your own (see creating Snippets for more details).
Snippets come in 2 forms, standard Snippets and Surround With Snippets.
To insert a standard Snippet right click in the editor where you wish the Snippet to be created and select Insert Snippet. A list of available Snippets will be presented.
Select the Snippet to insert and the code will be inserted into the query.
Snippets may be organized into folders, when the folder icon is displayed in the Snippets list you can double-click on it to open the folder and view its contents.
Snippets can also have a shortcut associated with then, for example the SELECT Snippet has a shortcut of S. To use the shortcut just type the shortcut and press the Tab key. This will insert the code into the query.
When a Snippet contains placeholders the placeholders are highlighted with an outlined box around the selected placeholder.
To move from one placeholder to the next use the tab key. Type text to replace each placeholder (you do not need to replace a placeholder if the default value is appropriate). When all placeholders have been replaced press the enter key, this will clear the placeholders and commit the changes.
To insert a Surround With Snippet select the text you wish to surround then right click in the editor and select Surround With.
The code will be inserted into the query around the current selection.