RustRover 2024.2 Help

Generate documentation with AI

With AI Assistant, you can generate documentation for any item declaration using the LLM (Large Language Model). Doctests will be included wherever possible.

  1. Place the caret at the desired code fragment and right-click to open the context menu.

  2. Press Alt+Enter. Select AI actions and then Write documentation.

    Write Documentation menu item

    AI Assistant will generate documentation for you.

You can customize the prompt for the Write Documentation action in Settings | Tools | AI Assistant | Prompt Library | Write Documentation.

Last modified: 26 August 2024