Controlling comment generation

The editor automatically generates comments for new libraries, classes, types, functions, subs, property gets, and property sets. You can control the content of these comments, disable automatic comment generation, and manually trigger the creation of a comment.

About this task

To edit the template used for these comments:

Procedure

  1. Click File > Preferences.
  2. Expand Domino Designer and LotusScript Editorand click Comment Templates.
  3. Select the code element and edit the comment area to determine the content of the template.

What to do next

You can explicitly insert a comment with Source > Apply Comment Template.

The editor displays comments placed before libraries, classes, types, functions, subs, property gets, and property sets when you hover over the name of the element or invoke content assist for the element.

To disable automatic comment generation, open the Comment Templates preferences dialog as described above and clear Automatically include comments in new code elements.