Editing comment options

You can use the Comments tab to edit the options that define the appearance of autocomments in the target programming language.

About this task

If the comment style used in the target programming language is the same as one of the default language profiles, you can use that profile as a preset value, or you can define a custom comment style.

Procedure

To edit the comment options, complete the following steps:

  1. In the dialog box (for the type of language profile that you want to edit), click the Comments tab.
    Comments tab
  2. In the Preset Styles group, click the None radio button to specify that you want to define a new comment style.
  3. In the Comment Syntax group, complete the following steps:
    • In the Add field, type a comment delimiter, and then click Add to add it to the list of delimiters. For example, /* or // for C++ comments.
    • To remove a comment delimiter from the list, select the delimiter that you want to remove, and then click Remove.
    • If comments must start in the first column, select the Start delimiter must start in column 1 check box.
  4. In the Comment continues until group, do one of the following:
    • Click the End of line radio button if the comment will continue from the start delimiter until the end of the changed line.
    • Click the End Delimiter radio button if the comment can span multiple lines and does not end until the end delimiter is located. Type the characters that delimit the end of the comment.
    • Click the Column radio button if the selected programming language uses a continuation character to define lines that continue (such as the High Level Assembler language). From the list, select the continuation column number that you want to act as the end of the comment.
  5. Click Apply to save your selections in the Comments tab.