The following options are available:
• Enable comment wrap - When selected, comments are allowed to be wrapped. You must still specify
the type of comments that you want wrapped by selecting one or more of the Enable options for block,
line, and doc comments.
• Start wrapping on line - This setting pertains to line comments only. Make sure line comment wrap-
ping is turned on, then type or select the number of consecutive line comments that must be present
before wrapping is activated. If your code contains many one line descriptive comments, you may
want to set this to 2 or more so that comment wrapping will not affect these short line comments.
• Comment width - There are three types of width settings for comments:
• Fixed width - If selected, comments are formatted to the specified width. This is useful since com-
ments are typically indented with the corresponding code. This option maintains the original left mar-
gin of the comment and adjusts the right margin to meet the target width.
If Maximum right column is used, comment lines will be wrapped when they reach the specified
column, even if they have not reached the specified fixed width. This is useful if coding standards
mandate that text should not exceed a specified column.
• Automatic width - If selected, the width of the longest multi-line paragraph in the comment block is
used as the width for block comments. This is useful for preserving the formatting of existing com-
ments.
Extension Options Dialog
412