Generate documentation with AI
This functionality relies on the AI Assistant plugin that requires an additional license.
For more information, refer to JetBrains AI Service licensing and Enable AI Assistant plugin.
With AI Assistant, you can generate documentation for a declaration using the LLM (Large Language Model).
Select a code fragment and right-click to open the context menu.
Press AltEnter. Select AI actions and then Write documentation.
AI Assistant will generate documentation for you.
Alternatively, instead of using the context menu, type /**
, press Enter and click Generate with AI Assistant.
![Generate with AI Assistant Generate with AI Assistant](https://resources.jetbrains.com/help/img/idea/2023.3/ai_suggest_documentation.png)
Thanks for your feedback!
Was this page helpful?