Working with Literals

This topic explains how to work with literals used in code snippets.

Creating a New Literal

  1. Click Snippets Manager on the Tools menu. The Snippets Manager window opens.
  2. Select a snippet in the list of available snippets to add a literal to.
  3. Under the Literals field, click the Add button. The Edit literal window opens.
  4. Specify the literal’s name, default value, and description in the corresponding fields.
  5. Click OK to add the literal to the list.

Editing a Literal

  1. Click code-snippets Snippets Manager on the Tools menu. The Snippets Manager window opens.
  2. Choose the required snippet in the list of snippets and the literal in the Literals field.

    Note

    Predefined literals cannot be modified.

  3. Click the Edit button below the Literals field. The Edit literal window opens.
  4. Modify the literal’s name, default value, and description.
  5. Click OK to save the changes.