Generate documentation with AI
This functionality relies on the AI Assistant plugin that requires an additional license.
For more information about licensing and enabling AI Assistant, refer to JetBrains AI Service licensing and Enable AI Assistant plugin.
With AI Assistant, you can generate documentation for a type or member declaration using the LLM (Large Language Model).
Place the caret at the desired type or member.
Press AltEnter. Select AI actions and then Write documentation.
AI Assistant will generate a comprehensive XML Doc documentation for the selected type or member based on its contents:
You can customize the prompt for the Write Documentation action in Settings | Tools | AI Assistant | Prompt Library | Write Documentation.