Forcing autocomment insertion

When you edit a file with the editor, you can manually insert autocomments into changed and unchanged lines.

About this task

In some instances, the settings specified in a language profile might prevent an autocomment from being added to a changed line. For example, a language profile might specify that a comment should not be inserted if the line is not blank or if there is already another comment on the line. You can choose to ignore this setting and manually insert a comment on the line.

Procedure

You can use either of the following methods to manually insert autocomments into changed lines:

  • To insert an autocomment into the last changed line without moving the cursor:
    1. Right-click to open the pop-up menu in the editor.
    2. Select Change Flag > Force Flag on Last Line Changed.
  • To insert an autocomment into any line:
    1. Move the cursor to the line in which you want to insert an autocomment.
    2. Right-click to open the pop-up menu.
    3. Select Change Flag > Insert Flag on Current Line.
      Alternatively, you can press the Ctrl+Shift+I key combination. An autocomment is placed on the current line.