Code snippets are segments of reusable code that you can easily insert into a SQL statement when working in the Editor. You can also use code snippets to:
To insert a code snippet
In the Editor, place the cursor where you want to insert the snippet, then do one of the following:
Notes:
Enter the parameter values.
Tip: Press TAB or SHIFT+TAB to navigate between parameters.
Press ENTER to exit the snippet.
To insert a Surround With code snippet
Select the block of text to surround in the Editor and do one of the following:
To search for a code snippet
Select View | Code Snippets from the menu .
Note: To search all snippets, right-click in the Code Snippets window and select Show All.
Enter the name (or partial name) of the snippet or a keyword for the snippet in the Search field. Press ENTER.
Tips:
If you know the shortcut name for a snippet, enter the shortcut name and press CTRL+SPACE.
To insert a snippet saved in the Favorites or Shared Toad / Shared Snippets folders, press CTRL+N, and select the snippet. You can specify another name for your Favorites Folder in Tools | Options | Editor | Code Completion.
© ALL RIGHTS RESERVED. Terms of Use Privacy Cookie Preference Center