Code Templates
From SQLBWiki
You can reduce the number of keystrokes when you are typing code by typing abbreviations to generate code from templates. The abbreviation is expanded into the template after you press the Tab key.SQLBrowser comes with a set of code templates. You can also create your own code templates. To create your own code template, go to File / Options / Editor / Code Template and select the SQL Language.
Do one of the following:
- Select an abbreviation from the list and type in the Abbreviation or Expanded Text field to modify the abbreviation.
- Select an abbreviation from the list and click Remove to remove the abbreviation.
- Click New and type the abbreviation and description in the respective fields.
You can use the Expand Template On drop-down list to change the key or key combination that is used to expand the abbreviations. By default, abbreviations are expanded when you press Tab. The Expand Template On drop-down list also contains the options of Space, Shift-Space, and Enter.
