Use the keyboard shortcut Ctrl+Shift+T in the SQL Worksheet to use the code templates you have created in the preferences (Database: SQL Code Editor Templates).