Add comments to code

  • リリースバージョン: Australia
  • 更新日 2026年03月12日
  • 所要時間:1分
  • Add comments in the Now Assist for Code enabled script editor using quick actions.

    始める前に

    Role required: now.assist.creator

    手順

    1. Navigate to any script editor enabled with Now Assist for Code and select a script.
      For example, to open a script include form, navigate to All > System Definition > Script Includes and select a script include.
    2. In the script editor, select a code and then select the Quick Actions button.
    3. Select Add comments in code.
      Select Add comments in code
      The comments appear highlighted in the script editor.
    4. Review the AI-generated comments and then either accept or reject the comments.
      If you accept the comments, they’re added to the script.
    5. After accepting the comments, select Update to save your changes.