Editing code templates

You can modify existing code templates to fit your specific coding needs.

To edit an existing code template, follow these steps:

  1. From the main menu, click Window > Preferences.
  2. From the navigation tree, expand EGL > Editor and then click Templates. A list of templates is displayed.
  3. Click the desired template from the table and click Edit.
  4. Change the desired fields in the Edit Template dialog box. Click OK when you are finished.
  5. To save your changes, click Apply.
  6. Click OK to close the window.
If the code template you edited is one of the templates provided with the product, you can revert to the original template as follows:
  1. From the main menu, click Window > Preferences.
  2. From the navigation tree, expand EGL > Editor and then click Templates. A list of templates is displayed.
  3. Click the desired template from the table and then click Revert to Default.
  4. To save your changes, click Apply.
  5. Click OK to close the window.

Feedback