Automatic Insertion of Comment Lines

You can also add the comment lines automatically at a later time.

  1. Open the state machine in the state machine editor.
  2. In the Tools menu, select Create State Code Comments.

    In each condition and action specified in the state diagram, a comment with the text of the first code line is added as first line.